TDME2
1.9.121
src
tdme
tools
editor
controllers
ScreenController.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
tdme/tdme.h
>
4
#include <
tdme/gui/nodes/fwd-tdme.h
>
5
#include <
tdme/tools/editor/controllers/fwd-tdme.h
>
6
7
using
tdme::gui::nodes::GUIScreenNode
;
8
9
/**
10
* Screen controller, which connects GUI screen definition with code
11
* @author Andreas Drewke
12
* @version $Id$
13
*/
14
struct
tdme::tools::editor::controllers::ScreenController
15
{
16
/**
17
* Destructor
18
*/
19
virtual
~ScreenController
() {}
20
21
/**
22
* @return screen node
23
*/
24
virtual
GUIScreenNode
*
getScreenNode
() = 0;
25
26
/**
27
* Init
28
*/
29
virtual
void
initialize
() = 0;
30
31
/**
32
* Dispose
33
*/
34
virtual
void
dispose
() = 0;
35
36
};
tdme::gui::nodes::GUIScreenNode
GUI screen node that represents a screen that can be rendered via GUI system.
Definition:
GUIScreenNode.h:57
fwd-tdme.h
tdme::tools::editor::controllers::ScreenController
Screen controller, which connects GUI screen definition with code.
Definition:
ScreenController.h:15
tdme::tools::editor::controllers::ScreenController::~ScreenController
virtual ~ScreenController()
Destructor.
Definition:
ScreenController.h:19
tdme::tools::editor::controllers::ScreenController::initialize
virtual void initialize()=0
Init.
tdme::tools::editor::controllers::ScreenController::getScreenNode
virtual GUIScreenNode * getScreenNode()=0
tdme::tools::editor::controllers::ScreenController::dispose
virtual void dispose()=0
Dispose.
tdme.h
fwd-tdme.h
Generated by
1.9.3