Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

gadget_SysBorder.c File Reference

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

Include dependency graph for gadget_SysBorder.c:

Include dependency graph

Go to the source code of this file.

Data Structures

struct  _sys_border

Functions

 VERSION ("SysBorder.gadget", 1, 0,"Gergely Gati","g.gati @freemail.hu")
void sys_border_get_extent (Gadget_t *this, Extent_t *min, Extent_t *max)
void sys_border_layout (Gadget_t *this, Rect_t *rect)
int sys_border_init_gadget (Gadget_t *this, tag *taglist)
int sys_border_gadget_event_handler (Gadget_t *this, int event, tag *taglist)
void init_sys_border_class (u32 module)
EXPORT int module_Init (u32 module, bases_Modules_t *bases)

Variables

bases_Modules_tapi


Function Documentation

void init_sys_border_class u32    module [static]
 

Definition at line 174 of file gadget_SysBorder.c.

References CLASS_SYS_BORDER_ID, CLASS_SYS_BORDER_NAME, bases_modules_s::gadget_Call, GADGET_REGISTER_CLASS, GADSTF_NORMAL, NULL, sys_border_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 193 of file gadget_SysBorder.c.

References EXPORT, init_sys_border_class, and u32.

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

Definition at line 123 of file gadget_SysBorder.c.

References debug_Begin, debug_End, GADEV_DAMAGE, GADEV_DELETE_GADGET, GADEV_GET_EXTENT, GADEV_INIT_GADGET, GADEV_LAYOUT, max, min, NULL, sys_border_get_extent, sys_border_init_gadget, sys_border_layout, TAG_GAD_EXTMAX, TAG_GAD_EXTMIN, TAG_GAD_RECT, tag_GetTagData, and u32.

Referenced by init_sys_border_class.

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

Definition at line 63 of file gadget_SysBorder.c.

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

Referenced by sys_border_gadget_event_handler.

int sys_border_init_gadget Gadget_t   this,
tag   taglist
 

Definition at line 114 of file gadget_SysBorder.c.

References debug_Begin, and debug_End.

Referenced by sys_border_gadget_event_handler.

void sys_border_layout Gadget_t   this,
Rect_t   rect
[static]
 

Definition at line 84 of file gadget_SysBorder.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 sys_border_gadget_event_handler.

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


Variable Documentation

bases_Modules_t* api [static]
 

Definition at line 52 of file gadget_SysBorder.c.


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