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_window.html | 176 ++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 142 insertions(+), 34 deletions(-) (limited to 'doc/fl_window.html') diff --git a/doc/fl_window.html b/doc/fl_window.html index 5dd6b3b..9b39c93 100644 --- a/doc/fl_window.html +++ b/doc/fl_window.html @@ -56,7 +56,35 @@ - + + + + + + + +
Functions and Procedures
Static Protected Attributes
+static Fl_Window * current_;
+
Intentionally left unbound.
+ + + + + + + + + + + +
Protected Attributes
+shape_data_type * shape_data_;
+
Intentionally left unbound.
+ + + + + @@ -77,11 +105,73 @@ Fl_Window(int x, int y, int w, int h, const char *title=0); +
Constructors
@@ -65,7 +93,7 @@ Fl_Window(int w, int h, const char *title=0);
 
 function Create
        (W, H : in Integer;
-        Text : in String)
+        Text : in String := "")
     return Window;
 
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return Window;
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Static Functions and Procedures
+static Fl_Window * current();
+
+function Last_Made_Current
+    return access Window'Class;
+
+static void default_callback(Fl_Window *, void *v);
+
 
+static void default_icon(const Fl_RGB_Image *);
+
+procedure Set_Default_Icon
+       (Pic : in out FLTK.Images.RGB.RGB_Image'Class);
+
+static void default_icons(const Fl_RGB_Image *[], int);
+
 
+static const char * default_xclass();
+
 
+static void default_xclass(const char *);
+
 
+ + + + + + - - - - - - - - - - - - - - -
Functions and Procedures
 virtual Fl_Window * as_window();
@@ -138,16 +228,6 @@ void copy_label(const char *a);
 
   
-static Fl_Window * current();
-
-function Last_Made_Current
-    return access Window'Class;
-
 void cursor(Fl_Cursor);
 
@@ -218,26 +298,6 @@ void default_cursor(Fl_Cursor c, Fl_Color, Fl_Color=FL_WHITE);
 
   
-static void default_icon(const Fl_RGB_Image *);
-
-procedure Set_Default_Icon
-       (Pic : in out FLTK.Images.RGB.RGB_Image'Class);
-
-virtual void draw();
-
-procedure Draw
-       (This : in out Window);
-
 void free_position();
 
@@ -336,6 +396,7 @@ procedure Hotspot
   
 void hotspot(const Fl_Widget *, int offscreen=0);
+
 void hotspot(const Fl_Widget &p, int offscreen=0);
 
@@ -533,6 +594,7 @@ void set_tooltip_window();
   
 void shape(const Fl_Image *img);
+
 void shape(const Fl_Image &b);
 
@@ -572,7 +634,8 @@ function Is_Shown
 
   
-void size_range(int minw, int minh, int maxw=0, int maxh=0, int dw=0, int dh=0, int aspect=0);
+void size_range(int minw, int minh, int maxw=0, int maxh=0,
+    int dw=0, int dh=0, int aspect=0);
 
 procedure Set_Size_Range
@@ -639,6 +702,51 @@ function Get_Y_Root
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Protected Functions and Procedures
+virtual void draw();
+
+procedure Draw
+       (This : in out Window);
+
+virtual void flush();
+
 
+int force_position() const;
+
 
+void force_position(int force);
+
 
+void free_icons();
+
 
+ + -- cgit