i6engine  1.0
i6e::modules::GUIStatusList Class Reference

#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/modules/gui/guiwidgets/GUIStatusList.h>

Public Member Functions

 GUIStatusList (const std::string &name, const std::string &type)
 Creates a print with given values. More...
 
 ~GUIStatusList ()
 destructor More...
 
void update (uint16_t type, api::gui::GUIUpdateMessageStruct *data) override
 Message handler. More...
 
void tick () override
 Getter for the amount of ticks needed to be deleted. More...
 
- Public Member Functions inherited from i6e::api::GUIWidget
 GUIWidget (const std::string &name)
 
virtual ~GUIWidget ()
 
void loadWindowLayout (const std::string &name, const std::string &filename)
 loads a Layout from a .layout file and stores it in _window More...
 
void enableTicking (bool enabled)
 Registers this widget to be ticked. More...
 
void subscribeClickEvent (const boost::function< void(void)> &callback)
 Subscribes to a window event. This function can be used to handle event-subscription-messages. More...
 
bool canDrop () const
 returns whether the widget accepts drops or not More...
 
std::vector< GUIWidget * > getAllMouseoverWidgets () const
 returns a vector containing all windows the mousecursor is currently over More...
 
void setMouseOverCallback (const std::function< std::vector< GUIWidget * >(void)> &func)
 sets mouse over callback More...
 
void setPosition (double x, double y)
 sets position of this widget More...
 
void setSize (double w, double h)
 sets size of this widget More...
 
bool isHit () const
 
bool renderingEndedHandler (const CEGUI::EventArgs &args)
 handler to copy rendered data to a memory buffer More...
 

Additional Inherited Members

- Public Attributes inherited from i6e::api::GUIWidget
std::string _name
 
CEGUI::Window * _window
 
GUIWidget_parent
 
std::vector< GUIWidget * > _childs
 

Detailed Description

Definition at line 37 of file GUIStatusList.h.

Constructor & Destructor Documentation

i6e::modules::GUIStatusList::GUIStatusList ( const std::string &  name,
const std::string &  type 
)

Creates a print with given values.

Parameters
nameName of the window
typeType of the window
i6e::modules::GUIStatusList::~GUIStatusList ( )

destructor

Member Function Documentation

void i6e::modules::GUIStatusList::tick ( )
overridevirtual

Getter for the amount of ticks needed to be deleted.

Decreases ticks (neccessary for auto-hiding)

Returns
nothing

Reimplemented from i6e::api::GUIWidget.

void i6e::modules::GUIStatusList::update ( uint16_t  type,
api::gui::GUIUpdateMessageStruct data 
)
overridevirtual

Message handler.

Reimplemented from i6e::api::GUIWidget.


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