diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-26 22:06:40 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-26 22:06:40 +0200 |
commit | cc1d2b9a76bcbe4be3f42723a91a867ead5aa19c (patch) | |
tree | 572017a3fd8f7719b0085ba961260c31e40a39df | |
parent | bad83b7e5ed3a2e8bd5f263b2f420386471c523e (diff) |
krap
-rw-r--r-- | editor/events.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/events.cpp b/editor/events.cpp index 58330433..4afc212f 100644 --- a/editor/events.cpp +++ b/editor/events.cpp @@ -13,7 +13,7 @@ namespace floormat { void app::on_focus_in() noexcept {} void app::on_mouse_enter() noexcept {} -void app::on_any_event(const floormat::any_event& event) noexcept {} +void app::on_any_event(const any_event& event) noexcept {} #define accessor(type, name) \ type m_##name = {}; auto name() const noexcept { return m_##name; } @@ -62,7 +62,7 @@ void app::on_mouse_scroll(const mouse_scroll_event& event) noexcept _imgui.handleMouseScrollEvent(e); } -void app::on_key_up_down(const floormat::key_event& event, bool is_down) noexcept +void app::on_key_up_down(const key_event& event, bool is_down) noexcept { using KeyEvent = Platform::Sdl2Application::KeyEvent; struct Ev final { @@ -101,7 +101,7 @@ void app::on_key_up_down(const floormat::key_event& event, bool is_down) noexcep } } -void app::on_text_input_event(const floormat::text_input_event& event) noexcept +void app::on_text_input_event(const text_input_event& event) noexcept { struct { accessor(Containers::StringView, text) |