Rev 6456 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6456 | Rev 6457 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef KOLIBRI_COLORS_H |
1 | #ifndef KOLIBRI_COLORS_H |
2 | #define KOLIBRI_COLORS_H |
2 | #define KOLIBRI_COLORS_H |
3 | struct kolibri_system_colors { |
3 | typedef struct { |
4 | unsigned int color_frame_area; |
4 | unsigned int color_frame_area; |
5 | unsigned int color_grab_bar; |
5 | unsigned int color_grab_bar; |
6 | unsigned int color_grab_bar_button; |
6 | unsigned int color_grab_bar_button; |
7 | unsigned int color_grab_button_text; |
7 | unsigned int color_grab_button_text; |
8 | unsigned int color_grab_text; |
8 | unsigned int color_grab_text; |
9 | unsigned int color_work_area; |
9 | unsigned int color_work_area; |
10 | unsigned int color_work_button; |
10 | unsigned int color_work_button; |
11 | unsigned int color_work_button_text; |
11 | unsigned int color_work_button_text; |
12 | unsigned int color_work_text; |
12 | unsigned int color_work_text; |
13 | unsigned int color_work_graph; |
13 | unsigned int color_work_graph; |
14 | }; |
14 | }kolibri_system_colors; |
Line 15... | Line 15... | ||
15 | 15 | ||
Line 16... | Line 16... | ||
16 | struct kolibri_system_colors kolibri_color_table; |
16 | kolibri_system_colors kolibri_color_table; |
17 | 17 | ||
18 | void kolibri_get_system_colors(struct kolibri_system_colors *color_table) |
18 | void kolibri_get_system_colors(kolibri_system_colors *color_table) |
19 | { |
19 | { |
20 | __asm__ volatile ("int $0x40" |
20 | __asm__ volatile ("int $0x40" |
21 | : |
21 | : |