Implemented the functions of saving the workspace into a json file and loading from it.

This commit is contained in:
2026-04-23 20:23:09 +08:00
parent 07ee870601
commit e0afc4963f
2 changed files with 236 additions and 1 deletions
+4 -1
View File
@@ -63,8 +63,11 @@ public:
// 清除工作路由 true -> success / false -> failed
bool Clear_Process_Route(void);
// 清除整个工作区
void Clear_All(void);
// 加载取配置文件 true -> success / false -> failed
bool Load_Config(const char *file_path);
bool Load_Config(const char *file_path, ImVec2 initial_position = ImVec2(0, 0));
// 存储配置文件 true -> success / false -> failed
bool Store_Config(const char *file_path);