chore: checkpoint current workspace changes
This commit is contained in:
@@ -26,6 +26,7 @@ struct UIEditorTreeViewItem {
|
||||
std::uint32_t depth = 0u;
|
||||
bool forceLeaf = false;
|
||||
float desiredHeight = 0.0f;
|
||||
::XCEngine::UI::UITextureHandle leadingIcon = {};
|
||||
};
|
||||
|
||||
struct UIEditorTreeViewState {
|
||||
@@ -40,6 +41,8 @@ struct UIEditorTreeViewMetrics {
|
||||
float indentWidth = 18.0f;
|
||||
float disclosureExtent = 12.0f;
|
||||
float disclosureLabelGap = 6.0f;
|
||||
float iconExtent = 18.0f;
|
||||
float iconLabelGap = 2.0f;
|
||||
float labelInsetY = 6.0f;
|
||||
float cornerRounding = 6.0f;
|
||||
float borderThickness = 1.0f;
|
||||
@@ -70,6 +73,7 @@ struct UIEditorTreeViewLayout {
|
||||
std::vector<std::size_t> visibleItemIndices = {};
|
||||
std::vector<::XCEngine::UI::UIRect> rowRects = {};
|
||||
std::vector<::XCEngine::UI::UIRect> disclosureRects = {};
|
||||
std::vector<::XCEngine::UI::UIRect> iconRects = {};
|
||||
std::vector<::XCEngine::UI::UIRect> labelRects = {};
|
||||
std::vector<bool> itemHasChildren = {};
|
||||
std::vector<bool> itemExpanded = {};
|
||||
|
||||
Reference in New Issue
Block a user