editor: apply pending updates
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include <XCEditor/Collections/UIEditorTreeDragDrop.h>
|
||||
#include <XCEditor/Collections/UIEditorTreeViewInteraction.h>
|
||||
#include <XCEditor/Foundation/UIEditorTextMeasurement.h>
|
||||
#include <XCEditor/Menu/UIEditorMenuPopup.h>
|
||||
#include <XCEditor/Menu/UIEditorMenuPopupInteraction.h>
|
||||
#include <XCEditor/Panels/UIEditorHostedPanelDispatch.h>
|
||||
|
||||
#include <XCEngine/UI/DrawData.h>
|
||||
@@ -137,6 +137,7 @@ private:
|
||||
std::vector<Widgets::UIEditorMenuPopupItem> items = {};
|
||||
Widgets::UIEditorMenuPopupLayout layout = {};
|
||||
Widgets::UIEditorMenuPopupState widgetState = {};
|
||||
UIEditorMenuPopupInteractionState interactionState = {};
|
||||
};
|
||||
|
||||
struct BreadcrumbItemLayout {
|
||||
@@ -213,7 +214,10 @@ private:
|
||||
void CloseContextMenu();
|
||||
void RebuildContextMenu();
|
||||
bool HandleContextMenuEvent(const ::XCEngine::UI::UIInputEvent& event);
|
||||
bool DispatchContextMenuItem(std::string_view itemId);
|
||||
bool DispatchContextMenuItem(
|
||||
std::string_view itemId,
|
||||
std::string_view targetItemId,
|
||||
bool forceCurrentFolder);
|
||||
void AppendContextMenu(::XCEngine::UI::UIDrawList& drawList) const;
|
||||
void ClearRenameState();
|
||||
void SyncSelectionsFromRuntime();
|
||||
|
||||
Reference in New Issue
Block a user