Ocular Engine
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  {
42  {
43  public:
44 
45  CustomObjectDisplay(QWidget* parent = nullptr);
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
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: CustomObjectDisplay.hpp:41
Definition: SceneObject.hpp:93
Definition: PropertiesDisplayBox.hpp:46