From 157f44ff7034212a29696c5bb2b87e4f6f20d625 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Thu, 16 Jan 2025 23:44:10 +1300 Subject: Added convenience widget constructors that specify the parent group to add to --- doc/fl_hor_value_slider.html | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'doc/fl_hor_value_slider.html') diff --git a/doc/fl_hor_value_slider.html b/doc/fl_hor_value_slider.html index d9aea6a..16b0eca 100644 --- a/doc/fl_hor_value_slider.html +++ b/doc/fl_hor_value_slider.html @@ -33,12 +33,12 @@ Fl_Hor_Value_Slider - Hor_Value_Slider + Horizontal_Value_Slider   - Hor_Value_Slider_Reference + Horizontal_Value_Slider_Reference @@ -56,7 +56,19 @@ Fl_Hor_Value_Slider(int X, int Y, int W, int H, const char *L=0); function Create (X, Y, W, H : in Integer; Text : in String := "") - return Hor_Value_Slider; + return Horizontal_Value_Slider; + + + + +Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually. +
+function Create
+       (Parent     : in out FLTK.Widgets.Groups.Group'Class;
+        X, Y, W, H : in     Integer;
+        Text       : in     String := "")
+    return Horizontal_Value_Slider;
 
-- cgit