![]() |
galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
|
Unicode text data from a textinput event. More...
#include <KeyInput.hpp>
Inheritance diagram for galaxy::KeyInput:
Collaboration diagram for galaxy::KeyInput:Public Member Functions | |
| KeyInput (std::string &&text) noexcept | |
| Constructor. | |
Public Member Functions inherited from galaxy::Event | |
| Event () noexcept | |
| Constructor. | |
| Event (Event &&) noexcept | |
| Move constructor. | |
| Event & | operator= (Event &&) noexcept |
| Move assignment operator. | |
| Event (const Event &) noexcept | |
| Copy constructor. | |
| Event & | operator= (const Event &) noexcept |
| Copy assignment operator. | |
| virtual | ~Event () noexcept |
| Destructor. | |
| void | consume () noexcept |
| Mark this event as consumed. | |
| bool | consumed () const noexcept |
| Is this event already consumed? | |
Public Attributes | |
| std::string | m_text |
| Text. | |
Additional Inherited Members | |
Protected Attributes inherited from galaxy::Event | |
| bool | m_handled |
| Keeps track if event has been used already. | |
Unicode text data from a textinput event.
Definition at line 20 of file KeyInput.hpp.
|
noexcept |
| std::string galaxy::KeyInput::m_text |
Text.
Definition at line 32 of file KeyInput.hpp.