diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-30 00:41:38 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-30 00:41:38 +1000 |
commit | ffd1507f725582bd51fe3064263b14ecd7db5edf (patch) | |
tree | 23856a19c61f8da76f53753a1a81ffcba4f804e3 /source/frontend/StarBaseScriptPane.hpp | |
parent | 057f3727deb83a768a45ad3b91282166683e039d (diff) |
ScriptPanes can specify paneLayer and interactive
Diffstat (limited to 'source/frontend/StarBaseScriptPane.hpp')
-rw-r--r-- | source/frontend/StarBaseScriptPane.hpp | 4 |
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; }; |