Add persistent shared editor tree interactions

This commit is contained in:
2026-03-27 23:21:43 +08:00
parent 0c8a3e90ec
commit 291d1a7e41
6 changed files with 240 additions and 40 deletions

View File

@@ -3,6 +3,7 @@
#include "Panel.h"
#include "Core/AssetItem.h"
#include "UI/PopupState.h"
#include "UI/TreeView.h"
namespace XCEngine {
namespace Editor {
@@ -32,6 +33,7 @@ private:
char m_searchBuffer[256] = "";
float m_navigationWidth = UI::ProjectNavigationDefaultWidth();
UI::TreeViewState m_folderTreeState;
UI::TextInputPopupState<256> m_createFolderDialog;
UI::DeferredPopupState m_emptyContextMenu;
UI::TargetedPopupState<AssetItemPtr> m_itemContextMenu;