diff options
Diffstat (limited to 'main/events.cpp')
-rw-r--r-- | main/events.cpp | 4 |
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 |