summaryrefslogtreecommitdiffhomepage
path: root/main/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/events.cpp')
-rw-r--r--main/events.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/events.cpp b/main/events.cpp
index 989406ba..242e890e 100644
--- a/main/events.cpp
+++ b/main/events.cpp
@@ -6,6 +6,7 @@
namespace floormat {
+#if 0
void main_impl::viewportEvent(Platform::Sdl2Application::ViewportEvent& event)
{
fm_assert(event.framebufferSize() == event.windowSize());
@@ -29,6 +30,7 @@ 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)
{
@@ -42,6 +44,7 @@ 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))
@@ -94,6 +97,7 @@ 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
{