From 157f44ff7034212a29696c5bb2b87e4f6f20d625 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber <contact@jedbarber.id.au> 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 @@ <tr> <td>Fl_Hor_Value_Slider</td> - <td>Hor_Value_Slider</td> + <td>Horizontal_Value_Slider</td> </tr> <tr> <td> </td> - <td>Hor_Value_Slider_Reference</td> + <td>Horizontal_Value_Slider_Reference</td> </tr> </table> @@ -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; +</pre></td> + </tr> + + <tr> +<td>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.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Horizontal_Value_Slider; </pre></td> </tr> -- cgit