![]() |
CRM64Pro GDK v0.14.0
A free cross-platform game development kit built on top of SDL 3.0
|
GUI Manager class. More...
GUI Manager class.
Public Member Functions | |
| bool | info (Sint32 iMode=0) override |
| Request GUI Manager information. | |
| Sint32 | create (const string &sName, Uint32 iType=GUI_PANEL) override |
| Creates a new GUI object. | |
| bool | close (Sint32 idGUI) override |
| Close and destroy a GUI object. | |
| Sint32 | getCount () const override |
| Get number of loaded objects. | |
| Sint32 | setName (Sint32 idGUI, const string &sName) override |
| Change the object name. | |
| Panel * | getPanel (Sint32 idGUI=0) |
| Get a pointer to a Panel using its handler. | |
| Sint32 | getPanelFocus () const |
| 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 &sCDCFile, const string &sName) |
| Load a panel and its widgets stored in a CDC file. | |
| Sint32 | load (const Sint32 idCDC, const string &sName) |
| Load a panel and its widgets stored in a CDC file. | |
| Sint32 | remove (Sint32 idCDC, const string &sName) |
| Remove a panel and its widgets stored in a CDC file. | |
| Sint32 | getFontWhiteAA () const |
| Get the built-in white font. | |
| Sint32 | getFontBlack () const |
| Get the built-in black font. | |
| Sint32 | getIconInfo () const |
| Get the built-in info icon. | |
| Sint32 | getIconWarning () const |
| Get the built-in warning icon. | |
| Sint32 | getIconQuestion () const |
| Get the built-in question icon. | |
| Sint32 | getIconError () const |
| Get the built-in error icon. | |