From ffd1507f725582bd51fe3064263b14ecd7db5edf Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sun, 30 Jul 2023 00:41:38 +1000 Subject: ScriptPanes can specify paneLayer and interactive --- source/frontend/StarBaseScriptPane.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/frontend/StarBaseScriptPane.hpp') diff --git a/source/frontend/StarBaseScriptPane.hpp b/source/frontend/StarBaseScriptPane.hpp index df2d4c5..37070f1 100644 --- a/source/frontend/StarBaseScriptPane.hpp +++ b/source/frontend/StarBaseScriptPane.hpp @@ -29,6 +29,8 @@ public: Json const& config() const; Json const& rawConfig() const; + bool interactive() const override; + PanePtr createTooltip(Vec2I const& screenPosition) override; Maybe cursorOverride(Vec2I const& screenPosition) override; protected: @@ -41,6 +43,8 @@ protected: Map m_canvasClickCallbacks; Map m_canvasKeyCallbacks; + bool m_interactive; + bool m_callbacksAdded; LuaUpdatableComponent m_script; }; -- cgit v1.2.3