diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-07 20:05:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-07 20:05:56 +0300 |
commit | 327312c8f5a4fb89b0d38ae179c76e9885bfb698 (patch) | |
tree | 0e9f1eb4fa3ccdcf20f30b2bfbcd678ed402371f /src/eventsmanager.h | |
parent | c89329623cbe5a2c3d5baf25fc58808f13af6069 (diff) | |
download | manaverse-327312c8f5a4fb89b0d38ae179c76e9885bfb698.tar.gz manaverse-327312c8f5a4fb89b0d38ae179c76e9885bfb698.tar.bz2 manaverse-327312c8f5a4fb89b0d38ae179c76e9885bfb698.tar.xz manaverse-327312c8f5a4fb89b0d38ae179c76e9885bfb698.zip |
move window events handling into eventsmanager.
Diffstat (limited to 'src/eventsmanager.h')
-rw-r--r-- | src/eventsmanager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/eventsmanager.h b/src/eventsmanager.h index fc977d3be..690745ad6 100644 --- a/src/eventsmanager.h +++ b/src/eventsmanager.h @@ -45,6 +45,12 @@ class EventsManager final : public ConfigListener void handleGameEvents(); +#ifdef USE_SDL2 + void handleSDL2WindowEvent(const SDL_Event &event); +#else + void handleActive(const SDL_Event &event); +#endif + void optionChanged(const std::string &name); void logEvent(const SDL_Event &event); |