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

summaryrefslogtreecommitdiff
path: root/source/windowing/StarPane.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-07-04 22:36:27 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-07-04 22:36:27 +1000
commitc923f4f13b1cade968bb6fec585a242b62d35715 (patch)
tree94bc9f9098c007070d3644f077e6f544c4fd43a4 /source/windowing/StarPane.hpp
parent5df9adcd0ecbf09ae2ba426b3eeab78296d370c4 (diff)
pane lua stuff
Diffstat (limited to 'source/windowing/StarPane.hpp')
-rw-r--r--source/windowing/StarPane.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/windowing/StarPane.hpp b/source/windowing/StarPane.hpp
index ce78337..7a466b4 100644
--- a/source/windowing/StarPane.hpp
+++ b/source/windowing/StarPane.hpp
@@ -7,6 +7,9 @@
namespace Star {
STAR_CLASS(Pane);
+STAR_CLASS(LuaCallbacks);
+STAR_CLASS(AudioInstance);
+STAR_CLASS(GuiReader);
enum class PaneAnchor {
None,
@@ -89,7 +92,9 @@ public:
virtual PanePtr createTooltip(Vec2I const& screenPosition);
virtual Maybe<String> cursorOverride(Vec2I const& screenPosition);
+ virtual LuaCallbacks makePaneCallbacks();
protected:
+ virtual GuiReaderPtr reader();
virtual void renderImpl();
String m_bgHeader;
@@ -124,6 +129,8 @@ protected:
PaneAnchor m_anchor;
Vec2I m_anchorOffset;
bool m_hasDisplayed;
+
+ List<pair<String, AudioInstancePtr>> m_playingSounds;
};
}