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

Go to the source code of this file.
Data Structures | |
| struct | _sys_drag |
Functions | |
| VERSION ("SysDrag.gadget", 1, 0,"Gergely Gati","g.gati @freemail.hu") | |
| u32 | sys_drag_set_title (Gadget_t *this_gadget, tag *taglist) |
| void | sys_drag_get_extent (Gadget_t *this, Extent_t *min, Extent_t *max) |
| void | sys_drag_layout (Gadget_t *this, Rect_t *rect) |
| int | sys_drag_input_event_handler (Gadget_t *gad, struct glw_Event *event) |
| int | sys_drag_init_gadget (Gadget_t *this, tag *taglist) |
| void | sys_drag_delete_gadget (Gadget_t *this) |
| int | sys_drag_gadget_event_handler (Gadget_t *this, int event, tag *taglist) |
| void | init_sys_drag_class (u32 module) |
| EXPORT int | module_Init (u32 module, bases_Modules_t *bases) |
Variables | |
| bases_Modules_t * | api |
| gadget_Method_t | methods [] |
| gadget_Binding_t | binding [] |
| char * | color_names [] |
|
|
||||||||||||
|
Definition at line 320 of file gadget_SysDrag.c. References EXPORT, init_sys_drag_class, and u32. |
|
|
Definition at line 196 of file gadget_SysDrag.c. References debug_Begin, debug_End, mem_free, and NULL. Referenced by sys_drag_gadget_event_handler. |
|
||||||||||||||||
|
Definition at line 233 of file gadget_SysDrag.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, sys_drag_delete_gadget, sys_drag_get_extent, sys_drag_init_gadget, sys_drag_layout, TAG_GAD_EXTMAX, TAG_GAD_EXTMIN, TAG_GAD_RECT, TAG_GADGET_MEM, TAG_GADGET_SIZE, tag_GetTagData, u32, and u8. Referenced by init_sys_drag_class. |
|
||||||||||||||||
|
Definition at line 87 of file gadget_SysDrag.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, NULL, TAG_DONE, TAG_GADGET_OBJECT, and Extent_t::width. Referenced by sys_drag_gadget_event_handler. |
|
||||||||||||
|
Definition at line 177 of file gadget_SysDrag.c. References common_strdup, debug_Begin, debug_End, NULL, tag_GetTagData, TAG_SSZ_OPTIMAL, and TAG_SSZ_TITLE. Referenced by sys_drag_gadget_event_handler. |
|
||||||||||||
|
Definition at line 147 of file gadget_SysDrag.c. References glw_Event::data, debug_Begin, debug_End, glw_Event::event, bases_modules_s::glw_Call, Window_s::handle, TAG_DONE, and Gadget_s::window. Referenced by init_sys_drag_class. |
|
||||||||||||
|
Definition at line 118 of file gadget_SysDrag.c. References 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, NULL, SSZ_COL_TEXT, TAG_DONE, TAG_GADGET_COLOR, TAG_GADGET_OBJECT, Rect_t::top, Rect_t::width, and Gadget_s::window. Referenced by sys_drag_gadget_event_handler. |
|
||||||||||||
|
Definition at line 206 of file gadget_SysDrag.c. References common_strdup, debug_Begin, debug_End, bases_modules_s::gadget_Call, GADGET_FATHER, GADGET_GET_FONT, GADGET_REFRESH, bases_modules_s::glw_Call, mem_free, NULL, TAG_DONE, TAG_GADGET_OBJECT, tag_GetTagData, TAG_SSZ_TITLE, and u32. |
|
||||||||||||||||||||||||
|
|
|
|
Definition at line 54 of file gadget_SysDrag.c. |
|
|
Initial value:
{
{"title",TAG_SSZ_TITLE,GADGET_STRING,""},
{"optimal",TAG_SSZ_OPTIMAL,GADGET_INT,NULL},
GADGET_BINDING_DONE
}Definition at line 67 of file gadget_SysDrag.c. |
|
|
Initial value:
{
"text",
NULL
}Definition at line 74 of file gadget_SysDrag.c. Referenced by init_sys_drag_class. |
|
|
Initial value:
{
{"set_title",sys_drag_set_title,0L},
GADGET_METHOD_DONE
}Definition at line 60 of file gadget_SysDrag.c. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002