18 #ifndef __H__OCULAR_EDITOR__H__
19 #define __H__OCULAR_EDITOR__H__
21 #include "Widgets/MainWindow.hpp"
22 #include "Scene/ComponentFactory.hpp"
24 #include "Widgets/Properties/PropertyWidget.hpp"
25 #include "Widgets/Properties/PropertiesDisplayBox.hpp"
26 #include "Widgets/Properties/Renderables/RenderableDisplay.hpp"
58 bool initialize(
int argc,
char** argv);
116 virtual bool onEvent(std::shared_ptr<Core::AEvent> event)
override;
222 static std::string FormatName(std::string
const& name);
230 void operator=(
Editor const&) =
delete;
232 bool setupEditorCamera();
238 QApplication* m_QtApp;
261 #define OcularEditor Ocular::Editor::Editor::get()
void setStatusNormalProgress(std::string const &message, uint32_t progress)
Definition: OcularEditor.cpp:305
MainWindow * getMainWindow() const
Definition: OcularEditor.cpp:195
PropertyWidget * createPropertyWidget(std::string const &displayName, std::string const &type)
Definition: OcularEditor.cpp:314
Definition: ComponentFactory.hpp:43
Definition: AEventListener.hpp:43
Core::ComponentFactory< PropertyWidget > & getPropertyWidgetFactory()
Definition: OcularEditor.cpp:326
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
PropertiesDisplayBox * createCustomDisplay(std::string const &type)
Definition: OcularEditor.cpp:331
Definition: OcularEditor.hpp:47
Definition: SceneObject.hpp:93
void setStatusNormal(std::string const &message)
Definition: OcularEditor.cpp:275
void setSelectedObject(Core::SceneObject *object, bool ignoreNormalObject=false, bool ignoreGizmoObject=false)
Definition: OcularEditor.cpp:205
void setStatusTemporary(std::string const &message, uint32_t lifetime)
Definition: OcularEditor.cpp:295
Definition: AxisGizmo.hpp:49
Core::ComponentFactory< PropertiesDisplayBox > & getCustomDisplayFactory()
Definition: OcularEditor.cpp:343
Definition: PropertiesDisplayBox.hpp:46
Core::Camera * getEditorCamera() const
Definition: OcularEditor.cpp:200
void setStatusPermanent(std::string const &message)
Definition: OcularEditor.cpp:285
Definition: Camera.hpp:79
Core::SceneObject * getSelectedObject() const
Definition: OcularEditor.cpp:261
Main window for the Ocular Editor application.
Definition: MainWindow.hpp:46
Definition: RenderableDisplay.hpp:40
static bool IsCommonName(std::string const &name)
Definition: OcularEditor.cpp:369
Core::SceneObject * getFocusedObject() const
Definition: OcularEditor.cpp:266