diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-12-25 00:29:43 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-12-25 00:29:43 +0100 |
commit | 8b7af89b78cacf2e171e2b73fc508704ea79c316 (patch) | |
tree | ed0914b105530c682991eee6edeb4d50d1536e09 /main/main-impl.cpp | |
parent | 56b5489bdea839eb24165a86e937a29b9a42a39f (diff) |
main, editor: set cursor from imgui
Diffstat (limited to 'main/main-impl.cpp')
-rw-r--r-- | main/main-impl.cpp | 2 |
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() { |