diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-04 19:27:16 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-04 19:27:16 +1000 |
commit | e3461e90531345650fe70ada38d875a68f87f416 (patch) | |
tree | 41b923b02ca8dbac1b075654052c972545aab16e /source/frontend/StarMainInterface.hpp | |
parent | ab72b03ad8679437ebf01ead65d9f0d3195e6bae (diff) |
Start of Interface callbacks, starting with a bindCanvas function for the whole screen
Diffstat (limited to 'source/frontend/StarMainInterface.hpp')
-rw-r--r-- | source/frontend/StarMainInterface.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<EntityId, PanePtr> m_interactionScriptPanes; + StringMap<CanvasWidgetPtr> m_canvases; + ChatPtr m_chat; ClientCommandProcessorPtr m_clientCommandProcessor; RadioMessagePopupPtr m_radioMessagePopup; |