summaryrefslogtreecommitdiffhomepage
path: root/main/events.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-24 00:32:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-24 00:32:37 +0200
commita638d66ab02c544590b007ca288137b80a5c1239 (patch)
treedeb1350138ac17565194ad559bb6219cf38c5a8b /main/events.cpp
parentf5e4bbb151282861e3bd5ca7755c9d1a97534e3a (diff)
a
Diffstat (limited to 'main/events.cpp')
-rw-r--r--main/events.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/events.cpp b/main/events.cpp
index 242e890e..8ab3d997 100644
--- a/main/events.cpp
+++ b/main/events.cpp
@@ -30,7 +30,6 @@ void main_impl::mouseReleaseEvent(Platform::Sdl2Application::MouseEvent& event)
return event.setAccepted();
do_mouse_release((int)event.button());
}
-#endif
void main_impl::mouseMoveEvent(Platform::Sdl2Application::MouseMoveEvent& event)
{
@@ -44,7 +43,6 @@ void main_impl::mouseMoveEvent(Platform::Sdl2Application::MouseMoveEvent& event)
do_mouse_move(*_cursor_tile);
}
-#if 0
void main_impl::mouseScrollEvent(Platform::Sdl2Application::MouseScrollEvent& event)
{
if (_imgui.handleMouseScrollEvent(event))
@@ -97,7 +95,6 @@ void main_impl::anyEvent(SDL_Event& event)
std::fputs("", stdout); break; // put breakpoint here
}
}
-#endif
void main_impl::event_focus_out() // TODO move to app
{
@@ -110,5 +107,6 @@ void main_impl::event_mouse_leave() // TODO move to app
_cursor_pixel = std::nullopt;
recalc_cursor_tile();
}
+#endif
} // namespace floormat