25 #ifndef __I6ENGINE_MODULES_GUIEDITBOX_H__
26 #define __I6ENGINE_MODULES_GUIEDITBOX_H__
40 GUIEditbox(
const std::string & name,
const std::string & type);
55 std::function<void(std::string)> _enterCallback;
56 std::function<std::string(std::string)> _submitCallback;
58 bool textChanged(
const CEGUI::EventArgs & evt);
59 bool textAccepted(
const CEGUI::EventArgs & evt);
void update(uint16_t type, api::gui::GUIUpdateMessageStruct *message) override
Method called by incoming messages.
Used to partially unwrap GUI messages.
GUIEditbox(const std::string &name, const std::string &type)
Constructor for a new GUI Image.