update progress

This commit is contained in:
DebugST 2022-10-17 14:56:00 +08:00
parent b0e99fb148
commit 77b8f77a12
2 changed files with 22 additions and 20 deletions

View File

@ -4,8 +4,9 @@
|内容|状态|完成时间|备注|
|:---|:---|:---|:---|
|增加高DPI支持 |✅ |2022-09-12|创建了`STGraphics`|
|添加json格式序列化文件 |☑️ |-|已经完成 [STJson](https://github.com/DebugST/STJson) 项目|
|增加高DPI支持 |✅ |2022-09-12|创建了 `STGraphics`|
|添加json格式序列化文件 |✅ |2022-09-30|添加新项目 [STJson](https://github.com/DebugST/STJson)|
|添加`STNodeEditorCanvas` |☑️ |开始|-|
|添加缩略图 |☑️ |-|-|
|节点选项悬浮提示信息 |☑️ |-|-|
|修复已知bug |☑️ |-|-|
@ -30,19 +31,19 @@
控件将尽可能保持`WinForm`的使用习惯。
添加`STNodeEditorLayer.cs`
添加`STNodeEditorCanvas.cs`
替代原本的`STNodeEditor.cs`
```cs
var layer = new STNodeEditorLayer("layer_name");
layer.Nodes.add(new STNode_1());
layer.Nodes.add(new STNode_2());
STNodeEditor_1.Layer = layer;
// STNodeEditor.Layers.Add(layer) 此方式先待定
var canvas = new STNodeEditorCanvas("layer_name");
canvas.Nodes.add(new STNode_1());
canvas.Nodes.add(new STNode_2());
STNodeEditor_1.Canvas = canvas;
// STNodeEditor.Layers.Add(canvas) 此方式先待定
/*
这样做的目的是想实现类似TabControl的效果用户可能有多个画布需要加载
所以他不得不添加多个STNodeEditor做切换。所以用STNodeEditorLayer代替原本的STNodeEditor
所以他不得不添加多个STNodeEditor做切换。所以用STNodeEditorCanvas代替原本的STNodeEditor
而STNodeEditor仅仅作为一个画布容器
*/
```

View File

@ -5,7 +5,8 @@ Although there are not many users, thanks to those who have been using `STNodeEd
|Items|Status|Complete time|Note|
|:---|:---|:---|:---|
|Add high DPI support |✅ |2022-09-12|Create `STGraphics`|
|Add json format serialization file |☑️ |-|[STJson](https://github.com/DebugST/STJson) Project was completed|
|Add json format serialization file |✅ |2022-09-30|Add new project [STJson](https://github.com/DebugST/STJson)|
|Add `STNodeEditorCanvas` |☑️ |start|-|
|Add mini-map |☑️ |-|-|
|Node option hover hint text |☑️ |-|-|
|Add mini-map |☑️ |-|-|
@ -30,19 +31,19 @@ Add Controls
Controls will maintain the `WinForm` usage habits as much as possible.
Add `STNodeEditorLayer.cs`
Add `STNodeEditorCanvas.cs`
To replace `STNodeEditor.cs`
```cs
var layer = new STNodeEditorLayer("layer_name");
layer.Nodes.add(new STNode_1());
layer.Nodes.add(new STNode_2());
STNodeEditor_1.Layer = layer;
// STNodeEditor.Layers.Add(layer) This method is pending.
var canvas = new STNodeEditorCanvas("layer_name");
canvas.Nodes.add(new STNode_1());
canvas.Nodes.add(new STNode_2());
STNodeEditor_1.Canvas = canvas;
// STNodeEditor.Layers.Add(canvas) This method is pending.
/*
The purpose of this is to achieve a TabControl-like effect, where the user may have multiple canvases to load.
So he had to add multiple STNodeEditors for switching. So use STNodeEditorLayer to replace the original STNodeEditor.
So he had to add multiple STNodeEditors for switching. So use STNodeEditorCanvas to replace the original STNodeEditor.
And STNodeEditor only acts as a canvas container.
*/
```