i6engine
1.0
|
#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/modules/gui/guiwidgets/GUIImage.h>
Public Member Functions | |
GUIImage (const std::string &name, const std::string &type) | |
Constructor for a new GUI Image. More... | |
~GUIImage () | |
destructor More... | |
void | update (uint16_t type, api::gui::GUIUpdateMessageStruct *message) override |
Method called by incoming messages. More... | |
Public Member Functions inherited from i6e::api::GUIWidget | |
GUIWidget (const std::string &name) | |
virtual | ~GUIWidget () |
virtual void | tick () |
This method is called every Tick, if ticking is enabled for this widget. More... | |
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 |
Definition at line 33 of file GUIImage.h.
i6e::modules::GUIImage::GUIImage | ( | const std::string & | name, |
const std::string & | type | ||
) |
Constructor for a new GUI Image.
name | Name of the new Object. |
type | Type of the new Object. |
|
inline |
destructor
Definition at line 45 of file GUIImage.h.
|
overridevirtual |
Method called by incoming messages.
type | Who should receive the Message. |
message | Message struct. |
Reimplemented from i6e::api::GUIWidget.