summaryrefslogtreecommitdiffhomepage
path: root/main/main-impl.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-10-28 03:07:00 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-10-28 15:10:45 +0100
commit936fc578a825a04a58fce5d6bea518b1b02694f1 (patch)
tree72e76fc2c157bdbafb8b4264f7f786701861c632 /main/main-impl.hpp
parent1bfc0344dd517f33ac1a2f5c1d18c568381a80db (diff)
wip to rebase
Diffstat (limited to 'main/main-impl.hpp')
-rw-r--r--main/main-impl.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/main/main-impl.hpp b/main/main-impl.hpp
index 3fb8bac5..17aecc72 100644
--- a/main/main-impl.hpp
+++ b/main/main-impl.hpp
@@ -9,6 +9,7 @@
#include "shaders/texture-unit-cache.hpp"
#include "shaders/shader.hpp"
#include "shaders/lightmap.hpp"
+#include "main/sdl-fwd.hpp"
#include "main/clickable.hpp"
#include <Corrade/Containers/Array.h>
#include <Corrade/Containers/String.h>
@@ -76,10 +77,10 @@ struct main_impl final : private Platform::Sdl2Application, public floormat_main
const Platform::Sdl2Application& application() const noexcept override;
[[maybe_unused]] void viewportEvent(ViewportEvent& event) override;
- [[maybe_unused]] void mousePressEvent(MouseEvent& event) override;
- [[maybe_unused]] void mouseReleaseEvent(MouseEvent& event) override;
- [[maybe_unused]] void mouseMoveEvent(MouseMoveEvent& event) override;
- [[maybe_unused]] void mouseScrollEvent(MouseScrollEvent& event) override;
+ [[maybe_unused]] void pointerPressEvent(PointerEvent& ev) override;
+ [[maybe_unused]] void pointerReleaseEvent(PointerEvent& ev) override;
+ [[maybe_unused]] void pointerMoveEvent(PointerMoveEvent& ev) override;
+ [[maybe_unused]] void scrollEvent(ScrollEvent& ev) override;
[[maybe_unused]] void textInputEvent(TextInputEvent& event) override;
//[[maybe_unused]] void textEditingEvent(TextEditingEvent& event) override;
[[maybe_unused]] void keyPressEvent(KeyEvent& event) override;