CRM64Pro GDK v0.11.0
A free cross-platform game development kit built on top of SDL 3.0
|
GUI Manager class. More...
Inherits CRM64Pro::ManagerBase.
Public Member Functions | |
Sint32 | info (Sint32 idGUI=0) |
Request GUI Manager information. | |
Sint32 | create (const string &sName, Uint32 iType=GUI_PANEL) |
Creates a new GUI object. | |
Sint32 | close (Sint32 idGUI) |
Close and destroy a GUI object. | |
Sint32 | getNum () |
Get number of loaded objects. | |
Sint32 | setName (Sint32 idGUI, const string &sName) |
Change the object name. | |
Panel * | getPanel (Sint32 idGUI=0) |
Get a pointer to a Panel using its handler. | |
Sint32 | getPanelFocus () |
Get the GUI Panel id with the focus. | |
Sint32 | setPanelFocus (Sint32 idGUI) |
Set the focus on the given GUI Panel id. | |
Console * | getConsole (Sint32 idGUI=GUI_CONSOLE) |
Get a pointer to a Console using its handler. | |
DebugWindow * | getDebugWindow (Sint32 idGUI=0) |
Get a pointer to a DebugWindow using its handler. | |
Sint32 | load (const string &sFileCDC, const string &sName) |
Load a panel and its widgets stored in a CDC file. | |
Sint32 | load (Sint32 idCDC, const string &sName) |
Load a panel and its widgets stored in a CDC file. | |
Sint32 | getFontWhiteAA () |
Get the built-in white font. | |
Sint32 | getFontBlack () |
Get the built-in black font. | |
Sint32 | getIconInfo () |
Get the built-in info icon. | |
Sint32 | getIconWarning () |
Get the built-in warning icon. | |
Sint32 | getIconError () |
Get the built-in error icon. | |
GUI Manager class.