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

callback being called when entered text in editbox is submitted More...

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

Public Member Functions

 GUI_SetAcceptTextCallback (const std::string &name, const std::function< std::string(std::string)> &c)
GUI_SetAcceptTextCallbackcopy ()
 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< std::string(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 entered text in editbox is submitted

Definition at line 559 of file GUIConfig.h.

Constructor & Destructor Documentation

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

Definition at line 561 of file GUIConfig.h.

Member Function Documentation

GUI_SetAcceptTextCallback* i6e::api::gui::GUI_SetAcceptTextCallback::copy ( )

Copy method returning an exact copy of itself.

Copy of itself.

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

Definition at line 563 of file GUIConfig.h.

Member Data Documentation

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

Definition at line 560 of file GUIConfig.h.

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