refactor(new_editor): tighten app dependency boundaries
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "Scene/SceneToolState.h"
|
||||
#include "Host/HostFwd.h"
|
||||
|
||||
#include <XCEngine/UI/DrawData.h>
|
||||
#include <XCEngine/UI/Types.h>
|
||||
@@ -9,12 +10,6 @@
|
||||
#include <filesystem>
|
||||
#include <cstddef>
|
||||
|
||||
namespace XCEngine::UI::Editor::Host {
|
||||
|
||||
class NativeRenderer;
|
||||
|
||||
} // namespace XCEngine::UI::Editor::Host
|
||||
|
||||
namespace XCEngine::UI::Editor::App {
|
||||
|
||||
inline constexpr std::size_t kSceneViewportToolOverlayInvalidIndex =
|
||||
@@ -41,8 +36,8 @@ class SceneViewportToolOverlay {
|
||||
public:
|
||||
bool Initialize(
|
||||
const std::filesystem::path& repoRoot,
|
||||
Host::NativeRenderer& renderer);
|
||||
void Shutdown(Host::NativeRenderer& renderer);
|
||||
Host::TextureHost& renderer);
|
||||
void Shutdown(Host::TextureHost& renderer);
|
||||
void ResetFrame();
|
||||
|
||||
void BuildFrame(
|
||||
|
||||
Reference in New Issue
Block a user