25 #ifndef __I6ENGINE_MODULES_GUISTATUSLIST_H__
26 #define __I6ENGINE_MODULES_GUISTATUSLIST_H__
45 GUIStatusList(
const std::string & name,
const std::string & type);
85 void addMessage(
const std::string & message);
90 void setLifetime(
const int64_t lifetime);
97 bool selectionChanged(
const CEGUI::EventArgs & evt);
101 CEGUI::Listbox * _listbox;
103 std::function<void(std::string)> _selectedCallback;
Used to partially unwrap GUI messages.
GUIStatusList(const std::string &name, const std::string &type)
Creates a print with given values.
void tick() override
Getter for the amount of ticks needed to be deleted.
void update(uint16_t type, api::gui::GUIUpdateMessageStruct *data) override
Message handler.
~GUIStatusList()
destructor