#include <stdlib.h>#include <string.h>#include "gadgets/gadget_Button.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 dependency graph for gadget_Button.c:

Go to the source code of this file.
Data Structures | |
| struct | _button |
Functions | |
| VERSION ("Button.gadget", 1, 0,"Gergely Gati","g.gati @freemail.hu") | |
| void | button_get_extent (Gadget_t *this, Extent_t *min, Extent_t *max) |
| void | button_layout (Gadget_t *this, Rect_t *rect) |
| int | button_input_event_handler (Gadget_t *gad, struct glw_Event *event) |
| int | button_init_gadget (Gadget_t *this, tag *taglist) |
| void | button_delete_gadget (Gadget_t *this) |
| int | button_gadget_event_handler (Gadget_t *this, int event, tag *taglist) |
| void | init_button_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 [] |
| char | empty [] = "" |
|
|
Definition at line 232 of file gadget_Button.c. References debug_Begin, debug_End, empty, mem_free, and NULL. Referenced by button_gadget_event_handler. |
|
||||||||||||||||
|
Definition at line 242 of file gadget_Button.c. References button_delete_gadget, button_get_extent, button_init_gadget, button_layout, debug_Begin, debug_End, empty, GADEV_DAMAGE, GADEV_DELETE_GADGET, GADEV_GET_EXTENT, GADEV_INIT_GADGET, GADEV_LAYOUT, GADEV_RESTORE, GADEV_SAVE, max, mem_free, mem_malloc, min, NULL, TAG_GAD_EXTMAX, TAG_GAD_EXTMIN, TAG_GAD_RECT, TAG_GADGET_MEM, TAG_GADGET_SIZE, tag_GetTagData, u32, and u8. Referenced by init_button_class. |
|
||||||||||||||||
|
Definition at line 87 of file gadget_Button.c. References debug_Begin, debug_End, debug_Message, 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 button_gadget_event_handler. |
|
||||||||||||
|
Definition at line 215 of file gadget_Button.c. References common_strdup, debug_Begin, debug_End, debug_Message, empty, NULL, TAG_BTN_LABEL, tag_GetTagData, and u32. Referenced by button_gadget_event_handler. |
|
||||||||||||
|
||||||||||||
|
Definition at line 114 of file gadget_Button.c. References BTN_COL_TEXT, debug_Begin, debug_End, 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 button_gadget_event_handler. |
|
|
||||||||||||
|
Definition at line 341 of file gadget_Button.c. References EXPORT, init_button_class, and u32. |
|
||||||||||||||||||||||||
|
|
|
|
Definition at line 59 of file gadget_Button.c. |
|
|
Initial value:
{
{"label", TAG_BTN_LABEL, GADGET_STRING,""},
{"image-up", TAG_BTN_IMAGEUPNAME, GADGET_STRING,""},
{"image-down",TAG_BTN_IMAGEDOWNNAME,GADGET_STRING,""},
GADGET_BINDING_DONE
}Definition at line 62 of file gadget_Button.c. |
|
|
Initial value:
{
"text",
NULL
}Definition at line 70 of file gadget_Button.c. Referenced by init_button_class. |
|
|
Definition at line 78 of file gadget_Button.c. Referenced by button_delete_gadget, button_gadget_event_handler, and button_init_gadget. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002