GuiFactory Class Reference
#include <GuiFactory.hh>
Detailed Description
The gui factoryStatic Public Member Functions | |
static void | RegisterAll () |
static void | RegisterGui (std::string type, std::string classname, GuiFactoryFn factoryfn) |
static Gui * | NewGui (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: