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_dial.html | 68 +++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 53 insertions(+), 15 deletions(-) (limited to 'doc/fl_dial.html') diff --git a/doc/fl_dial.html b/doc/fl_dial.html index dea5313..64eb6c3 100644 --- a/doc/fl_dial.html +++ b/doc/fl_dial.html @@ -42,7 +42,7 @@ -   + uchar Dial_Kind @@ -51,7 +51,7 @@ - + +
Functions and Procedures
Constructors
@@ -60,11 +60,18 @@ Fl_Dial(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 Dial;
 
+ + + + + + - - - - - - + - +
Functions and Procedures
 short angle1() const;
@@ -122,16 +129,6 @@ procedure Set_Angles
 
   
-void draw();
-
-procedure Draw
-       (This : in out Dial);
-
 int handle(int);
 
@@ -143,7 +140,7 @@ function Handle
   
See type() methods for Fl_WidgetSee type method for Fl_Widget.
 function Get_Dial_Type
        (This : in Dial)
@@ -152,7 +149,7 @@ function Get_Dial_Type
   
See type() methods for Fl_WidgetSee type method for Fl_Widget.
 procedure Set_Dial_Type
        (This : in out Dial;
@@ -163,6 +160,47 @@ procedure Set_Dial_Type
 
+ + + + + + + + + + + + + + + + + + + +
Protected Functions and Procedures
+void draw();
+
+procedure Draw
+       (This : in out Dial);
+
+void draw(int X, int Y, int W, int H);
+
+procedure Draw
+       (This       : in out Dial;
+        X, Y, W, H : in     Integer);
+
+int handle(int event, int X, int Y, int W, int H);
+
+function Handle
+       (This       : in out Dial;
+        Event      : in     Event_Kind;
+        X, Y, W, H : in     Integer)
+    return Event_Outcome;
+
+ + -- cgit