galaxy
1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
KeyInput.hpp
Go to the documentation of this file.
1
7
8
#ifndef GALAXY_EVENTS_KEYINPUT_HPP_
9
#define GALAXY_EVENTS_KEYINPUT_HPP_
10
11
#include <string>
12
13
#include "
galaxy/events/Event.hpp
"
14
15
namespace
galaxy
16
{
20
struct
KeyInput
final :
public
Event
21
{
27
KeyInput
(std::string&& text)
noexcept
;
28
32
std::string
m_text
;
33
};
34
}
// namespace galaxy
35
36
#endif
Event.hpp
galaxy::Event
Base type of all events.
Definition
Event.hpp:17
galaxy
Application.hpp galaxy.
Definition
Application.cpp:40
galaxy::KeyInput
Unicode text data from a textinput event.
Definition
KeyInput.hpp:21
galaxy::KeyInput::KeyInput
KeyInput(std::string &&text) noexcept
Constructor.
Definition
KeyInput.cpp:12
galaxy::KeyInput::m_text
std::string m_text
Text.
Definition
KeyInput.hpp:32
galaxy
src
galaxy
events
KeyInput.hpp
Generated on Sun Feb 1 2026 05:57:14 for galaxy by
1.12.0