Public Member Functions | Friends

sp::gui::GUIManager Class Reference
[Built in GUI]

#include <spGUIManager.hpp>

List of all members.

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.
GUIWindowaddWindow (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::TexturegetInterfaceTexture () 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

Detailed Description

Main class for managing the whole GUI.


Constructor & Destructor Documentation

sp::gui::GUIManager::GUIManager (  ) 
sp::gui::GUIManager::~GUIManager (  ) 

Member Function Documentation

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.


Friends And Related Function Documentation

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]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines