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_counter.html | 68 +++++++++++++++++++++++++++++++++-------------------- 1 file changed, 43 insertions(+), 25 deletions(-) (limited to 'doc/fl_counter.html') diff --git a/doc/fl_counter.html b/doc/fl_counter.html index bf5bfc3..43e7d92 100644 --- a/doc/fl_counter.html +++ b/doc/fl_counter.html @@ -46,7 +46,7 @@ - + - - - - +
Functions and Procedures
Constructors
@@ -55,20 +55,17 @@ Fl_Counter(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 Counter;
 
-void draw();
-
-procedure Draw
-       (This : in out Counter);
-
+ + + + + + + + + + - - - - - @@ -114,7 +115,7 @@ void step(double a, double b); void step(double a); @@ -122,12 +123,12 @@ procedure Set_Step @@ -200,6 +201,23 @@ procedure Set_Text_Size
Functions and Procedures
@@ -82,6 +79,15 @@ function Handle
 
Keep manual track of whatever you set lstep to.
+function Get_Long_Step
+       (This : in Counter)
+    return Long_Float;
+
 void lstep(double a);
@@ -94,19 +100,14 @@ procedure Set_Long_Step
   
 
-function Get_Long_Step
-       (This : in Counter)
-    return Long_Float;
+double step() const;
 
-void step(double a, double b);
+function Get_Step
+       (This : in Counter)
+    return Long_Float;
 
 
-procedure Set_Step
+procedure Set_Step_Top
        (This : in out Counter;
         To   : in     Long_Float);
 
-double step() const;
+void step(double a, double b);
 
-function Get_Step
-       (This : in Counter)
-    return Long_Float;
+procedure Set_Step_Both
+       (This        : in out Counter;
+        Short, Long : in     Long_Float);
 
+ + + + + + + + + +
Protected Functions and Procedures
+void draw();
+
+procedure Draw
+       (This : in out Counter);
+
+ + -- cgit