docs: sync project browser docs

This commit is contained in:
2026-04-04 01:02:57 +08:00
parent 42e2e1b8f2
commit 2abe0bbbd4
30 changed files with 1725 additions and 116 deletions

View File

@@ -0,0 +1,45 @@
# ProjectPanel::ProjectPanel
**命名空间**: `XCEngine::Editor`
**类型**: `constructor`
**源文件**: `editor/src/panels/ProjectPanel.h`
## 签名
```cpp
ProjectPanel();
```
## 作用
创建标题固定为 `"Project"` 的资源浏览面板。
## 当前实现行为
当前构造函数非常薄:
```cpp
ProjectPanel::ProjectPanel() : Panel("Project") {
}
```
也就是说它只完成:
- 通过基类 `Panel` 设置面板标题
其余状态都由成员默认值负责初始化,例如:
- `m_searchBuffer`
- `m_navigationWidth`
- `m_folderTreeState`
- `m_renameState`
- `m_assetDragDropState`
- `m_deferredContextAction`
## 相关文档
- [ProjectPanel](ProjectPanel.md)
- [Initialize](Initialize.md)
- [Render](Render.md)