From 77b8f77a12dd801cd1573a9459a79007872d7926 Mon Sep 17 00:00:00 2001 From: DebugST <2212233137@qq.com> Date: Mon, 17 Oct 2022 14:56:00 +0800 Subject: [PATCH] update progress --- V3_CN.md | 25 +++++++++++++------------ V3_EN.md | 17 +++++++++-------- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/V3_CN.md b/V3_CN.md index 1cf2f38..e4d9725 100644 --- a/V3_CN.md +++ b/V3_CN.md @@ -4,11 +4,12 @@ |内容|状态|完成时间|备注| |:---|:---|:---|:---| -|增加高DPI支持 |✅ |2022-09-12|创建了`STGraphics`| -|添加json格式序列化文件 |☑️ |-|已经完成 [STJson](https://github.com/DebugST/STJson) 项目| -|添加缩略图 |☑️ |-|-| -|节点选项悬浮提示信息 |☑️ |-|-| -|修复已知bug |☑️ |-|-| +|增加高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仅仅作为一个画布容器 */ ``` diff --git a/V3_EN.md b/V3_EN.md index 596c473..8348227 100644 --- a/V3_EN.md +++ b/V3_EN.md @@ -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. */ ```