Ocular Engine
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  {
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
Definition: AEventListener.hpp:43
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: Gizmo.hpp:42
Definition: SceneObject.hpp:93
Definition: AxisComponentGizmo.hpp:45