From 050cbabdfe2fdbd1337736f017456012e2437b2d Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 27 Dec 2024 20:56:02 -0500 Subject: Fluid: Rename Stratgy constants to comply with CMP. Capitalized constants. Added flag to indicate creation by user or file. Removed global variable 'reading_file'. --- fluid/file.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fluid/file.h') 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(); -- cgit v1.2.3