summaryrefslogtreecommitdiff
path: root/fluid/panels/codeview_panel.fl
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-03-08 00:14:09 +0100
committerMatthias Melcher <github@matthiasm.com>2025-03-08 00:14:27 +0100
commit15ad447e2a0301b2aa4ea350615ae71f0e5e5ef5 (patch)
tree706f8f9a6317f1074951e6174a4857ebafbca117 /fluid/panels/codeview_panel.fl
parentca22660bbb7efe4b38ab5af6a233a1ef5ef33389 (diff)
Fluid: last incremental chage, restructuring
Diffstat (limited to 'fluid/panels/codeview_panel.fl')
-rw-r--r--fluid/panels/codeview_panel.fl12
1 files changed, 9 insertions, 3 deletions
diff --git a/fluid/panels/codeview_panel.fl b/fluid/panels/codeview_panel.fl
index e2ae3e888..ce40ffd8a 100644
--- a/fluid/panels/codeview_panel.fl
+++ b/fluid/panels/codeview_panel.fl
@@ -23,7 +23,13 @@ comment {//
decl {\#include "app/fluid.h"} {private local
}
-decl {\#include "io/file.h"} {private local
+decl {\#include "app/project.h"} {private local
+}
+
+decl {\#include "io/Project_Reader.h"} {private local
+}
+
+decl {\#include "io/Project_Writer.h"} {private local
}
decl {\#include <FL/Fl_Tabs.H>} {private local
@@ -188,7 +194,7 @@ and load those into the Code Viewer widgets.} open return_type void
}
if (cv_project->visible_r()) {
- write_file(cv_design_filename, false, true);
+ fld::io::write_file(cv_design_filename, false, true);
int top = cv_project->top_line();
cv_project->buffer()->loadfile(cv_design_filename);
cv_project->scroll(top, 0);
@@ -209,7 +215,7 @@ and load those into the Code Viewer widgets.} open return_type void
g_project.header_file_name = cv_header_filename;
// generate the code and load the files
- Fd_Code_Writer f;
+ fld::io::Code_Writer f;
// generate files
if (f.write_code(cv_source_filename, cv_header_filename, true))
{