From e93b9bbc02e2791f3a35b6f077fcbb8514c28aed Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sun, 12 Jan 2025 01:14:58 +1300 Subject: Refactored draw/handle methods in Widgets hierarchy, improved docs, added a few minor method bindings here and there --- doc/fl_value_input.html | 87 +++++++++++++++++++++++++++++++------------------ 1 file changed, 56 insertions(+), 31 deletions(-) (limited to 'doc/fl_value_input.html') diff --git a/doc/fl_value_input.html b/doc/fl_value_input.html index 3f84cee..778d37e 100644 --- a/doc/fl_value_input.html +++ b/doc/fl_value_input.html @@ -46,7 +46,25 @@ - + + + + + + + +
Functions and Procedures
Attributes
+Fl_Input input;
+
+function Text_Field
+       (This : in Value_Input)
+    return FLTK.Widgets.Inputs.Text.Text_Input_Reference;
+
+ + + + + +
Constructors
@@ -55,11 +73,18 @@ Fl_Value_Input(int x, int y, int w, int h, const char *l=0);
 
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return Value_Input;
 
+ + + + + + - - - - - - - - - - @@ -146,23 +154,23 @@ procedure Set_Shortcut @@ -235,6 +243,23 @@ procedure Set_Text_Size
Functions and Procedures
 Fl_Color cursor_color() const;
@@ -84,16 +109,6 @@ procedure Set_Cursor_Color
 
   
-void draw();
-
-procedure Draw
-       (This : in out Value_Input);
-
 int handle(int);
 
@@ -106,20 +121,13 @@ function Handle
 
   
-Fl_Input input;
-
-function Text_Field
-       (This : in Value_Input)
-    return FLTK.Widgets.Inputs.Text.Text_Input_Reference;
+void resize(int, int, int, int);
 
-void resize(int, int, int, int);
+procedure Resize
+       (This       : in out Value_Input;
+        X, Y, W, H : in     Integer);
 
 
-void soft(char s);
+char soft() const;
 
-procedure Set_Soft
-       (This : in out Value_Input;
-        To   : in     Boolean);
+function Is_Soft
+       (This : in Value_Input)
+    return Boolean;
 
-char soft() const;
+void soft(char s);
 
-function Is_Soft
-       (This : in Value_Input)
-    return Boolean;
+procedure Set_Soft
+       (This : in out Value_Input;
+        To   : in     Boolean);
 
+ + + + + + + + + +
Protected Functions and Procedures
+void draw();
+
+procedure Draw
+       (This : in out Value_Input);
+
+ + -- cgit