feat(new_editor): wire project, inspector, and viewport runtime
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "Rendering/Assets/BuiltInIcons.h"
|
||||
|
||||
#include <XCEditor/App/EditorPanelIds.h>
|
||||
#include <XCEditor/Collections/UIEditorTreeView.h>
|
||||
#include <XCEditor/Foundation/UIEditorTheme.h>
|
||||
|
||||
@@ -21,7 +22,6 @@ using ::XCEngine::UI::UIInputEvent;
|
||||
using ::XCEngine::UI::UIPoint;
|
||||
using ::XCEngine::UI::UIRect;
|
||||
|
||||
inline constexpr std::string_view kProjectPanelId = "project";
|
||||
inline constexpr std::size_t kInvalidLayoutIndex = static_cast<std::size_t>(-1);
|
||||
|
||||
inline constexpr float kBrowserHeaderHeight = 24.0f;
|
||||
@@ -55,6 +55,7 @@ inline constexpr UIColor kTileSelectedColor(0.18f, 0.18f, 0.18f, 1.0f);
|
||||
inline constexpr UIColor kTilePreviewFillColor(0.15f, 0.15f, 0.15f, 1.0f);
|
||||
inline constexpr UIColor kTilePreviewShadeColor(0.12f, 0.12f, 0.12f, 1.0f);
|
||||
inline constexpr UIColor kTilePreviewOutlineColor(0.920f, 0.920f, 0.920f, 0.20f);
|
||||
inline constexpr UIColor kDropPreviewColor(0.92f, 0.92f, 0.92f, 0.42f);
|
||||
|
||||
bool ContainsPoint(const UIRect& rect, const UIPoint& point);
|
||||
float ClampNonNegative(float value);
|
||||
|
||||
Reference in New Issue
Block a user