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

Go to the source code of this file.
Data Structures | |
| struct | _scroller |
Functions | |
| u32 | scroller_set_property (Gadget_t *this_gadget, tag *taglist) |
| u32 | scroller_get_property (Gadget_t *this_gadget, tag *taglist) |
| VERSION ("Scroller.gadget", 1, 0,"Gergely Gati","g.gati @freemail.hu") | |
| void | scroller_get_extent (Gadget_t *this, Extent_t *min, Extent_t *max) |
| void | scroller_layout (Gadget_t *this, Rect_t *rect) |
| int | scroller_input_event_handler (Gadget_t *gad, struct glw_Event *event) |
| int | scroller_init_gadget (Gadget_t *this, tag *taglist) |
| int | scroller_gadget_event_handler (Gadget_t *this, int event, tag *taglist) |
| void | init_scroller_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 * | custom_names [] |
|
|
||||||||||||
|
Definition at line 354 of file gadget_Scroller.c. References EXPORT, init_scroller_class, and u32. |
|
||||||||||||||||
|
Definition at line 272 of file gadget_Scroller.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, scroller_get_extent, scroller_init_gadget, scroller_layout, TAG_GAD_EXTMAX, TAG_GAD_EXTMIN, TAG_GAD_RECT, TAG_GADGET_MEM, TAG_GADGET_SIZE, tag_GetTagData, u32, and u8. Referenced by init_scroller_class. |
|
||||||||||||||||
|
Definition at line 130 of file gadget_Scroller.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, _scroller::orientation, _scroller::othersize, SCR_VERTICAL, TAG_DONE, TAG_GADGET_OBJECT, and Extent_t::width. Referenced by scroller_gadget_event_handler. |
|
||||||||||||
|
Definition at line 100 of file gadget_Scroller.c. References debug_Begin, debug_End, _scroller::orientation, _scroller::othersize, _scroller::position, tag_GetTagData, TAG_SCR_ORIENTATION, TAG_SCR_OTHERSIZE, TAG_SCR_POSITION, TAG_SCR_TOTAL, TAG_SCR_VISIBLE, _scroller::total, u32, and _scroller::visible. |
|
||||||||||||
|
Definition at line 249 of file gadget_Scroller.c. References debug_Begin, debug_End, _scroller::orientation, _scroller::othersize, _scroller::position, tag_GetTagData, TAG_SCR_ORIENTATION, TAG_SCR_OTHERSIZE, TAG_SCR_POSITION, TAG_SCR_TOTAL, TAG_SCR_VISIBLE, _scroller::total, and _scroller::visible. Referenced by scroller_gadget_event_handler. |
|
||||||||||||
|
||||||||||||
|
||||||||||||
|
Definition at line 85 of file gadget_Scroller.c. References debug_Begin, debug_End, bases_modules_s::gadget_Call, GADGET_REFRESH, _scroller::position, TAG_DONE, TAG_GADGET_OBJECT, tag_GetTagData, TAG_SCR_POSITION, TAG_SCR_TOTAL, TAG_SCR_VISIBLE, _scroller::total, u32, and _scroller::visible. |
|
||||||||||||||||||||||||
|
|
|
|
Definition at line 55 of file gadget_Scroller.c. |
|
|
Initial value:
{
{"orientation",TAG_SCR_ORIENTATION,GADGET_SELECT,"vertical|horizontal"},
{"total",TAG_SCR_TOTAL,GADGET_INT,NULL},
{"visible",TAG_SCR_VISIBLE,GADGET_INT,NULL},
{"position",TAG_SCR_POSITION,GADGET_INT,NULL},
{"othersize",TAG_SCR_OTHERSIZE,GADGET_INT,NULL},
GADGET_BINDING_DONE
}Definition at line 67 of file gadget_Scroller.c. |
|
|
Initial value:
{
"knob_up",
"knob_down",
NULL
}Definition at line 77 of file gadget_Scroller.c. Referenced by init_scroller_class. |
|
|
Initial value:
{
{"scroller_set_property",scroller_set_property,0L},
{"scroller_get_property",scroller_get_property,0L},
GADGET_METHOD_DONE
}Definition at line 59 of file gadget_Scroller.c. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002