GuiFactory Class Reference

#include <GuiFactory.hh>

List of all members.

Detailed Description

The gui factory

Static Public Member Functions

static void RegisterAll ()
static void RegisterGui (std::string type, std::string classname, GuiFactoryFn factoryfn)
static GuiNewGui (const std::string &classname, int x, int y, int w, int h, const std::string &label)

Member Function Documentation

static void RegisterAll (  )  [static]

Register all known guis.

static void RegisterGui ( std::string  type,
std::string  classname,
GuiFactoryFn  factoryfn 
) [static]

Register a gui class (called by gui registration function).

static Gui* NewGui ( const std::string &  classname,
int  x,
int  y,
int  w,
int  h,
const std::string &  label 
) [static]

Create a new instance of a gui. Used by the world when reading the world file.

The documentation for this class was generated from the following file:

Last updated Aug 04 2007