summaryrefslogtreecommitdiff
path: root/fluid/template_panel.fl
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-07-21 13:34:04 +0200
committerMatthias Melcher <github@matthiasm.com>2023-07-21 13:34:12 +0200
commitdac1af37e1b007d341e390a1e782b366068fcb95 (patch)
treef64e9b739182950d1a6d460c7b115f86731074c2 /fluid/template_panel.fl
parent43fe6ee02720782ce9da715b57c8d0037e6ef641 (diff)
FLUID: updates templates and predefined comments
Diffstat (limited to 'fluid/template_panel.fl')
-rw-r--r--fluid/template_panel.fl9
1 files changed, 5 insertions, 4 deletions
diff --git a/fluid/template_panel.fl b/fluid/template_panel.fl
index 4ccc9db42..0ac6d3363 100644
--- a/fluid/template_panel.fl
+++ b/fluid/template_panel.fl
@@ -73,7 +73,7 @@ template_preview->image(0);
template_browser->deselect();
template_name->value("");
template_instance->value("");
-template_panel->hide();} selected
+template_panel->hide();}
xywh {478 284 460 355} type Double resizable modal visible
} {
Fl_Browser template_browser {
@@ -209,7 +209,7 @@ template_browser->remove(item);
template_browser->do_callback();} {}
}
-Function {template_load()} {return_type void
+Function {template_load()} {open return_type void
} {
code {int i;
char name[1024], filename[1400], path[1024], *ptr;
@@ -230,7 +230,7 @@ if (!sample_templates_generated) {
fputs(
"\# data file for the Fltk User Interface Designer (fluid)\\nversion 1.0400\\nheader_name {.h}\\n"
"code_name {.cxx}\\ncomment {//\\n// @INSTANCE@ for the Fast Light Tool Kit (FLT"
-"K).\\n//\\n// Copyright 1998-2020 by Bill Spitzak and others.\\n//\\n// This library is free sof"
+"K).\\n//\\n// Copyright 1998-2023 by Bill Spitzak and others.\\n//\\n// This library is free sof"
"tware. Distribution and use rights are outlined in\\n// the file \\"COPYING\\" which should have "
"been included with this file. If this\\n// file is missing or damaged, see the license at:\\n"
"//\\n// https://www.fltk.org/COPYING.php\\n//\\n// Please see the following page on how to report "
@@ -264,5 +264,6 @@ for (i = 0; i < num_files; i ++) {
free(files[i]);
}
-if (num_files > 0) free(files);} {}
+if (num_files > 0) free(files);} {selected
+ }
}