refactor(new_editor): snapshot hosted editor restructuring

This commit is contained in:
2026-04-21 00:57:14 +08:00
parent e123e584c8
commit 9b7b369007
248 changed files with 21152 additions and 14397 deletions

View File

@@ -4,17 +4,15 @@
#include <XCEditor/Menu/UIEditorMenuBar.h>
#include <XCEditor/Shell/UIEditorStatusBar.h>
namespace XCEngine::UI::Editor {
namespace XCEngine::UI::Editor::App {
class BuiltInIcons;
}
enum class UIEditorShellToolbarGlyph : std::uint8_t {
Play = 0,
Pause,
Step
};
namespace XCEngine::UI::Editor {
struct UIEditorShellToolbarButton {
std::string buttonId = {};
UIEditorShellToolbarGlyph glyph = UIEditorShellToolbarGlyph::Play;
std::uint8_t iconKind = 0;
bool enabled = true;
};
@@ -150,7 +148,8 @@ void AppendUIEditorShellCompose(
const UIEditorShellComposeModel& model,
const UIEditorShellComposeState& state,
const UIEditorShellComposePalette& palette = {},
const UIEditorShellComposeMetrics& metrics = {});
const UIEditorShellComposeMetrics& metrics = {},
const App::BuiltInIcons* builtInIcons = nullptr);
void AppendUIEditorShellComposeOverlay(
::XCEngine::UI::UIDrawList& drawList,