Rev 6490 | Rev 6526 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6490 | Rev 6524 | ||
---|---|---|---|
Line 19... | Line 19... | ||
19 | KOLIBRI_TEXT_EDITOR, |
19 | KOLIBRI_TEXT_EDITOR, |
20 | KOLIBRI_FRAME, |
20 | KOLIBRI_FRAME, |
21 | KOLIBRI_PROGRESS_BAR, |
21 | KOLIBRI_PROGRESS_BAR, |
22 | KOLIBRI_STATICTEXT, |
22 | KOLIBRI_STATICTEXT, |
23 | KOLIBRI_STATICNUM, |
23 | KOLIBRI_STATICNUM, |
24 | - | ||
25 | KOLIBRI_BUTTON, |
24 | KOLIBRI_BUTTON, |
- | 25 | KOLIBRI_D_BUTTON, |
|
- | 26 | KOLIBRI_PATHSHOW, |
|
Line 26... | Line 27... | ||
26 | 27 | ||
27 | /* Add elements above this element in order to let KOLIBRI_NUM_GUI_ELEMENTS */ |
28 | /* Add elements above this element in order to let KOLIBRI_NUM_GUI_ELEMENTS */ |
Line 28... | Line 29... | ||
28 | /* stay at correct value */ |
29 | /* stay at correct value */ |
Line 63... | Line 64... | ||
63 | /*---------------------End of Structure and enum definitions---------------*/ |
64 | /*---------------------End of Structure and enum definitions---------------*/ |
Line 64... | Line 65... | ||
64 | 65 | ||
Line 65... | Line 66... | ||
65 | void kolibri_window_add_element(kolibri_window *some_window, enum KOLIBRI_GUI_ELEMENT_TYPE element_type, void *some_gui_element); // forward declaration |
66 | void kolibri_window_add_element(kolibri_window *some_window, enum KOLIBRI_GUI_ELEMENT_TYPE element_type, void *some_gui_element); // forward declaration |
66 | - | ||
67 | /* GUI Elements being used */ |
- | |
68 | #include "kolibri_editbox.h" |
67 | |
69 | #include "kolibri_checkbox.h" |
68 | /* GUI Elements being used */ |
- | 69 | #include "kolibri_button.h" |
|
- | 70 | #include "kolibri_checkbox.h" |
|
70 | #include "kolibri_button.h" |
71 | #include "kolibri_d_button.h" |
- | 72 | #include "kolibri_editbox.h" |
|
- | 73 | #include "kolibri_frame.h" |
|
- | 74 | #include "kolibri_menubar.h" |
|
- | 75 | #include "kolibri_optionbox.h" |
|
71 | #include "kolibri_progressbar.h" |
76 | #include "kolibri_pathshow.h" |
72 | #include "kolibri_frame.h" |
77 | #include "kolibri_progressbar.h" |
73 | #include "kolibri_scrollbar.h" |
- | |
74 | #include "kolibri_statictext.h" |
- | |
- | 78 | #include "kolibri_scrollbar.h" |
|
Line 75... | Line 79... | ||
75 | #include "kolibri_optionbox.h" |
79 | #include "kolibri_statictext.h" |
Line 133... | Line 137... | ||
133 | 137 | ||
134 | kolibri_gui_op_table[KOLIBRI_MENU_BAR].redraw_fn = (cb_elem_boxlib)menu_bar_draw; |
138 | kolibri_gui_op_table[KOLIBRI_MENU_BAR].redraw_fn = (cb_elem_boxlib)menu_bar_draw; |
135 | kolibri_gui_op_table[KOLIBRI_MENU_BAR].mouse_fn = (cb_elem_boxlib)menu_bar_mouse; |
139 | kolibri_gui_op_table[KOLIBRI_MENU_BAR].mouse_fn = (cb_elem_boxlib)menu_bar_mouse; |
Line -... | Line 140... | ||
- | 140 | kolibri_gui_op_table[KOLIBRI_MENU_BAR].key_fn = NULL; |
|
- | 141 | ||
- | 142 | kolibri_gui_op_table[KOLIBRI_D_BUTTON].redraw_fn = (cb_elem_boxlib)dynamic_button_draw; |
|
136 | kolibri_gui_op_table[KOLIBRI_MENU_BAR].key_fn = NULL; |
143 | kolibri_gui_op_table[KOLIBRI_D_BUTTON].mouse_fn = (cb_elem_boxlib)dynamic_button_mouse; |
- | 144 | kolibri_gui_op_table[KOLIBRI_D_BUTTON].key_fn = NULL; |
|
- | 145 | debug_board_printf("KOLIBRI_D_BUTTON (%x,%x,%x)\n", dynamic_button_draw, dynamic_button_mouse, 0); |
|
- | 146 | ||
- | 147 | kolibri_gui_op_table[KOLIBRI_PATHSHOW].redraw_fn = (cb_elem_boxlib)path_show_draw; |
|
- | 148 | kolibri_gui_op_table[KOLIBRI_PATHSHOW].mouse_fn = NULL; |
|
137 | 149 | kolibri_gui_op_table[KOLIBRI_PATHSHOW].key_fn = NULL; |
|
Line 138... | Line 150... | ||
138 | debug_board_printf("KOLIBRI_MENU_BAR (%x,%x,%x)\n", menu_bar_draw,menu_bar_mouse,menu_bar_activate); |
150 | debug_board_printf("KOLIBRI_PATHSHOW (%x,%x,%x)\n", path_show_draw, 0, 0); |
139 | } |
151 | } |