TDME2 1.9.121
TextureTabView.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5#include <tdme/tdme.h>
15
16using std::string;
17
26
27/**
28 * Texture tab view
29 * @author Andreas Drewke
30 * @version $Id$
31 */
33 : public TabView
34{
35protected:
36 Engine* engine { nullptr };
37
38private:
39 EditorView* editorView { nullptr };
40 string tabId;
41 PopUps* popUps { nullptr };
44
45public:
46 /**
47 * Public constructor
48 * @param editorView editor view
49 * @param tabId tab id
50 * @param screenNode screenNode
51 */
52 TextureTabView(EditorView* editorView, const string& tabId, GUIScreenNode* screenNode);
53
54 /**
55 * Destructor
56 */
58
59 /**
60 * @return editor view
61 */
63 return editorView;
64 }
65
66 /**
67 * @return associated tab controller
68 */
69 inline TabController* getTabController() override {
71 }
72
73 /**
74 * @return pop up views
75 */
76 inline PopUps* getPopUps() {
77 return popUps;
78 }
79
80 // overridden methods
81 void handleInputEvents() override;
82 void display() override;
83 inline const string& getTabId() override {
84 return tabId;
85 }
86 void initialize() override;
87 void dispose() override;
88 Engine* getEngine() override;
89 void activate() override;
90 void deactivate() override;
91 void reloadOutliner() override;
92 void updateRendering() override;
93 inline bool hasFixedSize() override{ return false; };
94
95};
Engine main class.
Definition: Engine.h:122
Frame buffer class.
Definition: FrameBuffer.h:21
GUI screen node that represents a screen that can be rendered via GUI system.
Definition: GUIScreenNode.h:57
Pop ups controller accessor class.
Definition: PopUps.h:19
void dispose() override
Disposes the view.
TextureTabView(EditorView *editorView, const string &tabId, GUIScreenNode *screenNode)
Public constructor.
bool hasFixedSize() override
If this viewport framebuffer has a fixed size.
void display() override
Renders the view.
void reloadOutliner() override
Reload outliner.
TabController * getTabController() override
void initialize() override
Initiates the view.
void handleInputEvents() override
Handle input events that have not yet been processed.
void updateRendering() override
Update rendering.
Tab controller, which connects UI with logic.
Definition: TabController.h:23