|
|
|
@ -170,12 +170,13 @@ extern void gui_window_item_add (GUIWindow *win, GUIItem *item);
|
|
|
|
|
|
|
|
|
|
|
|
/* softkeyboard functions. */
|
|
|
|
/* softkeyboard functions. */
|
|
|
|
extern void gui_softkeyb_show (int enable);
|
|
|
|
extern void gui_softkeyb_show (int enable);
|
|
|
|
|
|
|
|
extern int gui_softkeyb_event (GUIEvent event);
|
|
|
|
extern void gui_softkeyb_draw ();
|
|
|
|
extern void gui_softkeyb_draw ();
|
|
|
|
|
|
|
|
|
|
|
|
/* button functions */
|
|
|
|
/* button functions */
|
|
|
|
#define GUI_BUTTON_T(_item_) ((GUIButton*)(_item_)->data)
|
|
|
|
#define GUI_BUTTON_T(_item_) ((GUIButton*)(_item_)->data)
|
|
|
|
extern void gui_button_draw (GUIItem *item);
|
|
|
|
extern void gui_button_draw (GUIItem *item);
|
|
|
|
extern void gui_button_event (GUIItem *item, GUIEvent *event);
|
|
|
|
extern int gui_button_event (GUIItem *item, GUIEvent *event);
|
|
|
|
extern GUIItem *gui_button_new (char *name, int x, int y, int w, int h);
|
|
|
|
extern GUIItem *gui_button_new (char *name, int x, int y, int w, int h);
|
|
|
|
|
|
|
|
|
|
|
|
/* label functions */
|
|
|
|
/* label functions */
|
|
|
|
@ -186,13 +187,13 @@ extern GUIItem *gui_label_new (char *text, int x, int y);
|
|
|
|
/* entry functions */
|
|
|
|
/* entry functions */
|
|
|
|
#define GUI_ENTRY_T(_item_) ((GUIEntry*)(_item_)->data)
|
|
|
|
#define GUI_ENTRY_T(_item_) ((GUIEntry*)(_item_)->data)
|
|
|
|
extern void gui_entry_draw (GUIItem *item);
|
|
|
|
extern void gui_entry_draw (GUIItem *item);
|
|
|
|
extern void gui_entry_event (GUIItem *item, GUIEvent *event);
|
|
|
|
extern int gui_entry_event (GUIItem *item, GUIEvent *event);
|
|
|
|
extern GUIItem *gui_entry_new (char *text, int x, int y, int w, int h);
|
|
|
|
extern GUIItem *gui_entry_new (char *text, int x, int y, int w, int h);
|
|
|
|
|
|
|
|
|
|
|
|
/* list functions */
|
|
|
|
/* list functions */
|
|
|
|
#define GUI_LIST_T(_item_) ((GUIList*)(_item_)->data)
|
|
|
|
#define GUI_LIST_T(_item_) ((GUIList*)(_item_)->data)
|
|
|
|
extern void gui_list_draw (GUIItem *item);
|
|
|
|
extern void gui_list_draw (GUIItem *item);
|
|
|
|
extern void gui_list_event (GUIItem *item, GUIEvent *event);
|
|
|
|
extern int gui_list_event (GUIItem *item, GUIEvent *event);
|
|
|
|
extern void gui_list_setselect (GUIItem *item);
|
|
|
|
extern void gui_list_setselect (GUIItem *item);
|
|
|
|
extern GUIItem *gui_list_new (int x, int y, int w, int h);
|
|
|
|
extern GUIItem *gui_list_new (int x, int y, int w, int h);
|
|
|
|
|
|
|
|
|
|
|
|
|