2026-04-15 22:47:42 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "HierarchyPanel.h"
|
|
|
|
|
|
|
|
|
|
#include "Rendering/Assets/BuiltInIcons.h"
|
|
|
|
|
|
2026-04-19 02:48:41 +08:00
|
|
|
#include "Composition/EditorPanelIds.h"
|
2026-04-15 22:47:42 +08:00
|
|
|
#include <XCEditor/Foundation/UIEditorTheme.h>
|
|
|
|
|
|
|
|
|
|
namespace XCEngine::UI::Editor::App::HierarchyPanelInternal {
|
|
|
|
|
|
|
|
|
|
using ::XCEngine::UI::UIColor;
|
|
|
|
|
|
|
|
|
|
inline constexpr float kDragThreshold = 4.0f;
|
|
|
|
|
inline constexpr UIColor kDragPreviewColor(0.92f, 0.92f, 0.92f, 0.42f);
|
|
|
|
|
|
|
|
|
|
::XCEngine::UI::UITextureHandle ResolveGameObjectIcon(const BuiltInIcons* icons);
|
|
|
|
|
|
|
|
|
|
} // namespace XCEngine::UI::Editor::App::HierarchyPanelInternal
|