TDME2
1.9.121
src
tdme
tools
editor
tabviews
FontTabView.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
#include <
tdme/tdme.h
>
6
#include <
tdme/engine/fwd-tdme.h
>
7
#include <
tdme/gui/nodes/fwd-tdme.h
>
8
#include <
tdme/tools/editor/misc/PopUps.h
>
9
#include <
tdme/tools/editor/tabcontrollers/fwd-tdme.h
>
10
#include <
tdme/tools/editor/tabcontrollers/FontTabController.h
>
11
#include <
tdme/tools/editor/tabcontrollers/TabController.h
>
12
#include <
tdme/tools/editor/tabviews/fwd-tdme.h
>
13
#include <
tdme/tools/editor/tabviews/TabView.h
>
14
#include <
tdme/tools/editor/views/fwd-tdme.h
>
15
16
using
std::string;
17
18
using
tdme::engine::Engine
;
19
using
tdme::engine::FrameBuffer
;
20
using
tdme::gui::nodes::GUIScreenNode
;
21
using
tdme::tools::editor::misc::PopUps
;
22
using
tdme::tools::editor::tabcontrollers::FontTabController
;
23
using
tdme::tools::editor::tabcontrollers::TabController
;
24
using
tdme::tools::editor::tabviews::TabView
;
25
using
tdme::tools::editor::views::EditorView
;
26
27
/**
28
* Font tab view
29
* @author Andreas Drewke
30
* @version $Id$
31
*/
32
class
tdme::tools::editor::tabviews::FontTabView
final
33
:
public
TabView
34
{
35
protected
:
36
Engine
*
engine
{
nullptr
};
37
38
private
:
39
EditorView
*
editorView
{
nullptr
};
40
string
tabId
;
41
PopUps
*
popUps
{
nullptr
};
42
FontTabController
*
fontTabController
{
nullptr
};
43
TabView::OutlinerState
outlinerState
;
44
45
public
:
46
/**
47
* Public constructor
48
* @param editorView editor view
49
* @param tabId tab id
50
* @param screenNode screenNode
51
*/
52
FontTabView
(
EditorView
*
editorView
,
const
string
&
tabId
,
GUIScreenNode
* screenNode);
53
54
/**
55
* Destructor
56
*/
57
~FontTabView
();
58
59
/**
60
* @return editor view
61
*/
62
inline
EditorView
*
getEditorView
() {
63
return
editorView
;
64
}
65
66
/**
67
* @return associated tab controller
68
*/
69
inline
TabController
*
getTabController
()
override
{
70
return
fontTabController
;
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
};
FontTabController.h
PopUps.h
TabController.h
TabView.h
tdme::engine::Engine
Engine main class.
Definition:
Engine.h:122
tdme::engine::FrameBuffer
Frame buffer class.
Definition:
FrameBuffer.h:21
tdme::gui::nodes::GUIScreenNode
GUI screen node that represents a screen that can be rendered via GUI system.
Definition:
GUIScreenNode.h:57
tdme::tools::editor::misc::PopUps
Pop ups controller accessor class.
Definition:
PopUps.h:19
tdme::tools::editor::tabcontrollers::FontTabController
Font tab controller.
Definition:
FontTabController.h:42
tdme::tools::editor::tabviews::FontTabView
Font tab view.
Definition:
FontTabView.h:34
tdme::tools::editor::tabviews::FontTabView::engine
Engine * engine
Definition:
FontTabView.h:36
tdme::tools::editor::tabviews::FontTabView::dispose
void dispose() override
Disposes the view.
Definition:
FontTabView.cpp:69
tdme::tools::editor::tabviews::FontTabView::hasFixedSize
bool hasFixedSize() override
If this viewport framebuffer has a fixed size.
Definition:
FontTabView.h:93
tdme::tools::editor::tabviews::FontTabView::display
void display() override
Renders the view.
Definition:
FontTabView.cpp:50
tdme::tools::editor::tabviews::FontTabView::reloadOutliner
void reloadOutliner() override
Reload outliner.
Definition:
FontTabView.cpp:92
tdme::tools::editor::tabviews::FontTabView::getTabController
TabController * getTabController() override
Definition:
FontTabView.h:69
tdme::tools::editor::tabviews::FontTabView::tabId
string tabId
Definition:
FontTabView.h:40
tdme::tools::editor::tabviews::FontTabView::initialize
void initialize() override
Initiates the view.
Definition:
FontTabView.cpp:56
tdme::tools::editor::tabviews::FontTabView::deactivate
void deactivate() override
Deactivate.
Definition:
FontTabView.cpp:88
tdme::tools::editor::tabviews::FontTabView::getEngine
Engine * getEngine() override
Definition:
FontTabView.cpp:77
tdme::tools::editor::tabviews::FontTabView::handleInputEvents
void handleInputEvents() override
Handle input events that have not yet been processed.
Definition:
FontTabView.cpp:45
tdme::tools::editor::tabviews::FontTabView::outlinerState
TabView::OutlinerState outlinerState
Definition:
FontTabView.h:43
tdme::tools::editor::tabviews::FontTabView::getPopUps
PopUps * getPopUps()
Definition:
FontTabView.h:76
tdme::tools::editor::tabviews::FontTabView::activate
void activate() override
Activate.
Definition:
FontTabView.cpp:81
tdme::tools::editor::tabviews::FontTabView::fontTabController
FontTabController * fontTabController
Definition:
FontTabView.h:42
tdme::tools::editor::tabviews::FontTabView::getTabId
const string & getTabId() override
Definition:
FontTabView.h:83
tdme::tools::editor::tabviews::FontTabView::popUps
PopUps * popUps
Definition:
FontTabView.h:41
tdme::tools::editor::tabviews::FontTabView::updateRendering
void updateRendering() override
Update rendering.
Definition:
FontTabView.cpp:74
tdme::tools::editor::tabviews::FontTabView::~FontTabView
~FontTabView()
Destructor.
Definition:
FontTabView.cpp:40
tdme::tools::editor::tabviews::FontTabView::editorView
EditorView * editorView
Definition:
FontTabView.h:39
tdme::tools::editor::tabviews::FontTabView::getEditorView
EditorView * getEditorView()
Definition:
FontTabView.h:62
tdme::tools::editor::tabviews::FontTabView::FontTabView
FontTabView(EditorView *editorView, const string &tabId, GUIScreenNode *screenNode)
Public constructor.
Definition:
FontTabView.cpp:29
tdme::tools::editor::views::EditorView
Editor View.
Definition:
EditorView.h:30
fwd-tdme.h
fwd-tdme.h
tdme::tools::editor::tabcontrollers::TabController
Tab controller, which connects UI with logic.
Definition:
TabController.h:23
tdme::tools::editor::tabviews::TabView::OutlinerState
Definition:
TabView.h:29
tdme::tools::editor::tabviews::TabView
Tab view interface.
Definition:
TabView.h:28
tdme.h
fwd-tdme.h
fwd-tdme.h
fwd-tdme.h
Generated by
1.9.3