Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

gadget_Space.c File Reference

#include <stdlib.h>
#include "gadgets/gadget_Space.h"
#include "debug.h"
#include "classes.h"
#include "Bases.h"
#include "Module.h"
#include "Common.h"
#include "Window.h"

Include dependency graph for gadget_Space.c:

Include dependency graph

Go to the source code of this file.

Data Structures

struct  _space

Functions

 VERSION ("Space.gadget", 1, 0,"Gergely Gati","g.gati @freemail.hu")
void space_get_extent (Gadget_t *this, Extent_t *min, Extent_t *max)
void space_layout (Gadget_t *this, Rect_t *rect)
int space_init_gadget (Gadget_t *this, tag *taglist)
int space_gadget_event_handler (Gadget_t *this, int event, tag *taglist)
void init_space_class (u32 module)
EXPORT int module_Init (u32 module, bases_Modules_t *bases)

Variables

bases_Modules_tapi
gadget_Binding_t binding []


Function Documentation

void init_space_class u32    module [static]
 

Definition at line 194 of file gadget_Space.c.

References CLASS_SPACE_ID, CLASS_SPACE_NAME, bases_modules_s::gadget_Call, GADGET_REGISTER_CLASS, GADSTF_NORMAL, NULL, space_gadget_event_handler, 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 213 of file gadget_Space.c.

References EXPORT, init_space_class, and u32.

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

Definition at line 143 of file gadget_Space.c.

References debug_Begin, debug_End, GADEV_DAMAGE, GADEV_DELETE_GADGET, GADEV_GET_EXTENT, GADEV_INIT_GADGET, GADEV_LAYOUT, max, min, NULL, space_get_extent, space_init_gadget, space_layout, TAG_GAD_EXTMAX, TAG_GAD_EXTMIN, TAG_GAD_RECT, tag_GetTagData, and u32.

Referenced by init_space_class.

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

Definition at line 73 of file gadget_Space.c.

References debug_Begin, debug_End, GADGET_MAXIMUM_SIZE, Extent_t::height, max, min, and Extent_t::width.

Referenced by space_gadget_event_handler.

int space_init_gadget Gadget_t   this,
tag   taglist
 

Definition at line 129 of file gadget_Space.c.

References debug_Begin, debug_End, tag_GetTagData, TAG_SPC_COLOR, TAG_SPC_HEIGHT, TAG_SPC_WIDTH, and u32.

Referenced by space_gadget_event_handler.

void space_layout Gadget_t   this,
Rect_t   rect
[static]
 

Definition at line 110 of file gadget_Space.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 space_gadget_event_handler.

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


Variable Documentation

bases_Modules_t* api [static]
 

Definition at line 53 of file gadget_Space.c.

gadget_Binding_t binding[] [static]
 

Initial value:

Definition at line 57 of file gadget_Space.c.


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