Rev 6470 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6470 | Rev 6482 | ||
---|---|---|---|
Line 37... | Line 37... | ||
37 | { |
37 | { |
38 | check_box* new_checkbox = (check_box *)malloc(sizeof(check_box)); |
38 | check_box* new_checkbox = (check_box *)malloc(sizeof(check_box)); |
39 | new_checkbox -> left_s = (tlx << 16) + sizex; |
39 | new_checkbox -> left_s = (tlx << 16) + sizex; |
40 | new_checkbox -> top_s = (tly << 16) + sizey; |
40 | new_checkbox -> top_s = (tly << 16) + sizey; |
41 | new_checkbox -> ch_text_margin = 10; |
41 | new_checkbox -> ch_text_margin = 10; |
42 | new_checkbox -> color = 0xFFFFFFFF; // 0x80AABBCC, 31-bit mus be set asciiz |
42 | new_checkbox -> color = kolibri_color_table.color_work_area; // 0xFFFFFFFF; // 0x80AABBCC, 31-bit mus be set asciiz |
43 | new_checkbox -> border_color = kolibri_color_table.color_work_graph; |
43 | new_checkbox -> border_color = kolibri_color_table.color_work_graph; |
44 | new_checkbox -> text_color = kolibri_color_table.color_work_text; |
44 | new_checkbox -> text_color = kolibri_color_table.color_work_text; |
45 | new_checkbox -> text = label_text; |
45 | new_checkbox -> text = label_text; |
46 | new_checkbox -> flags = 0x00000008; |
46 | new_checkbox -> flags = 0x00000008; |