diff options
| author | Matthias Melcher <github@matthiasm.com> | 2024-12-27 20:56:02 -0500 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2024-12-27 20:56:10 -0500 |
| commit | 050cbabdfe2fdbd1337736f017456012e2437b2d (patch) | |
| tree | 21efed95ef5368e67a7a6377ab0a3a2f936e4426 /fluid/file.h | |
| parent | 2100655a1b55d1c77932b649b758f2eab1107fcb (diff) | |
Fluid: Rename Stratgy constants to comply with CMP.
Capitalized constants.
Added flag to indicate creation by user or file.
Removed global variable 'reading_file'.
Diffstat (limited to 'fluid/file.h')
| -rw-r--r-- | fluid/file.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/file.h b/fluid/file.h index 71ee543a4..4000c2b02 100644 --- a/fluid/file.h +++ b/fluid/file.h @@ -25,7 +25,7 @@ class Fl_Type; extern int fdesign_flip; -int read_file(const char *, int merge, Strategy strategy=kAddAsLastChild); +int read_file(const char *, int merge, Strategy strategy=Strategy::FROM_FILE_AS_LAST_CHILD); int write_file(const char *, int selected_only = 0, bool to_codeview = false); class Fd_Project_Reader @@ -58,7 +58,7 @@ public: const char *filename_name(); int read_quoted(); Fl_Type *read_children(Fl_Type *p, int merge, Strategy strategy, char skip_options=0); - int read_project(const char *, int merge, Strategy strategy=kAddAsLastChild); + int read_project(const char *, int merge, Strategy strategy=Strategy::FROM_FILE_AS_LAST_CHILD); void read_error(const char *format, ...); const char *read_word(int wantbrace = 0); int read_int(); |
