From 8b7af89b78cacf2e171e2b73fc508704ea79c316 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 25 Dec 2022 00:29:43 +0100 Subject: main, editor: set cursor from imgui --- floormat/main.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'floormat') 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 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; -- cgit v1.2.3