Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarBaseScriptPane.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/frontend/StarBaseScriptPane.hpp')
-rw-r--r--source/frontend/StarBaseScriptPane.hpp4
1 files changed, 4 insertions, 0 deletions
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<String> cursorOverride(Vec2I const& screenPosition) override;
protected:
@@ -41,6 +43,8 @@ protected:
Map<CanvasWidgetPtr, String> m_canvasClickCallbacks;
Map<CanvasWidgetPtr, String> m_canvasKeyCallbacks;
+ bool m_interactive;
+
bool m_callbacksAdded;
LuaUpdatableComponent<LuaBaseComponent> m_script;
};