Subversion Repositories Kolibri OS

Rev

Rev 6456 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6391 ashmew2 1
#ifndef KOLIBRI_COLORS_H
2
#define KOLIBRI_COLORS_H
6457 punk_joker 3
typedef struct {
6391 ashmew2 4
  unsigned int color_frame_area;
5
  unsigned int color_grab_bar;
6
  unsigned int color_grab_bar_button;
7
  unsigned int color_grab_button_text;
8
  unsigned int color_grab_text;
9
  unsigned int color_work_area;
10
  unsigned int color_work_button;
11
  unsigned int color_work_button_text;
12
  unsigned int color_work_text;
13
  unsigned int color_work_graph;
6457 punk_joker 14
}kolibri_system_colors;
6391 ashmew2 15
 
6457 punk_joker 16
kolibri_system_colors kolibri_color_table;
6391 ashmew2 17
 
6457 punk_joker 18
void kolibri_get_system_colors(kolibri_system_colors *color_table)
6391 ashmew2 19
{
20
  __asm__ volatile ("int $0x40"
21
		    :
22
		    :"a"(48),"b"(3),"c"(color_table),"d"(40)
23
		    );
24
 
25
  /* color_table should point to the system color table */
26
}
27
 
28
#endif /* KOLIBRI_COLORS_H */