We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fb2c9a commit 03304a4Copy full SHA for 03304a4
1 file changed
README.md
@@ -21,14 +21,17 @@
21
## 快速开始
22
23
```bash
24
-mcpp new myapp --template gui && cd myapp && mcpp run # 窗口直接出现
+mcpp new myapp --template imgui && cd myapp && mcpp run # 窗口直接出现
25
+# 模板随库分发、版本自动对齐:
26
+# mcpp new --list-templates imgui # 列出库提供的模板
27
+# mcpp new ide --template imgui:docking # IDE 式停靠布局(docking-full)
28
```
29
30
或在已有项目中手动接入:
31
32
```toml
33
[dependencies]
-imgui = "0.0.5"
34
+imgui = "0.0.6"
35
36
37
```cpp
@@ -66,7 +69,7 @@ int main() {
66
69
67
70
68
71
-imgui = { version = "0.0.5", features = ["docking-full"] }
72
+imgui = { version = "0.0.6", features = ["docking-full"] }
73
74
75
docking/viewports 源码来自上游 docking tag(`compat.imgui 1.92.8-docking`,主线超集——特性关闭时行为与主线一致)。需 mcpp ≥ 0.0.47。
0 commit comments