Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

PG_Layout Namespace Reference


Functions

bool Load (PG_Widget *parent, const char *filename, void(*WorkCallback)(int now, int max), void *UserSpace)
 Load a XML layout.

int GetParamInt (const char **Source, char *What)
PG_ScrollBar::ScrollDirection GetParamScrollDirection (const char **Source, char *What)
char * GetParamStr (const char **Source, char *What)
void GetParamRect (const char **Source, char *What, PG_Rect &Rect, PG_Widget *parent=NULL)
PG_Label::TextAlign GetParamAlign (const char **Source, char *What)
int GetParamIMode (const char **Source, char *What)
int GetParamGrad (const char **Source, char *What, PG_Gradient *grad)


Function Documentation

PG_Label::TextAlign GetParamAlign (  const char **  Source,
char *  What
) 
 

int GetParamGrad (  const char **  Source,
char *  What,
PG_Gradient *  grad
) 
 

int GetParamIMode (  const char **  Source,
char *  What
) 
 

int GetParamInt (  const char **  Source,
char *  What
) 
 

void GetParamRect (  const char **  Source,
char *  What,
PG_Rect &  Rect,
PG_Widget *  parent = NULL
) 
 

PG_ScrollBar::ScrollDirection GetParamScrollDirection (  const char **  Source,
char *  What
) 
 

char* GetParamStr (  const char **  Source,
char *  What
) 
 

bool Load (  PG_Widget *  parent,
const char *  filename,
void(*  WorkCallback)(int now, int max),
void *  UserSpace
) 
 

Load a XML layout.

Parameters:
parent Pointer to the widget which will be the parent for newly created widgets (from the XML layout). If NULL all new widgets will be created as toplevel widgets
filename name of the XML layoutfile
WorkCallback progress callback function (OBSOLETE)
UserSpace ???
Returns:
true on success


The ParaGUI Project - Alexander Pipelka