Ocular Engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
AxisComponentGizmo.hpp
1
17
#pragma once
18
#ifndef __H__OCULAR_EDITOR_GIZMO_AXIS_COMPONENT__H__
19
#define __H__OCULAR_EDITOR_GIZMO_AXIS_COMPONENT__H__
20
21
#include "Gizmos/Gizmo.hpp"
22
#include "Events/AEventListener.hpp"
23
24
#include "Axis.hpp"
25
26
//------------------------------------------------------------------------------------------
27
32
namespace
Ocular
33
{
38
namespace
Editor
39
{
45
class
AxisComponentGizmo
:
public
Gizmo
,
Core::AEventListener
46
{
47
public
:
48
49
AxisComponentGizmo
(
Core::SceneObject
* parent, Axis axis);
50
virtual
~
AxisComponentGizmo
();
51
52
virtual
bool
onEvent(std::shared_ptr<Core::AEvent> event)
override
;
53
virtual
void
setSelected(
bool
selected)
override
;
54
55
Axis axis;
56
57
protected
:
58
59
private
:
60
};
61
}
65
}
70
//------------------------------------------------------------------------------------------
71
72
#endif
Ocular::Core::AEventListener
Definition:
AEventListener.hpp:43
Ocular
Note: Once this library is made dynamic, this will no longer be needed.
Definition:
Common.hpp:70
Ocular::Editor::Gizmo
Definition:
Gizmo.hpp:42
Ocular::Core::SceneObject
Definition:
SceneObject.hpp:93
Ocular::Editor::AxisComponentGizmo
Definition:
AxisComponentGizmo.hpp:45
OcularEditor
include
Gizmos
Axis
AxisComponentGizmo.hpp
Generated on Tue Oct 18 2016 01:28:56 for Ocular Engine by
1.8.10