1 #ifndef RADIX_INPUT_SOURCE_HPP
2 #define RADIX_INPUT_SOURCE_HPP
14 class EventDispatcher;
18 std::vector<std::reference_wrapper<EventDispatcher>>
dispatchers;
41 : source(source), key(key), mod(mod) {}
57 : source(source), key(key), mod(mod) {}
90 : source(source), button(button) {}
105 : source(source), button(button) {}
124 : source(source), x(x), y(y) {}
143 : source(source), windowID(windowID) {}
158 : source(source), windowID(windowID) {}
173 : source(source), windowID(windowID) {}
190 : source(source), windowID(windowID), to(to), from(from) {}
207 : source(source), windowID(windowID), x(x), y(y) {}
222 : source(source), windowID(windowID) {}
238 : source(source), windowID(windowID) {}
253 : source(source), windowID(windowID) {}
268 : source(source), windowID(windowID) {}
283 : source(source), windowID(windowID) {}
298 : source(source), windowID(windowID) {}
313 : source(source), windowID(windowID) {}
328 : source(source), windowID(windowID) {}
343 : source(source), windowID(windowID) {}
347 dispatchers.push_back(d);
356 virtual void addToBuffer(
const std::string &character) = 0;
359 virtual void clear() = 0;
Definition: GameController.hpp:7
Definition: EventDispatcher.hpp:13
const uint32_t StaticEventType
Definition: Event.hpp:10
std::string EventTypeName
Definition: Event.hpp:13
static constexpr EventType TypeNameHash(StaticEventTypeName etn)
Definition: Event.hpp:16
uint32_t EventType
Definition: Event.hpp:11
const char *const StaticEventTypeName
Definition: Event.hpp:12