#include <stdlib.h>#include "gadgets/gadget_Test.h"#include "debug.h"#include "classes.h"#include "Bases.h"#include "Module.h"#include "Common.h"#include "Window.h"Include dependency graph for gadget_Test.c:

Go to the source code of this file.
Data Structures | |
| struct | _test |
| struct | _test_class_data |
Typedefs | |
| typedef _test_class_data | test_class_data |
Functions | |
| VERSION ("Test.gadget", 1, 0,"Gergely Gati","g.gati @freemail.hu") | |
| void | test_get_extent (Gadget_t *this, Extent_t *min, Extent_t *max) |
| void | test_layout (Gadget_t *this, Rect_t *rect) |
| int | test_input_event_handler (Gadget_t *gad, struct glw_Event *event) |
| int | test_init_gadget (Gadget_t *this, tag *taglist) |
| int | test_gadget_event_handler (Gadget_t *this, int event, tag *taglist) |
| void | init_test_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 [] |
|
|
|
|
|
||||||||||||
|
Definition at line 257 of file gadget_Test.c. References EXPORT, init_test_class, and u32. |
|
||||||||||||||||
|
Definition at line 171 of file gadget_Test.c. References debug_Begin, debug_End, 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_GADGET_MEM, TAG_GADGET_SIZE, tag_GetTagData, test_get_extent, test_init_gadget, test_layout, u32, and u8. Referenced by init_test_class. |
|
||||||||||||||||
|
Definition at line 80 of file gadget_Test.c. References debug_Begin, debug_End, GADGET_MAXIMUM_SIZE, Extent_t::height, max, min, and Extent_t::width. Referenced by test_gadget_event_handler. |
|
||||||||||||
|
Definition at line 159 of file gadget_Test.c. References debug_Begin, debug_End, tag_GetTagData, and TAG_TST_COLOR. Referenced by test_gadget_event_handler. |
|
||||||||||||
|
Definition at line 112 of file gadget_Test.c. References CBK_GADGET_DOWN, CBK_GADGET_MOVE, CBK_GADGET_UP, glw_Event::data, debug_Begin, debug_End, glw_Event::event, bases_modules_s::gadget_Call, GADGET_CALLBACK, GADGET_REFRESH, TAG_DONE, TAG_GADGET_EVENT, TAG_GADGET_EVENT_DATA, and TAG_GADGET_OBJECT. Referenced by init_test_class. |
|
||||||||||||
|
Definition at line 101 of file gadget_Test.c. References debug_Begin, debug_End, bases_modules_s::glw_Call, Window_s::handle, Rect_t::height, Rect_t::left, TAG_DONE, Rect_t::top, Rect_t::width, and Gadget_s::window. Referenced by test_gadget_event_handler. |
|
||||||||||||||||||||||||
|
|
|
|
Definition at line 54 of file gadget_Test.c. |
|
|
Initial value:
{
{"color",TAG_TST_COLOR,GADGET_INT,NULL},
GADGET_BINDING_DONE
}Definition at line 60 of file gadget_Test.c. |
|
|
Initial value:
{
"inactive",
"active",
NULL
}Definition at line 66 of file gadget_Test.c. Referenced by init_test_class. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002