Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

gadget_Compound.c File Reference

#include <stdlib.h>
#include "Tag.h"
#include "macros.h"
#include "debug.h"
#include "classes.h"
#include "Memory.h"
#include "xml_Gui.h"
#include "Bases.h"
#include "Module.h"
#include "Common.h"
#include "gadgets/gadget_Compound.h"
#include "gadgets/gadget_Space.h"
#include "gadgets/gadget_Test.h"
#include "gadgets/gadget_Group.h"

Include dependency graph for gadget_Compound.c:

Include dependency graph

Go to the source code of this file.

Data Structures

struct  _compound

Functions

 VERSION ("Compound.gadget", 1, 0,"Gergely Gati","g.gati @freemail.hu")
void compound_get_extent (Gadget_t *this, Extent_t *min, Extent_t *max)
void compound_layout (Gadget_t *this, Rect_t *rect)
int compound_event_handler (Gadget_t *this, Gadget_t *sender, int event, u32 event_data)
int compound_init_gadget (Gadget_t *this, tag *taglist)
void compound_suggest_extent (Gadget_t *this, Rect_t *rect)
int compound_gadget_event_handler (Gadget_t *this, int event, tag *taglist)
void init_compound_class (u32 module)
EXPORT int module_Init (u32 module, bases_Modules_t *bases)

Variables

bases_Modules_tapi
gadget_Binding_t binding []
gadget_Check_t checklist []


Function Documentation

int compound_event_handler Gadget_t   this,
Gadget_t   sender,
int    event,
u32    event_data
 

Definition at line 110 of file gadget_Compound.c.

References CBK_GADGET_UP, debug_Begin, debug_End, bases_modules_s::gadget_Call, GADGET_CALLBACK, Gadget_s::gadget_id, GADGET_SUBGADGET_BASE, TAG_DONE, TAG_GADGET_EVENT, TAG_GADGET_EVENT_DATA, TAG_GADGET_OBJECT, and u32.

Referenced by init_compound_class.

int compound_gadget_event_handler Gadget_t   this,
int    event,
tag   taglist
[static]
 

Definition at line 188 of file gadget_Compound.c.

References compound_get_extent, compound_init_gadget, compound_layout, compound_suggest_extent, debug_Begin, debug_End, GADEV_DAMAGE, GADEV_DELETE_GADGET, GADEV_GET_EXTENT, GADEV_INIT_GADGET, GADEV_LAYOUT, GADEV_RESTORE, GADEV_SAVE, GADEV_SUGGEST_EXTENT, max, 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_compound_class.

void compound_get_extent Gadget_t   this,
Extent_t   min,
Extent_t   max
[static]
 

Definition at line 81 of file gadget_Compound.c.

References debug_Begin, debug_End, bases_modules_s::gadget_Call, GADGET_GET_EXTENT, GADGET_SEARCH, GADGET_SUBGADGET_BASE, max, min, TAG_DONE, TAG_GADGET_GADGET_ID, TAG_GADGET_MAX, TAG_GADGET_MIN, TAG_GADGET_OBJECT, and TAG_GADGET_ROOT.

Referenced by compound_gadget_event_handler.

int compound_init_gadget Gadget_t   this,
tag   taglist
[static]
 

Definition at line 146 of file gadget_Compound.c.

References Gadget_s::class_data, gadget_ClassData_t::class_name, debug_Begin, debug_End, GADGET_ATTACH, bases_modules_s::gadget_Call, bases_modules_s::gui_Call, GUI_LOADSUBGADGETDESCRIPTOR, GUI_UNLOADSUBGADGETDESCRIPTOR, bases_modules_s::gxml_Call, GXML_CREATEGADGETTREE, NULL, TAG_CPD_COLOR, TAG_DONE, TAG_GADGET_NEW_CHILD, TAG_GADGET_NEW_PARENT, tag_GetTagData, TAG_GUI_CLASS_NAME, TAG_GUI_FILE, TAG_GUI_WIN, TAG_GXML_APPNAME, TAG_GXML_CHECK, TAG_GXML_LAYOUTNAME, TAG_GXML_LOCALE, TAG_GXML_TYPE, TAG_GXML_WINDOW, TAG_GXML_XML_FILE, and Gadget_s::window.

Referenced by compound_gadget_event_handler.

void compound_layout Gadget_t   this,
Rect_t   rect
[static]
 

Definition at line 99 of file gadget_Compound.c.

References debug_Begin, debug_End, debug_Message, bases_modules_s::gadget_Call, Gadget_s::gadget_id, GADGET_LAYOUT, Rect_t::height, TAG_DONE, TAG_GADGET_OBJECT, TAG_GADGET_RECT, and Rect_t::width.

Referenced by compound_gadget_event_handler.

void compound_suggest_extent Gadget_t   this,
Rect_t   rect
[static]
 

Definition at line 178 of file gadget_Compound.c.

References debug_Begin, debug_End, bases_modules_s::gadget_Call, GADGET_SUGGEST_EXTENT, TAG_DONE, TAG_GADGET_OBJECT, and TAG_GADGET_RECT.

Referenced by compound_gadget_event_handler.

void init_compound_class u32    module [static]
 

Definition at line 263 of file gadget_Compound.c.

References CLASS_COMPOUND_ID, CLASS_COMPOUND_NAME, compound_event_handler, compound_gadget_event_handler, bases_modules_s::gadget_Call, GADGET_REGISTER_CLASS, GADSTF_NORMAL, NULL, TAG_DONE, TAG_GADGET_BINDING, TAG_GADGET_CLASS_ID, TAG_GADGET_COLOR_NAMES, TAG_GADGET_CUSTOM_NAMES, TAG_GADGET_EVENT_HANDLER, TAG_GADGET_GADGET_EVENT_HANDLER, TAG_GADGET_GADGET_SIZE, TAG_GADGET_INPUT_EVENT_HANDLER, TAG_GADGET_METHODS, TAG_GADGET_MODULE, TAG_GADGET_NAME, TAG_GADGET_STATE_MASK, and u32.

Referenced by module_Init.

EXPORT int module_Init u32    module,
bases_Modules_t   bases
 

Definition at line 282 of file gadget_Compound.c.

References EXPORT, init_compound_class, and u32.

VERSION "Compound.gadget"   ,
 ,
 ,
"Gergely Gati"   ,
"g.gati @freemail.hu"   
 


Variable Documentation

bases_Modules_t* api [static]
 

Definition at line 57 of file gadget_Compound.c.

gadget_Binding_t binding[] [static]
 

Initial value:

Definition at line 61 of file gadget_Compound.c.

gadget_Check_t checklist[] [static]
 

Initial value:

Definition at line 67 of file gadget_Compound.c.


Generated on Tue Jan 7 12:11:52 2003 for THEGUI by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002