i6engine  1.0
i6e::api::gui::GUI_SetEnterTextCallback Struct Reference

callback being called when text is changed in Editbox More...

#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/api/configs/GUIConfig.h>

Public Member Functions

 GUI_SetEnterTextCallback (const std::string &name, const std::function< void(std::string)> &c)
 
GUI_SetEnterTextCallbackcopy ()
 Copy method returning an exact copy of itself. More...
 
- Public Member Functions inherited from i6e::api::gui::GUIUpdateMessageStruct
 GUIUpdateMessageStruct ()
 
 GUIUpdateMessageStruct (const std::string &name)
 
 ~GUIUpdateMessageStruct ()
 
- Public Member Functions inherited from i6e::core::MessageStruct
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
 MessageStruct ()
 Default constructor for MessageStruct. More...
 
 MessageStruct (const MessageStruct &other)
 Copy constructor for MessageStruct. More...
 
 MessageStruct (const int64_t id, const IPKey &send, const int64_t waitID)
 Constructor for MessageStruct. More...
 
 MessageStruct (int64_t id, int64_t waitID)
 
virtual ~MessageStruct ()
 Virtual destructor. More...
 
int64_t getID () const
 returns the id More...
 
int64_t getWaitID () const
 returns the waitForId More...
 

Public Attributes

std::function< void(std::string)> callback
 
- Public Attributes inherited from i6e::api::gui::GUIUpdateMessageStruct
std::string _name
 
- Public Attributes inherited from i6e::core::MessageStruct
int64_t _id
 
IPKey _sender
 
int64_t _waitForId
 

Detailed Description

callback being called when text is changed in Editbox

Definition at line 472 of file GUIConfig.h.

Constructor & Destructor Documentation

i6e::api::gui::GUI_SetEnterTextCallback::GUI_SetEnterTextCallback ( const std::string &  name,
const std::function< void(std::string)> &  c 
)
inline

Definition at line 474 of file GUIConfig.h.

Member Function Documentation

GUI_SetEnterTextCallback* i6e::api::gui::GUI_SetEnterTextCallback::copy ( )
inlinevirtual

Copy method returning an exact copy of itself.

Returns
Copy of itself.

Reimplemented from i6e::api::gui::GUIUpdateMessageStruct.

Definition at line 476 of file GUIConfig.h.

Member Data Documentation

std::function<void(std::string)> i6e::api::gui::GUI_SetEnterTextCallback::callback

Definition at line 473 of file GUIConfig.h.


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