#include <spGUIManager.hpp>
Public Member Functions | |
GUIManager () | |
~GUIManager () | |
io::stringc | getVersion () const |
Returns the GUI version (e.g. "SoftGUI 2.0 alpha"). | |
void | update () |
Updates the whole GUI events. Use the event callback (setEventCallback) to catch all events. | |
GUIWindow * | addWindow (const dim::point2di &Position, const dim::size2di &Size, const io::stringc &Title, s32 Flags=0) |
void | removeWindow (GUIWindow *Window) |
void | setEventCallback (const GUIEventCallback &Callback) |
video::Texture * | getInterfaceTexture () const |
Returns the rendered interface texture. Use this texture to draw the GUI in 2D or 3D onto the screen. | |
Friends | |
class | GUIBaseObject |
class | GUIController |
class | GUIWindow |
class | GUIMenuItem |
class | GUIScrollbarGadget |
class | GUIStringGadget |
class | GUITrackbarGadget |
class | GUITreeGadget |
class | GUIListGadget |
class | GUIWebGadget |
Main class for managing the whole GUI.
sp::gui::GUIManager::GUIManager | ( | ) |
sp::gui::GUIManager::~GUIManager | ( | ) |
GUIWindow* sp::gui::GUIManager::addWindow | ( | const dim::point2di & | Position, | |
const dim::size2di & | Size, | |||
const io::stringc & | Title, | |||
s32 | Flags = 0 | |||
) |
video::Texture* sp::gui::GUIManager::getInterfaceTexture | ( | ) | const [inline] |
Returns the rendered interface texture. Use this texture to draw the GUI in 2D or 3D onto the screen.
io::stringc sp::gui::GUIManager::getVersion | ( | ) | const |
Returns the GUI version (e.g. "SoftGUI 2.0 alpha").
void sp::gui::GUIManager::removeWindow | ( | GUIWindow * | Window | ) |
void sp::gui::GUIManager::setEventCallback | ( | const GUIEventCallback & | Callback | ) | [inline] |
void sp::gui::GUIManager::update | ( | ) |
Updates the whole GUI events. Use the event callback (setEventCallback) to catch all events.
friend class GUIBaseObject [friend] |
friend class GUIController [friend] |
friend class GUIListGadget [friend] |
friend class GUIMenuItem [friend] |
friend class GUIScrollbarGadget [friend] |
friend class GUIStringGadget [friend] |
friend class GUITrackbarGadget [friend] |
friend class GUITreeGadget [friend] |
friend class GUIWebGadget [friend] |
friend class GUIWindow [friend] |