summaryrefslogtreecommitdiffhomepage
path: root/main/main-impl.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-12-25 00:29:43 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-12-25 00:29:43 +0100
commit8b7af89b78cacf2e171e2b73fc508704ea79c316 (patch)
treeed0914b105530c682991eee6edeb4d50d1536e09 /main/main-impl.cpp
parent56b5489bdea839eb24165a86e937a29b9a42a39f (diff)
main, editor: set cursor from imgui
Diffstat (limited to 'main/main-impl.cpp')
-rw-r--r--main/main-impl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main-impl.cpp b/main/main-impl.cpp
index 01aea1ca..ae3f8cfc 100644
--- a/main/main-impl.cpp
+++ b/main/main-impl.cpp
@@ -21,6 +21,8 @@ const tile_shader& main_impl::shader() const noexcept { return _shader; }
bool main_impl::is_text_input_active() const noexcept { return const_cast<main_impl&>(*this).isTextInputActive(); }
void main_impl::start_text_input() noexcept { startTextInput(); }
void main_impl::stop_text_input() noexcept { stopTextInput(); }
+Platform::Sdl2Application& main_impl::application() noexcept { return *this; }
+const Platform::Sdl2Application& main_impl::application() const noexcept { return *this; }
int main_impl::exec()
{