Rev 6396 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6396 | Rev 6449 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | 3 | ||
4 | /* GUI Elements being used */ |
4 | /* GUI Elements being used */ |
5 | #include "kolibri_editbox.h" |
5 | #include "kolibri_editbox.h" |
6 | #include "kolibri_checkbox.h" |
6 | #include "kolibri_checkbox.h" |
- | 7 | #include "kolibri_button.h" |
|
- | 8 | #include "kolibri_progressbar.h" |
|
Line 7... | Line 9... | ||
7 | #include "kolibri_button.h" |
9 | #include "kolibri_frame.h" |
8 | 10 | ||
9 | /* enum KOLIBRI_GUI_ELEMENT_TYPE contains all available GUI items from box_lib */ |
11 | /* enum KOLIBRI_GUI_ELEMENT_TYPE contains all available GUI items from box_lib */ |
10 | /* More elements can be added from other libraries as required */ |
12 | /* More elements can be added from other libraries as required */ |
Line 80... | Line 82... | ||
80 | /* Setting up functions for Kolibri Buttons ( SysFunc 8 )*/ |
82 | /* Setting up functions for Kolibri Buttons ( SysFunc 8 )*/ |
81 | kolibri_gui_op_table[KOLIBRI_BUTTON].redraw_fn = (cb_elem_boxlib)draw_button; |
83 | kolibri_gui_op_table[KOLIBRI_BUTTON].redraw_fn = (cb_elem_boxlib)draw_button; |
82 | kolibri_gui_op_table[KOLIBRI_BUTTON].mouse_fn = NULL; |
84 | kolibri_gui_op_table[KOLIBRI_BUTTON].mouse_fn = NULL; |
83 | kolibri_gui_op_table[KOLIBRI_BUTTON].key_fn = NULL; |
85 | kolibri_gui_op_table[KOLIBRI_BUTTON].key_fn = NULL; |
Line -... | Line 86... | ||
- | 86 | ||
- | 87 | /* Setting up functions for progress bar GUI elements*/ |
|
- | 88 | kolibri_gui_op_table[KOLIBRI_PROGRESS_BAR].redraw_fn = (cb_elem_boxlib)progressbar_draw; |
|
- | 89 | kolibri_gui_op_table[KOLIBRI_PROGRESS_BAR].mouse_fn = NULL; |
|
- | 90 | kolibri_gui_op_table[KOLIBRI_PROGRESS_BAR].key_fn = NULL; |
|
- | 91 | ||
- | 92 | /* Setting up functions for frame GUI elements*/ |
|
- | 93 | kolibri_gui_op_table[KOLIBRI_FRAME].redraw_fn = (cb_elem_boxlib)frame_draw; |
|
- | 94 | kolibri_gui_op_table[KOLIBRI_FRAME].mouse_fn = NULL; |
|
- | 95 | kolibri_gui_op_table[KOLIBRI_FRAME].key_fn = NULL; |
|
84 | 96 | ||
Line 85... | Line 97... | ||
85 | } |
97 | } |
86 | 98 |