summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2022-03-03 17:20:24 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-03-03 17:20:24 +0100
commita773fdc44bfb818f1830e9e48ba765881e68c942 (patch)
tree70f52be97581cdb407d440fb43cfc3bd3cfc13f8 /fluid
parentd8cb8ec9167634d0e09201043ba8a539d659b849 (diff)
Fix whitespace, update dependencies and fluid files
Diffstat (limited to 'fluid')
-rw-r--r--fluid/alignment_panel.cxx8
-rw-r--r--fluid/function_panel.fl2
-rw-r--r--fluid/makedepend1
-rw-r--r--fluid/widget_panel.fl4
4 files changed, 8 insertions, 7 deletions
diff --git a/fluid/alignment_panel.cxx b/fluid/alignment_panel.cxx
index 26a45c700..dd0dc4cb6 100644
--- a/fluid/alignment_panel.cxx
+++ b/fluid/alignment_panel.cxx
@@ -640,7 +640,7 @@ static void refreshUI() {
static void readPrefs() {
// read all preferences and refresh the GUI
{
- Fl_Preferences prefs(Fl_Preferences::SYSTEM, "fltk.org", "fltk");
+ Fl_Preferences prefs(Fl_Preferences::SYSTEM_L, "fltk.org", "fltk");
Fl_Preferences opt_prefs(prefs, "options");
opt_prefs.get("ArrowFocus", opt[Fl::OPTION_ARROW_FOCUS][1], 2);
opt_prefs.get("VisibleFocus", opt[Fl::OPTION_VISIBLE_FOCUS][1], 2);
@@ -651,7 +651,7 @@ static void readPrefs() {
opt_prefs.get("ShowZoomFactor", opt[Fl::OPTION_SHOW_SCALING ][1], 2);
}
{
- Fl_Preferences prefs(Fl_Preferences::USER, "fltk.org", "fltk");
+ Fl_Preferences prefs(Fl_Preferences::USER_L, "fltk.org", "fltk");
Fl_Preferences opt_prefs(prefs, "options");
opt_prefs.get("ArrowFocus", opt[Fl::OPTION_ARROW_FOCUS][0], 2);
opt_prefs.get("VisibleFocus", opt[Fl::OPTION_VISIBLE_FOCUS][0], 2);
@@ -670,7 +670,7 @@ static void readPrefs() {
static void writePrefs() {
// write all preferences using the array
{
- Fl_Preferences prefs(Fl_Preferences::SYSTEM, "fltk.org", "fltk");
+ Fl_Preferences prefs(Fl_Preferences::SYSTEM_L, "fltk.org", "fltk");
Fl_Preferences opt_prefs(prefs, "options");
if (opt[Fl::OPTION_ARROW_FOCUS][1]==2) opt_prefs.deleteEntry("ArrowFocus");
else opt_prefs.set("ArrowFocus", opt[Fl::OPTION_ARROW_FOCUS][1]);
@@ -688,7 +688,7 @@ static void writePrefs() {
else opt_prefs.set("ShowZoomFactor", opt[Fl::OPTION_SHOW_SCALING][1]);
}
{
- Fl_Preferences prefs(Fl_Preferences::USER, "fltk.org", "fltk");
+ Fl_Preferences prefs(Fl_Preferences::USER_L, "fltk.org", "fltk");
Fl_Preferences opt_prefs(prefs, "options");
if (opt[Fl::OPTION_ARROW_FOCUS][0]==2) opt_prefs.deleteEntry("ArrowFocus");
else opt_prefs.set("ArrowFocus", opt[Fl::OPTION_ARROW_FOCUS][0]);
diff --git a/fluid/function_panel.fl b/fluid/function_panel.fl
index 831e8b91b..0186b9365 100644
--- a/fluid/function_panel.fl
+++ b/fluid/function_panel.fl
@@ -51,7 +51,7 @@ Function {make_function_panel()} {open
} {
Fl_Window function_panel {
label {Function/Method Properties} open
- xywh {540 418 343 232} type Double resizable modal visible
+ xywh {540 418 343 232} type Double hide resizable modal
} {
Fl_Group {} {open
xywh {10 10 270 20}
diff --git a/fluid/makedepend b/fluid/makedepend
index 5789faac1..859b36681 100644
--- a/fluid/makedepend
+++ b/fluid/makedepend
@@ -1119,6 +1119,7 @@ Shortcut_Button.o: ../FL/Fl_Return_Button.H
Shortcut_Button.o: ../FL/Fl_RGB_Image.H
Shortcut_Button.o: ../FL/Fl_Scrollbar.H
Shortcut_Button.o: ../FL/Fl_Slider.H
+Shortcut_Button.o: ../FL/fl_string_functions.h
Shortcut_Button.o: ../FL/Fl_Tabs.H
Shortcut_Button.o: ../FL/Fl_Text_Buffer.H
Shortcut_Button.o: ../FL/Fl_Text_Display.H
diff --git a/fluid/widget_panel.fl b/fluid/widget_panel.fl
index 3be7cd5c3..1f0b3b2ad 100644
--- a/fluid/widget_panel.fl
+++ b/fluid/widget_panel.fl
@@ -31,8 +31,8 @@ Function {make_widget_panel()} {
} {
Fl_Window {} {
comment {Use a Double Window to avoid flickering.} open
- xywh {500 209 420 400} type Double labelsize 11 align 80 resizable hotspot
- code0 {o->size_range(o->w(), o->h());} size_range {420 400 0 0} visible
+ xywh {500 209 420 400} type Double labelsize 11 align 80 hide resizable hotspot
+ code0 {o->size_range(o->w(), o->h());} size_range {420 400 0 0}
} {
Fl_Tabs {} {
callback {propagate_load((Fl_Group *)o,v);} open