From e3461e90531345650fe70ada38d875a68f87f416 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Tue, 4 Jul 2023 19:27:16 +1000 Subject: Start of Interface callbacks, starting with a bindCanvas function for the whole screen --- source/frontend/StarMainInterface.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/frontend/StarMainInterface.hpp') diff --git a/source/frontend/StarMainInterface.hpp b/source/frontend/StarMainInterface.hpp index 403b250..3e05b9b 100644 --- a/source/frontend/StarMainInterface.hpp +++ b/source/frontend/StarMainInterface.hpp @@ -42,6 +42,7 @@ STAR_CLASS(QuestTrackerPane); STAR_CLASS(ContainerInteractor); STAR_CLASS(ScriptPane); STAR_CLASS(ChatBubbleManager); +STAR_CLASS(CanvasWidget); STAR_STRUCT(GuiMessage); STAR_CLASS(MainInterface); @@ -114,6 +115,8 @@ public: void warpToOwnShip(); void warpTo(WarpAction const& warpAction); + CanvasWidgetPtr fetchCanvas(String const& canvasName); + private: PanePtr createEscapeDialog(); @@ -167,6 +170,8 @@ private: ScriptPanePtr m_collections; Map m_interactionScriptPanes; + StringMap m_canvases; + ChatPtr m_chat; ClientCommandProcessorPtr m_clientCommandProcessor; RadioMessagePopupPtr m_radioMessagePopup; -- cgit v1.2.3