feat: expand editor scripting asset and viewport flow
This commit is contained in:
@@ -41,12 +41,21 @@ private:
|
||||
bool openRequested = false;
|
||||
};
|
||||
|
||||
struct ContextMenuTarget {
|
||||
AssetItemPtr item;
|
||||
std::string subjectPath;
|
||||
std::string createFolderPath;
|
||||
bool showInExplorerSelect = false;
|
||||
};
|
||||
|
||||
void BeginAssetDragDropFrame();
|
||||
void RegisterFolderDropTarget(IProjectManager& manager, const AssetItemPtr& folder);
|
||||
void FinalizeAssetDragDrop(IProjectManager& manager);
|
||||
void BeginRename(const AssetItemPtr& item);
|
||||
bool CommitRename(IProjectManager& manager);
|
||||
void CancelRename();
|
||||
ContextMenuTarget BuildContextMenuTarget(IProjectManager& manager, const AssetItemPtr& item) const;
|
||||
void DrawProjectContextMenu(IProjectManager& manager, const ContextMenuTarget& target);
|
||||
void RenderToolbar();
|
||||
void RenderFolderTreePane(IProjectManager& manager);
|
||||
void RenderFolderTreeNode(IProjectManager& manager, const AssetItemPtr& folder, const std::string& currentFolderPath);
|
||||
|
||||
Reference in New Issue
Block a user