FIFE  be64c707dea6b3250bd4355bf5c825d25920087d
FIFE::IGUIManager Class Referenceabstract

#include <guimanager.h>

+ Inheritance diagram for FIFE::IGUIManager:
+ Collaboration diagram for FIFE::IGUIManager:

Public Member Functions

virtual ~IGUIManager ()
 Destructor. More...
 
virtual void turn ()=0
 Performs the GUI logic and draws the GUI accordingly. More...
 
virtual void resizeTopContainer (uint32_t x, uint32_t y, uint32_t width, uint32_t height)=0
 Resizes the top container. More...
 
- Public Member Functions inherited from FIFE::ISdlEventListener
virtual bool onSdlEvent (SDL_Event &evt)=0
 Called when an SDL event is received from SDL. More...
 
virtual ~ISdlEventListener ()
 
- Public Member Functions inherited from FIFE::IListener
virtual bool isActive ()
 Indicates if the listener is active. More...
 
virtual void setActive (bool active)
 Changes the listener status. More...
 
virtual ~IListener ()
 

Additional Inherited Members

- Protected Member Functions inherited from FIFE::IListener
 IListener ()
 

Detailed Description

Definition at line 41 of file guimanager.h.

Constructor & Destructor Documentation

◆ ~IGUIManager()

virtual FIFE::IGUIManager::~IGUIManager ( )
inlinevirtual

Destructor.

Definition at line 46 of file guimanager.h.

References resizeTopContainer(), and turn().

Member Function Documentation

◆ resizeTopContainer()

virtual void FIFE::IGUIManager::resizeTopContainer ( uint32_t  x,
uint32_t  y,
uint32_t  width,
uint32_t  height 
)
pure virtual

Resizes the top container.

Parameters
xThe new starting X coordinate.
yThe new starting Y coordinate.
widthThe new width.
heightThe new height.

Implemented in FIFE::FifechanManager, FIFE::LibRocketManager, FIFE::HybridGuiManager, and FIFE::CEGuiManager.

Referenced by FIFE::Engine::changeScreenMode(), and ~IGUIManager().

+ Here is the caller graph for this function:

◆ turn()

virtual void FIFE::IGUIManager::turn ( )
pure virtual

Performs the GUI logic and draws the GUI accordingly.

This will be called each frame.

Implemented in FIFE::FifechanManager, FIFE::LibRocketManager, FIFE::HybridGuiManager, and FIFE::CEGuiManager.

Referenced by FIFE::Engine::pump(), and ~IGUIManager().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: