14#include "../Utils/Workspace.h"
45 void Init(GLFWwindow *window);
95 std::unique_ptr<Components::Toolbar> m_Toolbar;
96 std::unique_ptr<Components::Viewport> m_Viewport;
97 std::unique_ptr<Components::Inspector> m_Inspector;
98 std::unique_ptr<Assets::AssetsPanel> m_Assets;
99 std::unique_ptr<Components::Settings> m_Settings;
102 bool m_ViewportVisible =
true;
103 bool m_InspectorVisible =
true;
104 bool m_AssetsVisible =
true;
105 bool m_ConsoleVisible =
true;
106 bool m_SettingsVisible =
true;
107 bool m_WorkspaceInitialized =
false;
108 bool m_ShowWorkspaceDialogOnStartup =
true;
109 std::shared_ptr<Workspace> m_CurrentWorkspace;
Defines the Console panel component for the Voltray editor.
Defines the Dockspace component for managing ImGui dock layouts and panels.
Defines the Settings panel component for the Voltray editor.
A panel component that provides settings interface in the editor.
Definition Settings.h:18
Main viewport component for 3D scene editing.
Definition Viewport.h:29
Entry point and main controller for the Voltray Editor application.
Definition EditorApp.h:36
bool & GetAssetsVisible()
Definition EditorApp.h:74
void Shutdown()
Cleans up resources used by the editor.
Definition EditorApp.cpp:144
Components::Settings * GetSettings()
Get the settings component.
Definition EditorApp.h:86
void RenderUI()
Renders all editor UI components.
Definition EditorApp.cpp:83
std::shared_ptr< Workspace > GetCurrentWorkspace()
Get the current workspace.
Definition EditorApp.h:92
Components::Viewport * GetViewport()
Get the viewport component.
Definition EditorApp.h:80
bool & GetConsoleVisible()
Definition EditorApp.h:75
bool & GetInspectorVisible()
Definition EditorApp.h:73
void Init(GLFWwindow *window)
Initializes the editor application with the given GLFW window.
Definition EditorApp.cpp:28
static EditorApp * Get()
Returns the singleton instance of the EditorApp.
Definition EditorApp.cpp:164
bool & GetSettingsVisible()
Definition EditorApp.h:76
bool & GetViewportVisible()
Get panel visibility flags for menu toggles.
Definition EditorApp.h:72
Definition AssetsPanel.cpp:7