Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6455 → Rev 6456

/contrib/C_Layer/INCLUDE/kolibri_colors.h
0,0 → 1,28
#ifndef KOLIBRI_COLORS_H
#define KOLIBRI_COLORS_H
struct kolibri_system_colors {
unsigned int color_frame_area;
unsigned int color_grab_bar;
unsigned int color_grab_bar_button;
unsigned int color_grab_button_text;
unsigned int color_grab_text;
unsigned int color_work_area;
unsigned int color_work_button;
unsigned int color_work_button_text;
unsigned int color_work_text;
unsigned int color_work_graph;
};
 
struct kolibri_system_colors kolibri_color_table;
 
void kolibri_get_system_colors(struct kolibri_system_colors *color_table)
{
__asm__ volatile ("int $0x40"
:
:"a"(48),"b"(3),"c"(color_table),"d"(40)
);
 
/* color_table should point to the system color table */
}
 
#endif /* KOLIBRI_COLORS_H */