TDME2
1.9.200
src
tdme
tools
editor
tabviews
subviews
BasePropertiesSubView.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/prototype/fwd-tdme.h
>
7
#include <
tdme/tools/editor/tabcontrollers/subcontrollers/fwd-tdme.h
>
8
#include <
tdme/tools/editor/tabviews/subviews/fwd-tdme.h
>
9
10
using
std::string;
11
12
using
tdme::engine::prototype::Prototype
;
13
using
tdme::tools::editor::tabcontrollers::subcontrollers::BasePropertiesSubController
;
14
15
/**
16
* Model base view
17
* @author Andreas Drewke
18
*/
19
class
tdme::tools::editor::tabviews::subviews::BasePropertiesSubView
final
20
{
21
private
:
22
BasePropertiesSubController
*
prototypeBaseSubController
{
nullptr
};
23
24
public
:
25
/**
26
* Public constructor
27
* @param prototypeBaseSubController model base sub screen controller
28
*/
29
BasePropertiesSubView
(
BasePropertiesSubController
*
prototypeBaseSubController
);
30
31
/**
32
* Update current model data
33
* @param prototype prototype
34
* @param name name
35
* @param description description
36
*/
37
void
setPrototypeData
(
Prototype
* prototype,
const
string
& name,
const
string
& description);
38
39
};
tdme::engine::prototype::Prototype
Prototype definition.
Definition:
Prototype.h:55
tdme::tools::editor::tabcontrollers::subcontrollers::BasePropertiesSubController
Prototype base sub screen controller.
Definition:
BasePropertiesSubController.h:43
tdme::tools::editor::tabviews::subviews::BasePropertiesSubView
Model base view.
Definition:
BasePropertiesSubView.h:20
tdme::tools::editor::tabviews::subviews::BasePropertiesSubView::setPrototypeData
void setPrototypeData(Prototype *prototype, const string &name, const string &description)
Update current model data.
Definition:
BasePropertiesSubView.cpp:24
tdme::tools::editor::tabviews::subviews::BasePropertiesSubView::BasePropertiesSubView
BasePropertiesSubView(BasePropertiesSubController *prototypeBaseSubController)
Public constructor.
Definition:
BasePropertiesSubView.cpp:19
tdme::tools::editor::tabviews::subviews::BasePropertiesSubView::prototypeBaseSubController
BasePropertiesSubController * prototypeBaseSubController
Definition:
BasePropertiesSubView.h:22
fwd-tdme.h
tdme.h
fwd-tdme.h
fwd-tdme.h
Generated by
1.9.1