Rev 6456 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6391 | ashmew2 | 1 | #ifndef KOLIBRI_COLORS_H |
2 | #define KOLIBRI_COLORS_H |
||
3 | struct kolibri_system_colors { |
||
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; |
||
14 | }; |
||
15 | |||
16 | struct kolibri_system_colors kolibri_color_table; |
||
17 | |||
18 | void kolibri_get_system_colors(struct kolibri_system_colors *color_table) |
||
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 */ |