Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

Gui.h File Reference

#include "types.h"
#include "Bases.h"
#include "Tag.h"
#include "port/Glw.h"

Include dependency graph for Gui.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  gui_App_t

Defines

#define GUI_TIMER_REPEAT   (1L<<0)
#define TAG_GUI_R1   (TAG_USER+100)
#define TAG_GUI_R2   (TAG_USER+101)
#define TAG_GUI_R3   (TAG_USER+102)
#define TAG_GUI_WIN   (TAG_USER+103)
#define TAG_GUI_NAME   ((TAG_USER+104)|TAGT_STRING)
#define TAG_GUI_LEN   (TAG_USER+105)
#define TAG_GUI_CLASS_NAME   ((TAG_USER+106)|TAGT_STRING)
#define TAG_GUI_RECT   (TAG_USER+108)
#define TAG_GUI_X   (TAG_USER+109)
#define TAG_GUI_Y   (TAG_USER+110)
#define TAG_GUI_TIMER_ID   (TAG_USER+111)
#define TAG_GUI_FONT   (TAG_USER+112)
#define TAG_GUI_STR   ((TAG_USER+113)|TAGT_STRING)
#define TAG_GUI_WIDTH   (TAG_USER+114)
#define TAG_GUI_MILLISEC   (TAG_USER+115)
#define TAG_GUI_FLAGS   (TAG_USER+116)
#define TAG_GUI_USERDATA   (TAG_USER+117)
#define TAG_GUI_CALLBACK   (TAG_USER+118)
#define TAG_GUI_FILE   ((TAG_USER+119)|TAGT_STRING)

Enumerations

enum  gui_functions {
  GUI_ISOVERLAP = GUI_FUNCBASE, GUI_CALCULATEOVERLAP, GUI_LOADFILE, GUI_LOADSUBGADGETDESCRIPTOR,
  GUI_ISINSIDE, GUI_TIMERCANCEL, GUI_GETLIMITEDTEXTLENGTH, GUI_GETTEXTFITLENGTH,
  GUI_GETTEXTWRAPLENGTH, GUI_TIMERSTART, GUI_UNLOADSUBGADGETDESCRIPTOR, GUI_FUNC_DONE
}

Functions

u32 gui_Call (int function, u32 firsttag,...)
u32 gui_CallTL (int function, tag *taglist)
u32 gui_IsOverlap (u32 firsttag,...)
u32 gui_IsOverlapTL (tag *taglist)
u32 gui_CalculateOverlap (u32 firsttag,...)
u32 gui_CalculateOverlapTL (tag *taglist)
u32 gui_LoadFile (u32 firsttag,...)
u32 gui_LoadFileTL (tag *taglist)
u32 gui_LoadSubgadgetDescriptor (u32 firsttag,...)
u32 gui_LoadSubgadgetDescriptorTL (tag *taglist)
u32 gui_IsInside (u32 firsttag,...)
u32 gui_IsInsideTL (tag *taglist)
u32 gui_TimerCancel (u32 firsttag,...)
u32 gui_TimerCancelTL (tag *taglist)
u32 gui_GetLimitedTextLength (u32 firsttag,...)
u32 gui_GetLimitedTextLengthTL (tag *taglist)
u32 gui_GetTextFitLength (u32 firsttag,...)
u32 gui_GetTextFitLengthTL (tag *taglist)
u32 gui_GetTextWrapLength (u32 firsttag,...)
u32 gui_GetTextWrapLengthTL (tag *taglist)
u32 gui_TimerStart (u32 firsttag,...)
u32 gui_TimerStartTL (tag *taglist)
u32 gui_UnLoadSubgadgetDescriptor (u32 firsttag,...)
u32 gui_UnLoadSubgadgetDescriptorTL (tag *taglist)
int gui_Init (void)
void gui_CleanUp (void)
int gui_ServerMain (u32 conn)
int gui_Event (u32 conn, struct glw_Event *event)
void gui_TimerDelete (gui_Timer_t *timer)


Define Documentation

#define GUI_TIMER_REPEAT   (1L<<0)
 

Definition at line 35 of file Gui.h.

Referenced by app_Init, and gui_Event.

#define TAG_GUI_CALLBACK   (TAG_USER+118)
 

Definition at line 55 of file Gui.h.

Referenced by gui_TimerStartTL.

#define TAG_GUI_CLASS_NAME   ((TAG_USER+106)|TAGT_STRING)
 

Definition at line 44 of file Gui.h.

Referenced by compound_init_gadget, dropdown_init_gadget, gui_LoadSubgadgetDescriptorTL, and scrollbar_init_gadget.

#define TAG_GUI_FILE   ((TAG_USER+119)|TAGT_STRING)
 

Definition at line 56 of file Gui.h.

Referenced by compound_init_gadget, dropdown_delete_gadget, gui_UnLoadSubgadgetDescriptorTL, and scrollbar_init_gadget.

