TDME2
1.9.200
src
tdme
tools
editor
tabviews
subviews
BasePropertiesSubView.cpp
Go to the documentation of this file.
1
#include <
tdme/tools/editor/tabviews/subviews/BasePropertiesSubView.h
>
2
3
#include <string>
4
5
#include <
tdme/tdme.h
>
6
#include <
tdme/engine/prototype/BaseProperty.h
>
7
#include <
tdme/engine/prototype/Prototype.h
>
8
#include <
tdme/engine/scene/ScenePropertyPresets.h
>
9
#include <
tdme/tools/editor/tabcontrollers/subcontrollers/BasePropertiesSubController.h
>
10
11
using
std::string;
12
13
using
tdme::engine::prototype::BaseProperty
;
14
using
tdme::engine::prototype::Prototype
;
15
using
tdme::engine::scene::ScenePropertyPresets
;
16
using
tdme::tools::editor::tabcontrollers::subcontrollers::BasePropertiesSubController
;
17
using
tdme::tools::editor::tabviews::subviews::BasePropertiesSubView
;
18
19
BasePropertiesSubView::BasePropertiesSubView(
BasePropertiesSubController
* prototypeBaseSubController)
20
{
21
this->prototypeBaseSubController =
prototypeBaseSubController
;
22
}
23
24
void
BasePropertiesSubView::setPrototypeData
(
Prototype
* prototype,
const
string
& name,
const
string
& description)
25
{
26
if
(prototype ==
nullptr
)
27
return
;
28
29
prototype->
setName
(name);
30
prototype->
setDescription
(description);
31
}
BasePropertiesSubController.h
BasePropertiesSubView.h
BaseProperty.h
Prototype.h
ScenePropertyPresets.h
tdme::engine::prototype::BaseProperties::setName
void setName(const string &name)
Set up name.
Definition:
BaseProperties.h:63
tdme::engine::prototype::BaseProperties::setDescription
void setDescription(const string &description)
Set up description.
Definition:
BaseProperties.h:78
tdme::engine::prototype::BaseProperty
Base property model class.
Definition:
BaseProperty.h:15
tdme::engine::prototype::Prototype
Prototype definition.
Definition:
Prototype.h:55
tdme::engine::scene::ScenePropertyPresets
Scene Property Presets.
Definition:
ScenePropertyPresets.h:37
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::prototypeBaseSubController
BasePropertiesSubController * prototypeBaseSubController
Definition:
BasePropertiesSubView.h:22
tdme.h
Generated by
1.9.1