summaryrefslogtreecommitdiff
path: root/fluid/panels/widget_panel.fl
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-03-07 18:54:03 +0100
committerMatthias Melcher <github@matthiasm.com>2025-03-07 18:54:24 +0100
commitc3571838cb10133aa913efd7523b9543a65459c1 (patch)
tree6820fd1e11ce523d76f4f0580c3fa7d8072dcec8 /fluid/panels/widget_panel.fl
parent89f714cb4eac968c94925ee2e9629649033ef372 (diff)
Fluid: Rebuilding most of the widget directory.
One file per logical unit. Namespaces. Non-static data member initializers to never get an uninitialized field again.
Diffstat (limited to 'fluid/panels/widget_panel.fl')
-rw-r--r--fluid/panels/widget_panel.fl54
1 files changed, 27 insertions, 27 deletions
diff --git a/fluid/panels/widget_panel.fl b/fluid/panels/widget_panel.fl
index 57ae30273..517271e08 100644
--- a/fluid/panels/widget_panel.fl
+++ b/fluid/panels/widget_panel.fl
@@ -34,7 +34,7 @@ decl {\#include "nodes/Fl_Widget_Type.h"} {private global
decl {\#include "nodes/Fl_Grid_Type.h"} {private global
}
-decl {\#include "widgets/custom_widgets.h"} {selected public global
+decl {\#include "widgets/Formula_Input.h"} {selected public global
}
decl {\#include <FL/Fl_Grid.H>} {private global
@@ -112,7 +112,7 @@ Function {make_image_panel()} {
if (mod) set_modflag(1);
}}
tooltip {Scale image to this width in pixel units} xywh {75 75 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Input image_panel_imageh {
label {Height:}
@@ -142,7 +142,7 @@ Function {make_image_panel()} {
if (mod) set_modflag(1);
}}
tooltip {Scale image to this height in pixel units} xywh {135 75 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Button {} {
label Reset
@@ -234,7 +234,7 @@ Function {make_image_panel()} {
if (mod) set_modflag(1);
}}
tooltip {Scale image to this width in pixel units} xywh {75 215 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Input image_panel_deimageh {
label {Height:}
@@ -264,7 +264,7 @@ Function {make_image_panel()} {
if (mod) set_modflag(1);
}}
tooltip {Scale image to this height in pixel units} xywh {135 215 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Button {} {
label Reset
@@ -577,7 +577,7 @@ Use Ctrl-J for newlines.} xywh {95 40 190 20} labelfont 1 labelsize 11 when 15 t
tooltip {The X position of the widget as a number or formula.
Formulas can be simple math, including the variables
x, px, sx, cx, and i} xywh {95 150 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Input widget_y_input {
label {Y:}
@@ -585,7 +585,7 @@ x, px, sx, cx, and i} xywh {95 150 55 20} labelsize 11 align 5 textsize 11
tooltip {The Y position of the widget as a number or formula.
Formulas can be simple math, including the variables
y, py, sy, cy, and i} xywh {155 150 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Input widget_w_input {
label {Width:}
@@ -593,7 +593,7 @@ y, py, sy, cy, and i} xywh {155 150 55 20} labelsize 11 align 5 textsize 11
tooltip {The width of the widget as a number or formula.
Formulas can be simple math, including the variables
w, pw, sw, cw, and i} xywh {215 150 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Input widget_h_input {
label {Height:}
@@ -601,7 +601,7 @@ w, pw, sw, cw, and i} xywh {215 150 55 20} labelsize 11 align 5 textsize 11
tooltip {The height of the widget as a number or formula.
Formulas can be simple math, including the variables
h, ph, sh, ch, and i} xywh {275 150 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Choice {} {
label {Children:}
@@ -1076,8 +1076,8 @@ wCallback->do_callback(wCallback, v);} open
label {Callback:}
callback callback_cb
tooltip {The callback function or code for the widget. Use the variable name 'o' to access the Widget pointer and 'v' to access the user value.} xywh {95 225 310 80} box DOWN_BOX labelfont 1 labelsize 11 align 4 textfont 4 textsize 11 resizable
- code0 {\#include "widgets/CodeEditor.h"}
- class CodeEditor
+ code0 {\#include "widgets/Code_Editor.h"}
+ class {fld::widget::Code_Editor}
}
}
}
@@ -1136,7 +1136,7 @@ wCallback->do_callback(wCallback, v);} open
label {Row:}
callback grid_set_row_cb
xywh {95 60 40 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Group {} {open
xywh {135 60 30 20}
@@ -1158,7 +1158,7 @@ wCallback->do_callback(wCallback, v);} open
label {Column:}
callback grid_set_col_cb
xywh {175 60 40 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Group {} {open
xywh {215 60 30 20}
@@ -1271,13 +1271,13 @@ wCallback->do_callback(wCallback, v);} open
label {Width:}
callback grid_set_min_wdt_cb
xywh {95 135 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Input {} {
label {Height:}
callback grid_set_min_hgt_cb
xywh {155 135 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Box {} {
xywh {395 135 1 20} hide resizable
@@ -1292,7 +1292,7 @@ wCallback->do_callback(wCallback, v);} open
label {Row Span:}
callback grid_set_rowspan_cb
xywh {95 170 40 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Group {} {open
xywh {135 170 30 20}
@@ -1314,7 +1314,7 @@ wCallback->do_callback(wCallback, v);} open
label {Col. Span:}
callback grid_set_colspan_cb
xywh {175 170 40 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Group {} {open
xywh {215 170 30 20}
@@ -1376,7 +1376,7 @@ if (v == LOAD) {
}
}}
tooltip {Number of horizontal rows in the Grid group} xywh {95 60 40 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Group {} {open
xywh {135 60 30 20}
@@ -1426,7 +1426,7 @@ if (v == LOAD) {
}
}}
tooltip {Number of vertical columns in the Grid group} xywh {175 60 40 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Group {} {open
xywh {215 60 30 20}
@@ -1618,7 +1618,7 @@ if (v == LOAD) {
widget_grid_curr_row_attributes->do_callback(widget_grid_curr_row_attributes, LOAD);
}}
xywh {95 175 40 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Group {} {
callback propagate_load open
@@ -1669,7 +1669,7 @@ if (v == LOAD) {
}
}}
xywh {180 175 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Input {} {
label {Weight:}
@@ -1689,7 +1689,7 @@ if (v == LOAD) {
}
}}
xywh {240 175 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Input {} {
label {Gap:}
@@ -1709,7 +1709,7 @@ if (v == LOAD) {
}
}}
xywh {300 175 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
}
Fl_Box {} {
@@ -1735,7 +1735,7 @@ if (v == LOAD) {
widget_grid_curr_col_attributes->do_callback(widget_grid_curr_col_attributes, LOAD);
}}
xywh {95 210 40 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Group {} {open
xywh {135 210 30 20}
@@ -1785,7 +1785,7 @@ if (v == LOAD) {
}
}}
xywh {180 210 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Input {} {
label {Weight:}
@@ -1805,7 +1805,7 @@ if (v == LOAD) {
}
}}
xywh {240 210 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
Fl_Input {} {
label {Gap:}
@@ -1825,7 +1825,7 @@ if (v == LOAD) {
}
}}
xywh {300 210 55 20} labelsize 11 align 5 textsize 11
- class Fluid_Coord_Input
+ class {fld::widget::Formula_Input}
}
}
Fl_Box {} {