#define TAG_GUI_FLAGS   (TAG_USER+116)
 

Definition at line 53 of file Gui.h.

Referenced by gui_TimerStartTL.

#define TAG_GUI_FONT   (TAG_USER+112)
 

Definition at line 49 of file Gui.h.

Referenced by gui_GetLimitedTextLengthTL, gui_GetTextFitLengthTL, and gui_GetTextWrapLengthTL.

#define TAG_GUI_LEN   (TAG_USER+105)
 

Definition at line 43 of file Gui.h.

Referenced by gui_GetLimitedTextLengthTL, gui_GetTextFitLengthTL, and gui_LoadFileTL.

#define TAG_GUI_MILLISEC   (TAG_USER+115)
 

Definition at line 52 of file Gui.h.

Referenced by gui_TimerStartTL.

#define TAG_GUI_NAME   ((TAG_USER+104)|TAGT_STRING)
 

Definition at line 42 of file Gui.h.

Referenced by gui_LoadFileTL.

#define TAG_GUI_R1   (TAG_USER+100)
 

Definition at line 38 of file Gui.h.

Referenced by group_damage, gui_CalculateOverlapTL, and gui_IsOverlapTL.

#define TAG_GUI_R2   (TAG_USER+101)
 

Definition at line 39 of file Gui.h.

Referenced by group_damage, gui_CalculateOverlapTL, and gui_IsOverlapTL.

#define TAG_GUI_R3   (TAG_USER+102)
 

Definition at line 40 of file Gui.h.

Referenced by group_damage, and gui_CalculateOverlapTL.

#define TAG_GUI_RECT   (TAG_USER+108)
 

Definition at line 45 of file Gui.h.

Referenced by button_input_event_handler, dropdown_input_event_handler, gadget_PostMessageTL, gui_IsInsideTL, scroller_input_event_handler, and sys_close_input_event_handler.

#define TAG_GUI_STR   ((TAG_USER+113)|TAGT_STRING)
 

Definition at line 50 of file Gui.h.

Referenced by gui_GetLimitedTextLengthTL, gui_GetTextFitLengthTL, and gui_GetTextWrapLengthTL.

#define TAG_GUI_TIMER_ID   (TAG_USER+111)
 

Definition at line 48 of file Gui.h.

Referenced by gui_TimerCancelTL.

#define TAG_GUI_USERDATA   (TAG_USER+117)
 

Definition at line 54 of file Gui.h.

Referenced by gui_TimerStartTL.

#define TAG_GUI_WIDTH   (TAG_USER+114)
 

Definition at line 51 of file Gui.h.

Referenced by gui_GetTextFitLengthTL, and gui_GetTextWrapLengthTL.

#define TAG_GUI_WIN   (TAG_USER+103)
 

Definition at line 41 of file Gui.h.

Referenced by compound_init_gadget, dropdown_init_gadget, gui_LoadSubgadgetDescriptorTL, gui_TimerCancelTL, gui_TimerStartTL, and scrollbar_init_gadget.

#define TAG_GUI_X   (TAG_USER+109)
 

Definition at line 46 of file Gui.h.

Referenced by button_input_event_handler, dropdown_input_event_handler, gadget_PostMessageTL, gui_IsInsideTL, scroller_input_event_handler, and sys_close_input_event_handler.

#define TAG_GUI_Y   (TAG_USER+110)
 

Definition at line 47 of file Gui.h.

Referenced by button_input_event_handler, dropdown_input_event_handler, gadget_PostMessageTL, gui_IsInsideTL, scroller_input_event_handler, and sys_close_input_event_handler.


Enumeration Type Documentation

enum gui_functions
 

Enumeration values:
GUI_ISOVERLAP 
GUI_CALCULATEOVERLAP 
GUI_LOADFILE 
GUI_LOADSUBGADGETDESCRIPTOR 
GUI_ISINSIDE 
GUI_TIMERCANCEL 
GUI_GETLIMITEDTEXTLENGTH 
GUI_GETTEXTFITLENGTH 
GUI_GETTEXTWRAPLENGTH 
GUI_TIMERSTART 
GUI_UNLOADSUBGADGETDESCRIPTOR 
GUI_FUNC_DONE 

Definition at line 90 of file Gui.h.


Function Documentation

u32 gui_CalculateOverlap u32    firsttag,
...   
 

Parameters:
TAG_GUI_R1  Rect_t *
TAG_GUI_R2  Rect_t *
TAG_GUI_R3  Rect_t *

Definition at line 149 of file Gui.c.

u32 gui_CalculateOverlapTL tag   taglist
 

Definition at line 153 of file Gui.c.

Referenced by gui_CalculateOverlap.

u32 gui_Call int    function,
u32    firsttag,
...   
 

Definition at line 882 of file Gui.c.

