#include <stdlib.h>#include <string.h>#include "gadgets/gadget_Dropdown.h"#include "debug.h"#include "classes.h"#include "Bases.h"#include "Module.h"#include "Memory.h"#include "Common.h"#include "Image.h"#include "Window.h"#include "xml_Gui.h"Include dependency graph for gadget_Dropdown.c:

Go to the source code of this file.
Data Structures | |
| struct | _dropdown |
Functions | |
| VERSION ("Dropdown.gadget", 1, 0,"Gergely Gati","g.gati @freemail.hu") | |
| void | dropdown_get_extent (Gadget_t *this, Extent_t *min, Extent_t *max) |
| void | dropdown_layout (Gadget_t *this, Rect_t *rect) |
| int | dropdown_event_handler (Gadget_t *this, Gadget_t *sender, int event, u32 event_data) |
| int | dropdown_subwin_event_handler (gui_App_t *app, Window_t *win, u32 gadget_id, int event, u32 event_data) |
| int | dropdown_input_event_handler (Gadget_t *gad, struct glw_Event *event) |
| int | dropdown_init_gadget (Gadget_t *this, tag *taglist) |
| void | dropdown_delete_gadget (Gadget_t *this) |
| int | dropdown_gadget_event_handler (Gadget_t *this, int event, tag *taglist) |
| void | init_dropdown_class (u32 module) |
| EXPORT int | module_Init (u32 module, bases_Modules_t *bases) |
Variables | |
| bases_Modules_t * | api |
| gadget_Binding_t | binding [] |
| char * | color_names [] |
| gadget_Check_t | sub_checklist [] |
| char | empty [] = "" |
|
|
Definition at line 248 of file gadget_Dropdown.c. References debug_Begin, debug_End, empty, bases_modules_s::gui_Call, GUI_UNLOADSUBGADGETDESCRIPTOR, mem_free, NULL, TAG_DONE, and TAG_GUI_FILE. Referenced by dropdown_gadget_event_handler. |
|
||||||||||||||||||||
|
Definition at line 132 of file gadget_Dropdown.c. References CBK_GADGET_UP, debug_Begin, debug_End, and u32. Referenced by init_dropdown_class. |
|
||||||||||||||||
|
Definition at line 259 of file gadget_Dropdown.c. References debug_Begin, debug_End, dropdown_delete_gadget, dropdown_get_extent, dropdown_init_gadget, dropdown_layout, GADEV_DAMAGE, GADEV_DELETE_GADGET, GADEV_GET_EXTENT, GADEV_INIT_GADGET, GADEV_LAYOUT, GADEV_RESTORE, GADEV_SAVE, max, min, NULL, TAG_GAD_EXTMAX, TAG_GAD_EXTMIN, TAG_GAD_RECT, tag_GetTagData, and u32. Referenced by init_dropdown_class. |
|
||||||||||||||||
|
Definition at line 90 of file gadget_Dropdown.c. References debug_Begin, debug_End, bases_modules_s::gadget_Call, GADGET_GET_FONT, GADGET_MAXIMUM_SIZE, bases_modules_s::glw_Call, Extent_t::height, max, min, TAG_DONE, TAG_GADGET_OBJECT, u32, and Extent_t::width. Referenced by dropdown_gadget_event_handler. |
|
||||||||||||
|
Definition at line 228 of file gadget_Dropdown.c. References Gadget_s::class_data, gadget_ClassData_t::class_name, common_strdup, debug_Begin, debug_End, empty, bases_modules_s::gui_Call, GUI_LOADSUBGADGETDESCRIPTOR, NULL, TAG_DONE, TAG_DRP_LABELS, tag_GetTagData, TAG_GUI_CLASS_NAME, TAG_GUI_WIN, u32, and Gadget_s::window. Referenced by dropdown_gadget_event_handler. |
|
||||||||||||
|
||||||||||||
|
Definition at line 114 of file gadget_Dropdown.c. References debug_Begin, debug_End, DRP_COL_TEXT, bases_modules_s::gadget_Call, GADGET_GET_COLOR, GADGET_GET_FONT, bases_modules_s::glw_Call, Window_s::handle, Rect_t::height, Rect_t::left, TAG_DONE, TAG_GADGET_COLOR, TAG_GADGET_OBJECT, Rect_t::top, Rect_t::width, and Gadget_s::window. Referenced by dropdown_gadget_event_handler. |
|
||||||||||||||||||||||||
|
Definition at line 153 of file gadget_Dropdown.c. References CBK_GADGET_UP, CBK_WINDOW_INACTIVATED, TAG_DONE, TAG_WIN_OBJECT, u32, bases_modules_s::window_Call, and WINDOW_CLOSEWINDOW. Referenced by dropdown_input_event_handler. |
|
|
||||||||||||
|
Definition at line 362 of file gadget_Dropdown.c. References EXPORT, init_dropdown_class, and u32. |
|
||||||||||||||||||||||||
|
|
|
|
Definition at line 58 of file gadget_Dropdown.c. |
|
|
Initial value:
{
{"labels", TAG_DRP_LABELS, GADGET_STRING,""},
GADGET_BINDING_DONE
}Definition at line 61 of file gadget_Dropdown.c. |
|
|
Initial value:
{
"text",
NULL
}Definition at line 67 of file gadget_Dropdown.c. Referenced by init_dropdown_class. |
|
|
Definition at line 81 of file gadget_Dropdown.c. Referenced by dropdown_delete_gadget, and dropdown_init_gadget. |
|
|
Initial value:
{
{ 3, "Test", GADGET_REQUIRED },
GADGET_CHECK_DONE
}Definition at line 73 of file gadget_Dropdown.c. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002