Route editor actions by active target
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "UI/ImGuiBackendBridge.h"
|
||||
#include "UI/ImGuiSession.h"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <imgui.h>
|
||||
@@ -8,8 +11,6 @@
|
||||
|
||||
#include <XCEngine/Core/LayerStack.h>
|
||||
|
||||
#include "Theme.h"
|
||||
|
||||
namespace XCEngine {
|
||||
namespace Editor {
|
||||
|
||||
@@ -32,9 +33,6 @@ private:
|
||||
Application() = default;
|
||||
~Application() = default;
|
||||
|
||||
void ConfigureImGui(const std::string& projectPath);
|
||||
void ConfigureImGuiIniFile(const std::string& projectPath, ImGuiIO& io);
|
||||
void SaveImGuiSettings();
|
||||
bool CreateDevice();
|
||||
bool CreateRenderTarget();
|
||||
void CleanupRenderTarget();
|
||||
@@ -60,8 +58,9 @@ private:
|
||||
Core::LayerStack m_layerStack;
|
||||
EditorLayer* m_editorLayer = nullptr;
|
||||
std::shared_ptr<IEditorContext> m_editorContext;
|
||||
UI::ImGuiBackendBridge m_imguiBackend;
|
||||
UI::ImGuiSession m_imguiSession;
|
||||
uint64_t m_exitRequestedHandlerId = 0;
|
||||
std::string m_imguiIniPath;
|
||||
std::wstring m_lastWindowTitle;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user