u32 gui_CallTL int    function,
tag   taglist
 

Definition at line 886 of file Gui.c.

Referenced by gui_Call.

void gui_CleanUp void   
 

Definition at line 767 of file Gui.c.

int gui_Event u32    conn,
struct glw_Event   event
 

Definition at line 565 of file Gui.c.

Referenced by glw_CopyBck, glw_MainLoop, and glw_StdWindowProc.

u32 gui_GetLimitedTextLength u32    firsttag,
...   
 

Parameters:
TAG_GUI_FONT  u32
TAG_GUI_STR  char *
TAG_GUI_LEN  int

Definition at line 409 of file Gui.c.

Referenced by gui_GetTextFitLengthTL.

u32 gui_GetLimitedTextLengthTL tag   taglist
 

Definition at line 413 of file Gui.c.

Referenced by gui_GetLimitedTextLength.

u32 gui_GetTextFitLength u32    firsttag,
...   
 

Parameters:
TAG_GUI_FONT  u32
TAG_GUI_STR  char *
TAG_GUI_WIDTH  int

Definition at line 458 of file Gui.c.

Referenced by gui_GetTextWrapLengthTL.

u32 gui_GetTextFitLengthTL tag   taglist
 

Definition at line 462 of file Gui.c.

Referenced by gui_GetTextFitLength.

u32 gui_GetTextWrapLength u32    firsttag,
...   
 

Parameters:
TAG_GUI_FONT  u32
TAG_GUI_STR  char *
TAG_GUI_WIDTH  int

Definition at line 500 of file Gui.c.

u32 gui_GetTextWrapLengthTL tag   taglist
 

Definition at line 504 of file Gui.c.

Referenced by gui_GetTextWrapLength.

int gui_Init void   
 

Definition at line 725 of file Gui.c.

u32 gui_IsInside u32    firsttag,
...   
 

Parameters:
TAG_GUI_RECT  Rect_t *
TAG_GUI_X  int
TAG_GUI_Y  int

Definition at line 293 of file Gui.c.

Referenced by gadget_PostMessageTL.

u32 gui_IsInsideTL tag   taglist
 

Definition at line 297 of file Gui.c.

Referenced by gui_IsInside.

u32 gui_IsOverlap u32    firsttag,
...   
 

Parameters:
TAG_GUI_R1  Rect_t *
TAG_GUI_R2  Rect_t *

Definition at line 114 of file Gui.c.

u32 gui_IsOverlapTL tag   taglist
 

Definition at line 118 of file Gui.c.

References u32.

Referenced by gui_IsOverlap.

u32 gui_LoadFile u32    firsttag,
...   
 

Parameters:
TAG_GUI_NAME  char *
TAG_GUI_LEN  int *

Definition at line 185 of file Gui.c.

u32 gui_LoadFileTL tag   taglist
 

Definition at line 189 of file Gui.c.

Referenced by gui_LoadFile.

u32 gui_LoadSubgadgetDescriptor u32    firsttag,
...   
 

Parameters:
TAG_GUI_WIN  Window_t *
TAG_GUI_CLASS_NAME  char *

Definition at line 230 of file Gui.c.

u32 gui_LoadSubgadgetDescriptorTL tag   taglist
 

Definition at line 234 of file Gui.c.

Referenced by gui_LoadSubgadgetDescriptor.

int gui_ServerMain u32    conn
 

Definition at line 786 of file Gui.c.

Referenced by net_Server.

u32 gui_TimerCancel u32    firsttag,
...   
 

Parameters:
TAG_GUI_WIN  Window_t *
TAG_GUI_TIMER_ID  u32

Definition at line 373 of file Gui.c.

u32 gui_TimerCancelTL tag   taglist
 

Definition at line 377 of file Gui.c.

Referenced by gui_TimerCancel.

void gui_TimerDelete gui_Timer_t   timer
 

Definition at line 835 of file Gui.c.

Referenced by gui_Event, and window_CloseWindowTL.

u32 gui_TimerStart u32    firsttag,
...   
 

Parameters:
TAG_GUI_WIN  Window_t *
TAG_GUI_MILLISEC  u32
TAG_GUI_FLAGS  int
TAG_GUI_USERDATA  u32
TAG_GUI_CALLBACK  int (*)(Window_t *,u32)

Definition at line 327 of file Gui.c.

u32 gui_TimerStartTL tag   taglist
 

Definition at line 331 of file Gui.c.

Referenced by gui_TimerStart.

u32 gui_UnLoadSubgadgetDescriptor u32    firsttag,
...   
 

Parameters:
TAG_GUI_FILE  char *

Definition at line 268 of file Gui.c.

u32 gui_UnLoadSubgadgetDescriptorTL tag   taglist
 

Definition at line 272 of file Gui.c.

Referenced by gui_UnLoadSubgadgetDescriptor.


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