Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6465 → Rev 6466

/contrib/C_Layer/INCLUDE/kolibri_checkbox.h
22,6 → 22,10
unsigned int size_of_str;
}check_box;
 
extern void (*check_box_draw2)(check_box *) __attribute__((__stdcall__));
extern void (*check_box_mouse2)(check_box *)__attribute__((__stdcall__));
extern void (*init_checkbox2)(check_box *)__attribute__((__stdcall__));
 
check_box* kolibri_new_check_box(unsigned int tlx, unsigned int tly, unsigned int sizex, unsigned int sizey, char *label_text)
{
check_box* new_checkbox = (check_box *)malloc(sizeof(check_box));
34,10 → 38,10
new_checkbox -> text = label_text;
new_checkbox -> flags = 0x00000008;
 
(*init_checkbox2)(new_checkbox); // count text width for mouse action and set flags
 
return new_checkbox;
}
 
extern void (*check_box_draw2)(check_box *) __attribute__((__stdcall__));
extern void (*check_box_mouse2)(check_box *)__attribute__((__stdcall__));
 
#endif /* KOLIBRI_CHECKBOX_H */
/contrib/C_Layer/INCLUDE/kolibri_frame.h
36,8 → 36,8
new_frame -> draw_text_flag = draw_text_flag;
new_frame -> text_pointer = text_pointer;
new_frame -> text_position = text_position;
new_frame -> font_number = 1;
new_frame -> font_size_y = 12;
new_frame -> font_number = 0; // 0 == font 6x9, 1==8x16
new_frame -> font_size_y = 9;
new_frame -> font_color = font_color;
new_frame -> font_backgr_color = font_bgcolor;
return new_frame;
/contrib/C_Layer/INCLUDE/kolibri_gui_elements.h
39,7 → 39,6
void *next, *prev;
}kolibri_window_element;
 
 
typedef void (*cb_elem_boxlib)(void *) __attribute__((__stdcall__));
 
/* Generic structure for supporting functions on various elements of Kolibri's GUI */