summaryrefslogtreecommitdiffhomepage
path: root/floormat
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 /floormat
parent56b5489bdea839eb24165a86e937a29b9a42a39f (diff)
main, editor: set cursor from imgui
Diffstat (limited to 'floormat')
-rw-r--r--floormat/main.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/floormat/main.hpp b/floormat/main.hpp
index 84f25eda..8b5648a2 100644
--- a/floormat/main.hpp
+++ b/floormat/main.hpp
@@ -6,6 +6,7 @@
struct SDL_Window;
namespace Corrade::Containers { template<typename T> class ArrayView; }
+namespace Magnum::Platform { class Sdl2Application; }
namespace floormat {
@@ -35,6 +36,9 @@ struct floormat_main
fm_DECLARE_DELETED_COPY_ASSIGNMENT(floormat_main);
fm_DECLARE_DEPRECATED_MOVE_ASSIGNMENT(floormat_main);
+ virtual Platform::Sdl2Application& application() noexcept = 0;
+ virtual const Platform::Sdl2Application& application() const noexcept = 0;
+
virtual int exec() = 0;
virtual void quit(int status) = 0;