Ocular Engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
CustomObjectDisplay.hpp
1
17
#pragma once
18
#ifndef __H__OCULAR_EDITOR_CUSTOM_OBJECT_DISPLAY__H__
19
#define __H__OCULAR_EDITOR_CUSTOM_OBJECT_DISPLAY__H__
20
21
#include "PropertiesDisplayBox.hpp"
22
#include <vector>
23
24
//------------------------------------------------------------------------------------------
25
30
namespace
Ocular
31
{
36
namespace
Editor
37
{
41
class
CustomObjectDisplay
:
public
PropertiesDisplayBox
42
{
43
public
:
44
45
CustomObjectDisplay
(QWidget* parent =
nullptr
);
46
~
CustomObjectDisplay
();
47
48
//------------------------------------------------------------
49
50
virtual
void
setObject(
Core::SceneObject
*
object
)
override
;
51
virtual
void
updateProperties()
override
;
52
53
protected
:
54
55
std::vector<PropertyWidget*> m_Properties;
56
57
private
:
58
59
};
60
}
64
}
69
//------------------------------------------------------------------------------------------
70
71
#endif
Ocular
Note: Once this library is made dynamic, this will no longer be needed.
Definition:
Common.hpp:70
Ocular::Editor::CustomObjectDisplay
Definition:
CustomObjectDisplay.hpp:41
Ocular::Core::SceneObject
Definition:
SceneObject.hpp:93
Ocular::Editor::PropertiesDisplayBox
Definition:
PropertiesDisplayBox.hpp:46
OcularEditor
include
Widgets
Properties
CustomObjectDisplay.hpp
Generated on Tue Oct 18 2016 01:28:56 for Ocular Engine by
1.8.10