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_adjuster.html | 58 +++++-- doc/fl_box.html | 36 +++- doc/fl_browser.html | 6 +- doc/fl_button.html | 88 ++++++++-- doc/fl_cairo_window.html | 10 -- doc/fl_chart.html | 48 +++--- doc/fl_check_button.html | 22 +-- doc/fl_choice.html | 40 +++-- doc/fl_clock.html | 26 +-- doc/fl_clock_output.html | 72 ++++---- doc/fl_color_chooser.html | 98 +++++------ doc/fl_counter.html | 68 +++++--- doc/fl_dial.html | 68 ++++++-- doc/fl_display_device.html | 18 +- doc/fl_double_window.html | 63 ++++--- doc/fl_file_chooser.html | 80 ++++----- doc/fl_file_input.html | 2 +- doc/fl_fill_dial.html | 22 +-- doc/fl_fill_slider.html | 22 +-- doc/fl_float_input.html | 2 +- doc/fl_gl_window.html | 84 +++++---- doc/fl_group.html | 110 +++++++++--- doc/fl_help_view.html | 48 ++++-- doc/fl_hor_fill_slider.html | 22 +-- doc/fl_hor_nice_slider.html | 22 +-- doc/fl_hor_slider.html | 22 +-- doc/fl_hor_value_slider.html | 22 +-- doc/fl_input_.html | 2 +- doc/fl_input_choice.html | 86 +++++----- doc/fl_int_input.html | 2 +- doc/fl_light_button.html | 34 ++-- doc/fl_line_dial.html | 22 +-- doc/fl_menu_.html | 109 ++++++++---- doc/fl_menu_bar.html | 34 ++-- doc/fl_menu_button.html | 38 +++-- doc/fl_menu_window.html | 27 +-- doc/fl_multiline_input.html | 2 +- doc/fl_multiline_output.html | 2 +- doc/fl_nice_slider.html | 22 +-- doc/fl_output.html | 2 +- doc/fl_overlay_window.html | 53 ++++-- doc/fl_pack.html | 61 ++++--- doc/fl_progress.html | 44 ++--- doc/fl_radio_button.html | 22 +-- doc/fl_radio_light_button.html | 22 +-- doc/fl_radio_round_button.html | 22 +-- doc/fl_repeat_button.html | 17 +- doc/fl_return_button.html | 34 ++-- doc/fl_roller.html | 34 ++-- doc/fl_round_button.html | 22 +-- doc/fl_round_clock.html | 31 +--- doc/fl_scroll.html | 71 ++++++-- doc/fl_scrollbar.html | 36 ++-- doc/fl_secret_input.html | 2 +- doc/fl_simple_counter.html | 22 +-- doc/fl_single_window.html | 32 ++-- doc/fl_slider.html | 78 +++++++-- doc/fl_spinner.html | 59 +++++-- doc/fl_surface_device.html | 40 ++--- doc/fl_tabs.html | 48 ++++-- doc/fl_text_display.html | 56 ++++-- doc/fl_text_editor.html | 379 +++++++++++++++++++++++------------------ doc/fl_tile.html | 21 ++- doc/fl_toggle_button.html | 22 +-- doc/fl_valuator.html | 112 +++++++++--- doc/fl_value_input.html | 87 ++++++---- doc/fl_value_output.html | 52 +++--- doc/fl_value_slider.html | 36 ++-- doc/fl_widget.html | 2 +- doc/fl_window.html | 176 +++++++++++++++---- doc/fl_wizard.html | 42 +++-- 71 files changed, 1959 insertions(+), 1337 deletions(-) (limited to 'doc') diff --git a/doc/fl_adjuster.html b/doc/fl_adjuster.html index 957a82c..9f67d97 100644 --- a/doc/fl_adjuster.html +++ b/doc/fl_adjuster.html @@ -46,7 +46,7 @@ - + +
Functions and Procedures
Constructors
@@ -55,11 +55,47 @@ Fl_Adjuster(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 Adjuster;
 
+ + + + + + + + + + + + + + + + +
Functions and Procedures
+int soft() const;
+
+function Is_Soft
+       (This : in Adjuster)
+    return Boolean;
+
+void soft(int s);
+
+procedure Set_Soft
+       (This : in out Adjuster;
+        To   : in     Boolean);
+
+ + + + + + - - - - - diff --git a/doc/fl_box.html b/doc/fl_box.html index b18e479..566105a 100644 --- a/doc/fl_box.html +++ b/doc/fl_box.html @@ -23,6 +23,7 @@ +
Protected Functions and Procedures
 void draw();
@@ -84,23 +120,11 @@ function Handle
 
   
-void soft(int s);
-
-procedure Set_Soft
-       (This : in out Adjuster;
-        To   : in     Boolean);
-
-int soft() const;
+void value_damage();
 
-function Is_Soft
-       (This : in Adjuster)
-    return Boolean;
+procedure Value_Damage
+       (This : in out Adjuster);
 
Fl_Box FLTK.Widgets.Boxes
@@ -39,25 +40,46 @@   Box_Reference + - + + + + + + +
Functions and Procedures
Constructors
-Fl_Box (int X, int Y, int W, int H, const char *l=0);
+Fl_Box(Fl_Boxtype b, int X, int Y, int W, int H, const char *l);
+
+function Create
+       (Kind       : in Box_Kind;
+        X, Y, W, H : in Integer;
+        Text       : in String := "")
+    return Box;
+
+Fl_Box(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 Box;
 
+ + + + + + +
Functions and Procedures
 virtual int handle(int);
@@ -70,6 +92,13 @@ function Handle
 
+ + + + + + +
Protected Functions and Procedures
 void draw();
@@ -79,6 +108,7 @@ procedure Draw
        (This : in out Box);
 
diff --git a/doc/fl_browser.html b/doc/fl_browser.html index f06f1e9..0b0a290 100644 --- a/doc/fl_browser.html +++ b/doc/fl_browser.html @@ -428,7 +428,11 @@ function Number_Of_Lines
 void size(int W, int H);
 
-Falls through to Fl_Widget::size(int, int) anyway so binding unnecessary. +
+procedure Resize
+       (This : in out Textline_Browser;
+        W, H : in     Integer);
+
diff --git a/doc/fl_button.html b/doc/fl_button.html index b074f3b..c95ebb4 100644 --- a/doc/fl_button.html +++ b/doc/fl_button.html @@ -41,7 +41,7 @@ -   + int State @@ -50,7 +50,21 @@ - + + + + + + + +
Functions and Procedures
Static Protected Attributes
+static Fl_Widget_Tracker * key_release_tracker = 0;
+
Intentionally left unbound.
+ + + + + +
Constructors
@@ -59,16 +73,23 @@ Fl_Button(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 Button;
 
+ + + + + + - + @@ -97,24 +118,14 @@ procedure Set_Down_Box - + - - - - - - + @@ -133,7 +144,7 @@ function Handle - + @@ -172,7 +183,7 @@ procedure Set_Shortcut - + @@ -200,6 +211,47 @@ function Get_State
Functions and Procedures
 int clear();
 
See int value();See value / Set_State.
 Fl_Color down_color() const;
 
 See selection_color / Get_Selection_Color from Fl_Widget.
 void down_color(unsigned c);
 
 
-virtual void draw();
-
-procedure Draw
-       (This : in out Button);
-
See selection_color / Set_Selection_Color from Fl_Widget.
 int set();
 
See int value();See value / Set_State.
 void shortcut(const char *s);
 
See void shortcut(int s);See shortcut / Set_Shortcut.
+ + + + + + + + + +
Static Protected Functions and Procedures
+static void key_release_timeout(void *);
+
Intentionally left unbound.
+ + + + + + + + + + + + + + + + +
Protected Functions and Procedures
+virtual void draw();
+
+procedure Draw
+       (This : in out Button);
+
+void simulate_key_action();
+
+procedure Simulate_Key_Action
+       (This : in out Button);
+
+ + diff --git a/doc/fl_cairo_window.html b/doc/fl_cairo_window.html index dadfbb3..d6243aa 100644 --- a/doc/fl_cairo_window.html +++ b/doc/fl_cairo_window.html @@ -91,16 +91,6 @@ function Create - - - - - - - - + + +
Functions and Procedures
 
-function Handle
-       (This  : in out Cairo_Window;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
 void set_draw_cb(cairo_draw_cb cb);
diff --git a/doc/fl_chart.html b/doc/fl_chart.html
index aaaa30b..be2099b 100644
--- a/doc/fl_chart.html
+++ b/doc/fl_chart.html
@@ -46,7 +46,7 @@
 
 
 
-  
+  
 
+
Functions and Procedures
Constructors
@@ -55,11 +55,18 @@ Fl_Chart(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 Chart;
 
+ + + + + + - - - - - - - - - -
Functions and Procedures
 void add(double val, const char *str=0, unsigned col=0);
@@ -129,26 +136,6 @@ procedure Clear
 
   
-void draw();
-
-procedure Draw
-       (This : in out Chart);
-
 
-function Handle
-       (This  : in out Chart;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
 void insert(int ind, double val, const char *str=0, unsigned col=0);
 
@@ -288,6 +275,23 @@ procedure Set_Text_Size
 
+ + + + + + + + + +
Protected Functions and Procedures
+void draw();
+
+procedure Draw
+       (This : in out Chart);
+
+ + diff --git a/doc/fl_check_button.html b/doc/fl_check_button.html index 4fea930..46da8fb 100644 --- a/doc/fl_check_button.html +++ b/doc/fl_check_button.html @@ -45,7 +45,7 @@ - + - - - - - - - - - -
Functions and Procedures
Constructors
@@ -54,29 +54,11 @@ Fl_Check_Button(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 Check_Button;
 
 
-procedure Draw
-       (This : in out Check_Button);
-
 
-function Handle
-       (This  : in out Check_Button;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_choice.html b/doc/fl_choice.html index f75d9db..9f83a30 100644 --- a/doc/fl_choice.html +++ b/doc/fl_choice.html @@ -46,7 +46,7 @@ - + - - - - +
Functions and Procedures
Constructors
@@ -55,20 +55,17 @@ Fl_Choice(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 Choice;
 
-void draw();
-
-procedure Draw
-       (This : in out Choice);
-
+ + + + + - + @@ -127,6 +124,23 @@ procedure Set_Chosen
Functions and Procedures
@@ -83,9 +80,9 @@ function Handle
   
 Get the index into the Fl_Menu_Item array and do a manual lookup.
-function Chosen
+function Get_Chosen
        (This : in Choice)
     return FLTK.Menu_Items.Menu_Item_Reference;
 
+ + + + + + + + + +
Protected Functions and Procedures
+void draw();
+
+procedure Draw
+       (This : in out Choice);
+
+ + diff --git a/doc/fl_clock.html b/doc/fl_clock.html index 2772e83..c648133 100644 --- a/doc/fl_clock.html +++ b/doc/fl_clock.html @@ -45,7 +45,7 @@ - + @@ -67,27 +67,17 @@ Fl_Clock(uchar t, int X, int Y, int W, int H, const char *L); function Create (Kind : in Box_Kind; X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Updated_Clock; - - - - +
Functions and Procedures
Constructors
@@ -54,7 +54,7 @@ Fl_Clock(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 Updated_Clock;
 
 
-procedure Draw
-       (This : in out Updated_Clock);
-
-
 
-procedure Draw
-       (This       : in out Clock;
-        X, Y, W, H : in     Integer);
-
+ - + - + - + - + @@ -65,7 +65,7 @@
Functions and Procedures
diff --git a/doc/fl_clock_output.html b/doc/fl_clock_output.html
index 9fa7bd4..115e6d3 100644
--- a/doc/fl_clock_output.html
+++ b/doc/fl_clock_output.html
@@ -41,22 +41,22 @@
   
 int Hour
 int Minute
 int Second
 ulong Time_Value
- + - - - - +
Functions and Procedures
Constructors
@@ -74,41 +74,17 @@ Fl_Clock_Output(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 Clock;
 
-void draw();
-
-procedure Draw
-       (This : in out Clock);
-
- -
-void draw(int X, int Y, int W, int H);
-
-
-procedure Draw
-       (This       : in out Clock;
-        X, Y, W, H : in     Integer);
-
- - -  -
-function Handle
-       (This  : in out Clock;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
- + + +
Functions and Procedures
@@ -181,6 +157,34 @@ function Get_Time
 
+ + + + + + + + + + + + + + +
Protected Functions and Procedures
+void draw();
+
+procedure Draw
+       (This : in out Clock);
+
+void draw(int X, int Y, int W, int H);
+
+procedure Draw
+       (This       : in out Clock;
+        X, Y, W, H : in     Integer);
+
+ + diff --git a/doc/fl_color_chooser.html b/doc/fl_color_chooser.html index c599d7e..d031806 100644 --- a/doc/fl_color_chooser.html +++ b/doc/fl_color_chooser.html @@ -26,6 +26,9 @@ +

Note:

+See Fl_Ask for related symbols that are not members of the Fl_Color_Chooser class.

+ @@ -42,7 +45,7 @@ - + @@ -51,7 +54,7 @@
 int Color_Mode
- + +
Functions and Procedures
Constructors
@@ -60,44 +63,57 @@ Fl_Color_Chooser(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 Color_Chooser;
 
+ + + + + + - - - - - +
Static Functions and Procedures
-double b() const;
+static void hsv2rgb(double H, double S, double V,
+    double &R, double &G, double &B);
 
-function Get_Blue
-       (This : in Color_Chooser)
-    return Long_Float;
+procedure HSV_To_RGB
+       (H, S, V : in     Long_Float;
+        R, G, B :    out Long_Float);
 
 
-function Color_Was_Changed
-       (This : in Color_Chooser)
-    return Boolean;
+static void rgb2hsv(double R, double G, double B,
+    double &H, double &S, double &V);
 
 
-procedure Clear_Changed
-       (This : in out Color_Chooser);
+procedure RGB_To_HSV
+       (R, G, B : in     Long_Float;
+        H, S, V :    out Long_Float);
 
+ + + + + + - + @@ -112,16 +128,6 @@ function Get_Green - - - - - @@ -185,6 +196,11 @@ int rgb(double R, double G, double B); procedure Set_RGB (This : in out Color_Chooser; R, G, B : in Long_Float); + +function Set_RGB + (This : in out Color_Chooser; + R, G, B : in Long_Float) + return Boolean; @@ -210,28 +226,6 @@ function Get_Value - - - - - - - - - -
Functions and Procedures
 
-procedure Draw
-       (This : in out Color_Chooser);
+double b() const;
+
+function Get_Blue
+       (This : in Color_Chooser)
+    return Long_Float;
 
 
-function Handle
-       (This  : in out Color_Chooser;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
 int hsv(double H, double S, double V);
@@ -130,6 +136,11 @@ int hsv(double H, double S, double V);
 procedure Set_HSV
        (This    : in out Color_Chooser;
         H, S, V : in     Long_Float);
+
+function Set_HSV
+       (This    : in out Color_Chooser;
+        H, S, V : in     Long_Float)
+    return Boolean;
 
-static void hsv2rgb(double H, double S, double V, double &R, double &G, double &B);
-
-procedure HSV_To_RGB
-       (H, S, V : in     Long_Float;
-        R, G, B :    out Long_Float);
-
-static void rgb2hsv(double R, double G, double B, double &H, double &S, double &V);
-
-procedure RGB_To_HSV
-       (R, G, B : in     Long_Float;
-        H, S, V :    out Long_Float);
-
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);
+
+ + 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;
+
+ + diff --git a/doc/fl_display_device.html b/doc/fl_display_device.html index 190a901..cd4e27d 100644 --- a/doc/fl_display_device.html +++ b/doc/fl_display_device.html @@ -78,13 +78,16 @@ function Create - + + -
Functions and Procedures
Static Functions and Procedures
-const char * class_name();
+static Fl_Display_Device * display_device();
+
+function Get_Platform_Display
+    return Display_Device_Reference;
 
Deprecated, use runtime tag checks instead.
@@ -92,16 +95,13 @@ const char * class_name(); - + - +
Static Functions and Procedures
Functions and Procedures
-static Fl_Display_Device * display_device();
-
-function Get_Platform_Display
-    return Display_Device_Reference;
+const char * class_name();
 
Deprecated, use runtime tag checks instead.
diff --git a/doc/fl_double_window.html b/doc/fl_double_window.html index b93635b..6c61c93 100644 --- a/doc/fl_double_window.html +++ b/doc/fl_double_window.html @@ -39,14 +39,28 @@   Double_Window_Reference + + + + + + + + + + + +
Protected Attributes
+char force_doublebuffering_;
+
Intentionally left unbound.
- + @@ -67,18 +81,17 @@ Fl_Double_Window(int X, int Y, int W, int H, const char *L=0); - - - - +
Functions and Procedures
Constructors
@@ -55,7 +69,7 @@ Fl_Double_Window(int W, int H, const char *L=0);
 
 function Create
        (W, H : in Integer;
-        Text : in String)
+        Text : in String := "")
     return Double_Window;
 
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return Double_Window;
 
 
-procedure Draw
-       (This : in out Double_Window);
-
+ + + + + - - - - - - + @@ -137,6 +144,20 @@ void show(int a, char **b);
Functions and Procedures
@@ -90,16 +103,6 @@ procedure Flush
 
 
-function Handle
-       (This  : in out Double_Window;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
 void hide();
@@ -114,7 +117,11 @@ procedure Hide
 
 void resize(int,int,int,int);
 
 
+procedure Resize
+       (This       : in out Double_Window;
+        X, Y, W, H : in     Integer);
+
+ + + + + + + + + +
Protected Functions and Procedures
+void flush(int eraseoverlay);
+
 
+ + diff --git a/doc/fl_file_chooser.html b/doc/fl_file_chooser.html index 06dab72..15b1380 100644 --- a/doc/fl_file_chooser.html +++ b/doc/fl_file_chooser.html @@ -63,46 +63,6 @@ See Fl_Ask for related symbols that are not members of the Fl_File_Chooser class - - - - - - - - - - - - - - - - - - -
Attributes
-Fl_Button * newButton;
-
-function New_Button
-       (This : in out File_Chooser)
-    return FLTK.Widgets.Buttons.Button_Reference;
-
-Fl_Check_Button * previewButton;
-
-function Preview_Button
-       (This : in out File_Chooser)
-    return FLTK.Widgets.Buttons.Light.Check.Check_Button_Reference;
-
-Fl_Check_Button * showHiddenButton;
-
-function Show_Hidden_Button
-       (This : in out File_Chooser)
-    return FLTK.Widgets.Buttons.Light.Check.Check_Button_Reference;
-
- - - @@ -305,6 +265,46 @@ Sort_Method : not null FLTK.Filenames.Compare_Function := +
Static Attributes
+ + + + + + + + + + + + + + + + + +
Attributes
+Fl_Button * newButton;
+
+function New_Button
+       (This : in out File_Chooser)
+    return FLTK.Widgets.Buttons.Button_Reference;
+
+Fl_Check_Button * previewButton;
+
+function Preview_Button
+       (This : in out File_Chooser)
+    return FLTK.Widgets.Buttons.Light.Check.Check_Button_Reference;
+
+Fl_Check_Button * showHiddenButton;
+
+function Show_Hidden_Button
+       (This : in out File_Chooser)
+    return FLTK.Widgets.Buttons.Light.Check.Check_Button_Reference;
+
+ + + diff --git a/doc/fl_file_input.html b/doc/fl_file_input.html index b319f2e..89abfea 100644 --- a/doc/fl_file_input.html +++ b/doc/fl_file_input.html @@ -55,7 +55,7 @@ Fl_File_Input(int X, int Y, int W, int H, const char *L=0); diff --git a/doc/fl_fill_dial.html b/doc/fl_fill_dial.html index 12c96e7..f2419eb 100644 --- a/doc/fl_fill_dial.html +++ b/doc/fl_fill_dial.html @@ -46,7 +46,7 @@
Constructors
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return File_Input;
 
- + - - - - - - - - - -
Functions and Procedures
Constructors
@@ -55,29 +55,11 @@ Fl_Fill_Dial(int X, int Y, int W, int H, const char *L);
 
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return Fill_Dial;
 
 
-procedure Draw
-       (This : in out Fill_Dial);
-
 
-function Handle
-       (This  : in out Fill_Dial;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_fill_slider.html b/doc/fl_fill_slider.html index 804d026..f559b6b 100644 --- a/doc/fl_fill_slider.html +++ b/doc/fl_fill_slider.html @@ -46,7 +46,7 @@ - + - - - - - - - - - -
Functions and Procedures
Constructors
@@ -55,29 +55,11 @@ Fl_Fill_Slider(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 Fill_Slider;
 
 
-procedure Draw
-       (This : in out Fill_Slider);
-
 
-function Handle
-       (This  : in out Fill_Slider;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_float_input.html b/doc/fl_float_input.html index b43f0b2..747cfe7 100644 --- a/doc/fl_float_input.html +++ b/doc/fl_float_input.html @@ -55,7 +55,7 @@ Fl_Float_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 Float_Input;
 
diff --git a/doc/fl_gl_window.html b/doc/fl_gl_window.html index 50364dc..b213406 100644 --- a/doc/fl_gl_window.html +++ b/doc/fl_gl_window.html @@ -42,7 +42,7 @@ -   + int Mode_Mask @@ -51,25 +51,29 @@ - + + - @@ -78,38 +82,41 @@ function Can_Do
Static Functions and Procedures
Constructors
-static int can_do(const int *m);
+Fl_Gl_Window(int W, int H, const char *l=0);
+
+function Create
+       (W, H : in Integer;
+        Text : in String := "")
+    return GL_Window;
 
-Not applicable due to not being part of the public stable API -
-static int can_do(int m);
+Fl_Gl_Window(int X, int Y, int W, int H, const char *l=0);
 
-function Can_Do
-       (Mask : in Mode_Mask)
-    return Boolean;
+function Create
+       (X, Y, W, H : in Integer;
+        Text       : in String := "")
+    return GL_Window;
 
- + - + +
Functions and Procedures
Static Functions and Procedures
-Fl_Gl_Window(int W, int H, const char *l=0);
-
-function Create
-       (W, H : in Integer;
-        Text : in String := "")
-    return GL_Window;
+static int can_do(const int *m);
 
+Not applicable due to not being part of the public stable API. +
-Fl_Gl_Window(int X, int Y, int W, int H, const char *l=0);
+static int can_do(int m);
 
-function Create
-       (X, Y, W, H : in Integer;
-        Text       : in String := "")
-    return GL_Window;
+function Can_Do
+       (Mask : in Mode_Mask)
+    return Boolean;
 
+ + + + + + @@ -227,7 +234,7 @@ procedure Hide_Overlay void invalidate(); @@ -267,7 +274,7 @@ function Get_Mode int mode(const int *a); @@ -339,9 +346,11 @@ procedure Redraw_Overlay - + @@ -391,6 +400,23 @@ procedure Set_Valid
Functions and Procedures
 virtual Fl_Gl_Window * as_gl_window();
 
-Use view conversion and tag membership tests instead +Use view conversion and tag membership tests instead.
-Use Set_Valid instead +Use valid / Set_Valid instead.
-Not applicable due to not being part of the public stable API +Not applicable due to not being part of the public stable API.
 void resize(int, int, int, int);
 
-Use Resize/Reposition from FLTK.Widgets instead -
+procedure Resize
+       (This       : in out GL_Window;
+        X, Y, W, H : in     Integer);
+
+ + + + + + + + + +
Protected Functions and Procedures
+virtual void draw();
+
+procedure Draw
+       (This : in out GL_Window);
+
+ + diff --git a/doc/fl_group.html b/doc/fl_group.html index b191856..da6f604 100644 --- a/doc/fl_group.html +++ b/doc/fl_group.html @@ -42,12 +42,12 @@ -   + int Index -   + int Extended_Index @@ -61,7 +61,7 @@ - + +
Functions and Procedures
Constructors
@@ -70,11 +70,45 @@ Fl_Group(int, int, int, int, const char *=0);
 
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return Group;
 
+ + + + + + + + + + + + + + + + +
Static Functions and Procedures
+static Fl_Group * current();
+
+function Get_Current
+    return access Group'Class;
+
+static void current(Fl_Group *g);
+
+procedure Set_Current
+       (To : in Group'Class);
+
+ + + + + + - - - - - @@ -218,6 +243,7 @@ void end(); + + + + + + + + +
Functions and Procedures
 Fl_Widget *& _ddfdesign_kludge();
@@ -85,6 +119,7 @@ Fl_Widget *& _ddfdesign_kludge();
   
 void add(Fl_Widget &);
+
 void add(Fl_Widget *o);
 
@@ -200,16 +235,6 @@ unsigned int clip_children();
 
   
-void draw();
-
-procedure Draw
-       (This : in out Group);
-
 void end();
 
 
 int find(const Fl_Widget *) const;
+
 int find(const Fl_Widget &o) const;
 
@@ -311,6 +337,7 @@ procedure Remove
   
 void remove(Fl_Widget &);
+
 void remove(Fl_Widget *o);
 
@@ -322,7 +349,19 @@ procedure Remove
 
   
+Fl_Widget * resizable() const;
+
+function Get_Resizable
+       (This : in Group)
+    return access Widget'Class;
+
 void resizable(Fl_Widget &o);
+
 void resizable(Fl_Widget *o);
 
@@ -334,40 +373,61 @@ procedure Set_Resizable
 
   
-Fl_Widget * resizable() const;
+void resize(int, int, int, int);
 
 
+ + + + + + + + + + + + + + + + + +
Protected Functions and Procedures
-function Get_Resizable
-       (This : in Group)
-    return access Widget'Class;
+void draw();
+
+procedure Draw
+       (This : in out Group);
 
-void resize(int, int, int, int);
+void draw_child(Fl_Widget &widget) const;
 
 
-static Fl_Group * current();
+void draw_children();
 
 
-function Get_Current
-    return access Group'Class;
+void draw_outside_label(const Fl_Widget &widget) const;
 
 
-static void current(Fl_Group *g);
+int * sizes();
 
 
-procedure Set_Current
-       (To : in Group'Class);
+void update_child(Fl_Widget &widget) const;
 
 
diff --git a/doc/fl_help_view.html b/doc/fl_help_view.html index 1431ab2..fed45e0 100644 --- a/doc/fl_help_view.html +++ b/doc/fl_help_view.html @@ -42,12 +42,12 @@ -   + int Position -   + int Extended_Position @@ -64,7 +64,7 @@ Errors -   + int Load_Help_Error @@ -73,7 +73,7 @@ - + +
Functions and Procedures
Constructors
@@ -87,6 +87,13 @@ function Create
 
+ + + + + + - - - - - - + @@ -394,6 +395,23 @@ procedure Set_Content
Functions and Procedures
 void clear_selection();
@@ -110,16 +117,6 @@ function Current_Directory
 
   
-void draw();
-
-procedure Draw
-       (This : in out Help_View);
-
 const char * filename() const;
 
@@ -202,7 +199,11 @@ procedure Load
 
 void resize(int, int, int, int);
 
 
+procedure Resize
+       (This       : in out Help_View;
+        X, Y, W, H : in     Integer);
+
+ + + + + + + + + +
Protected Functions and Procedures
+void draw();
+
+procedure Draw
+       (This : in out Help_View);
+
+ + diff --git a/doc/fl_hor_fill_slider.html b/doc/fl_hor_fill_slider.html index 4fbc112..ca8d484 100644 --- a/doc/fl_hor_fill_slider.html +++ b/doc/fl_hor_fill_slider.html @@ -46,7 +46,7 @@ - + - - - - - - - - - -
Functions and Procedures
Constructors
@@ -55,29 +55,11 @@ Fl_Hor_Fill_Slider(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 Horizontal_Fill_Slider;
 
 
-procedure Draw
-       (This : in out Horizontal_Fill_Slider);
-
 
-function Handle
-       (This  : in out Horizontal_Fill_Slider;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_hor_nice_slider.html b/doc/fl_hor_nice_slider.html index 00347c8..5bf60d6 100644 --- a/doc/fl_hor_nice_slider.html +++ b/doc/fl_hor_nice_slider.html @@ -46,7 +46,7 @@ - + - - - - - - - - - -
Functions and Procedures
Constructors
@@ -55,29 +55,11 @@ Fl_Hor_Nice_Slider(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 Horizontal_Nice_Slider;
 
 
-procedure Draw
-       (This : in out Horizontal_Nice_Slider);
-
 
-function Handle
-       (This  : in out Horizontal_Nice_Slider;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_hor_slider.html b/doc/fl_hor_slider.html index 0c3fe08..2b65336 100644 --- a/doc/fl_hor_slider.html +++ b/doc/fl_hor_slider.html @@ -46,7 +46,7 @@ - + - - - - - - - - - -
Functions and Procedures
Constructors
@@ -55,29 +55,11 @@ Fl_Hor_Slider(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 Horizontal_Slider;
 
 
-procedure Draw
-       (This : in out Horizontal_Slider);
-
 
-function Handle
-       (This  : in out Horizontal_Slider;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_hor_value_slider.html b/doc/fl_hor_value_slider.html index 1a1a9fe..d9aea6a 100644 --- a/doc/fl_hor_value_slider.html +++ b/doc/fl_hor_value_slider.html @@ -46,7 +46,7 @@ - + - - - - - - - - - -
Functions and Procedures
Constructors
@@ -55,29 +55,11 @@ 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)
+        Text       : in String := "")
     return Hor_Value_Slider;
 
 
-procedure Draw
-       (This : in out Hor_Value_Slider);
-
 
-function Handle
-       (This  : in out Hor_Value_Slider;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_input_.html b/doc/fl_input_.html index 582f0c6..01e1e57 100644 --- a/doc/fl_input_.html +++ b/doc/fl_input_.html @@ -70,7 +70,7 @@ Fl_Input_(int, int, int, int, const char*=0);
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return Input;
 
diff --git a/doc/fl_input_choice.html b/doc/fl_input_choice.html index ebd1d9c..9afac9e 100644 --- a/doc/fl_input_choice.html +++ b/doc/fl_input_choice.html @@ -46,7 +46,36 @@ - + + + + + + + + + + + + +
Functions and Procedures
Attributes
+Fl_Input * input();
+
+function Text_Field
+       (This : in out Input_Choice)
+    return FLTK.Widgets.Inputs.Text.Text_Input_Reference;
+
+Fl_Menu_Button * menubutton();
+
+function Button_Menu
+       (This : in out Input_Choice)
+    return FLTK.Widgets.Menus.Menu_Buttons.Menu_Button_Reference;
+
+ + + + + +
Constructors
@@ -55,16 +84,23 @@ Fl_Input_Choice(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 Input_Choice;
 
+ + + + + + - + @@ -120,35 +156,6 @@ procedure Set_Down_Box - - - - - - - - - - - - - - - - - - - - diff --git a/doc/fl_int_input.html b/doc/fl_int_input.html index fa9b9c9..eca4ea0 100644 --- a/doc/fl_int_input.html +++ b/doc/fl_int_input.html @@ -55,7 +55,7 @@ Fl_Int_Input(int X, int Y, int W, int H, const char *L=0); diff --git a/doc/fl_light_button.html b/doc/fl_light_button.html index aa83dc4..25d57e1 100644 --- a/doc/fl_light_button.html +++ b/doc/fl_light_button.html @@ -45,7 +45,7 @@
Functions and Procedures
 void add(const char *s);
 
Use Menu_Button insteadUse menubutton / Button_Menu instead.
 
-procedure Draw
-       (This : in out Input_Choice);
-
 
-function Handle
-       (This  : in out Input_Choice;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
-Fl_Input * input();
-
-function Text_Field
-       (This : in out Input_Choice)
-    return FLTK.Widgets.Inputs.Text.Text_Input_Reference;
-
 const Fl_Menu_Item * menu();
@@ -165,20 +172,13 @@ void menu(const Fl_Menu_Item *m);
 
   
-Fl_Menu_Button * menubutton();
-
-function Button_Menu
-       (This : in out Input_Choice)
-    return FLTK.Widgets.Menus.Menu_Buttons.Menu_Button_Reference;
+void resize(int X, int Y, int W, int H);
 
-void resize(int X, int Y, int W, int H);
+procedure Resize
+       (This       : in out Input_Choice;
+        X, Y, W, H : in     Integer);
 
 
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return Integer_Input;
 
- + +
Functions and Procedures
Constructors
@@ -54,30 +54,44 @@ Fl_Light_Button(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 Light_Button;
 
+ + + + + + +
Functions and Procedures
-void draw();
+int handle(int);
 
-procedure Draw
-       (This : in out Light_Button);
+function Handle
+       (This  : in out Light_Button;
+        Event : in     Event_Kind)
+    return Event_Outcome;
 
+ + + + + + diff --git a/doc/fl_line_dial.html b/doc/fl_line_dial.html index ece07bb..da3b740 100644 --- a/doc/fl_line_dial.html +++ b/doc/fl_line_dial.html @@ -46,7 +46,7 @@
Protected Functions and Procedures
-int handle(int);
+void draw();
 
-function Handle
-       (This  : in out Light_Button;
-        Event : in     Event_Kind)
-    return Event_Outcome;
+procedure Draw
+       (This : in out Light_Button);
 
- + - - - - - - - - - -
Functions and Procedures
Constructors
@@ -55,29 +55,11 @@ Fl_Line_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 Line_Dial;
 
 
-procedure Draw
-       (This : in out Line_Dial);
-
 
-function Handle
-       (This  : in out Line_Dial;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_menu_.html b/doc/fl_menu_.html index ac54a35..5f93e0f 100644 --- a/doc/fl_menu_.html +++ b/doc/fl_menu_.html @@ -42,12 +42,12 @@ -   + int Index -   + int Extended_Index @@ -61,7 +61,49 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Functions and Procedures
Protected Attributes
+uchar alloc;
+
Intentionally left unbound.
+uchar down_box_;
+
Intentionally left unbound.
+Fl_Color textcolor_;
+
Intentionally left unbound.
+Fl_Font textfont_;
+
Intentionally left unbound.
+Fl_Fontsize textsize_;
+
Intentionally left unbound.
+ + + + + +
Constructors
@@ -70,14 +112,22 @@ Fl_Menu_(int, int, int, int, const char *=0);
 
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return Menu;
 
+ + + + + + @@ -153,22 +204,14 @@ procedure Set_Down_Box - + - - - - - - + @@ -255,16 +298,6 @@ procedure Make_Global - - - - - @@ -325,7 +360,8 @@ function Item @@ -595,6 +631,21 @@ procedure Set_Chosen
Functions and Procedures
-int add(const char *, int shortcut, Fl_Callback *, void *=0, int=0);
+int add(const char *, int shortcut, Fl_Callback *,
+    void *=0, int=0);
 
 procedure Add
@@ -91,7 +141,8 @@ procedure Add
 
   
-int add(const char *a, const char *b, Fl_Callback *c, void *d=0, int e=0);
+int add(const char *a, const char *b, Fl_Callback *c,
+    void *d=0, int e=0);
 
 
 Fl_Color down_color() const;
 
 See selection_color / Get_Selection_Color from Fl_Widget.
 void down_color(unsigned c);
 
 
 
-procedure Draw
-       (This : in out Menu) is null;
-
See selection_color / Set_Selection_Color from Fl_Widget.
 
-function Handle
-       (This  : in out Menu;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
 
 function Has_Item
        (This  : in Menu;
         Place : in Index)
@@ -283,7 +316,8 @@ function Has_Item
 
   
-int insert(int index, const char *, int shortcut, Fl_Callback *, void *=0, int=0);
+int insert(int index, const char *, int shortcut,
+    Fl_Callback *, void *=0, int=0);
 
 procedure Insert
@@ -298,7 +332,8 @@ procedure Insert
 
   
-int insert(int index, const char *a, const char *b, Fl_Callback *c, void *d=0, int e=0);
+int insert(int index, const char *a, const char *b,
+    Fl_Callback *c, void *d=0, int e=0);
 
 
-int item_pathname(char *name, int namelen, const Fl_Menu_Item *finditem=0) const;
+int item_pathname(char *name, int namelen,
+    const Fl_Menu_Item *finditem=0) const;
 
 
+ + + + + + + + + +
Protection Functions and Procedures
+int item_pathname_(char *name, int namelen,
+    const Fl_Menu_Item *finditem, const Fl_Menu_Item *menu=0) const;
+
Intentionally left unbound.
+ + diff --git a/doc/fl_menu_bar.html b/doc/fl_menu_bar.html index ec1b37b..fc21bf7 100644 --- a/doc/fl_menu_bar.html +++ b/doc/fl_menu_bar.html @@ -46,7 +46,7 @@ - + +
Functions and Procedures
Constructors
@@ -55,30 +55,44 @@ Fl_Menu_Bar(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 Menu_Bar;
 
+ + + + + + +
Functions and Procedures
-void draw();
+int handle(int);
 
-procedure Draw
-       (This : in out Menu_Bar);
+function Handle
+       (This  : in out Menu_Bar;
+        Event : in     Event_Kind)
+    return Event_Outcome;
 
+ + + + + + diff --git a/doc/fl_menu_button.html b/doc/fl_menu_button.html index 17dfa20..e0fbeaa 100644 --- a/doc/fl_menu_button.html +++ b/doc/fl_menu_button.html @@ -51,7 +51,7 @@
Protected Functions and Procedures
-int handle(int);
+void draw();
 
-function Handle
-       (This  : in out Menu_Bar;
-        Event : in     Event_Kind)
-    return Event_Outcome;
+procedure Draw
+       (This : in out Menu_Bar);
 
- + - - - - +
Functions and Procedures
Constructors
@@ -60,20 +60,17 @@ Fl_Menu_Button(int, int, int, int, const char *=0);
 
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return Menu_Button;
 
-void draw();
-
-procedure Draw
-       (This : in out Menu_Button);
-
+ + + + + - +
Functions and Procedures
@@ -99,7 +96,7 @@ function Popup
   
 Use the type method in Fl_Widget with the popup_buttons enum.
 procedure Set_Popup_Kind
        (This : in out Menu_Button;
@@ -110,6 +107,23 @@ procedure Set_Popup_Kind
 
+ + + + + + + + + +
Protected Functions and Procedures
+void draw();
+
+procedure Draw
+       (This : in out Menu_Button);
+
+ + diff --git a/doc/fl_menu_window.html b/doc/fl_menu_window.html index e08ba53..523c1d5 100644 --- a/doc/fl_menu_window.html +++ b/doc/fl_menu_window.html @@ -46,7 +46,7 @@ - + +
Functions and Procedures
Constructors
@@ -72,6 +72,13 @@ function Create
 
+ + + + + + - - - - - - - - - - diff --git a/doc/fl_multiline_output.html b/doc/fl_multiline_output.html index e4fa771..eacab31 100644 --- a/doc/fl_multiline_output.html +++ b/doc/fl_multiline_output.html @@ -55,7 +55,7 @@ Fl_Multiline_Output(int X, int Y, int W, int H, const char *L=0); diff --git a/doc/fl_nice_slider.html b/doc/fl_nice_slider.html index 188c673..c2931be 100644 --- a/doc/fl_nice_slider.html +++ b/doc/fl_nice_slider.html @@ -46,7 +46,7 @@
Functions and Procedures
 void clear_overlay();
@@ -79,14 +86,6 @@ void clear_overlay();
 
See set_overlay();
 
-procedure Draw
-       (This : in out Menu_Window);
-
 void erase();
@@ -104,16 +103,6 @@ procedure Flush
 
 
-function Handle
-       (This  : in out Menu_Window;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
 void hide();
diff --git a/doc/fl_multiline_input.html b/doc/fl_multiline_input.html
index 25067e6..fe1af2f 100644
--- a/doc/fl_multiline_input.html
+++ b/doc/fl_multiline_input.html
@@ -55,7 +55,7 @@ Fl_Multiline_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 Multiline_Input;
 
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return Multiline_Output;
 
- + - - - - - - - - - -
Functions and Procedures
Constructors
@@ -55,29 +55,11 @@ Fl_Nice_Slider(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 Nice_Slider;
 
 
-procedure Draw
-       (This : in out Nice_Slider);
-
 
-function Handle
-       (This  : in out Nice_Slider;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_output.html b/doc/fl_output.html index 2af1279..7d42bfb 100644 --- a/doc/fl_output.html +++ b/doc/fl_output.html @@ -55,7 +55,7 @@ Fl_Output(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 Output;
 
diff --git a/doc/fl_overlay_window.html b/doc/fl_overlay_window.html index dd36675..ac86aac 100644 --- a/doc/fl_overlay_window.html +++ b/doc/fl_overlay_window.html @@ -46,7 +46,7 @@ - + +
Functions and Procedures
Constructors
@@ -72,6 +72,13 @@ function Create
 
+ + + + + + - - - - - - + + + + + + +
Functions and Procedures
 int can_do_overlay();
@@ -85,16 +92,6 @@ function Can_Do_Overlay
 
   
-virtual void draw_overlay()=0;
-
-procedure Draw_Overlay
-       (This : in out Overlay_Window) is null;
-
 void flush();
 
@@ -127,16 +124,16 @@ procedure Redraw_Overlay
 
 void resize(int, int, int, int);
 
-Use Resize/Reposition from FLTK.Widgets instead -
+procedure Resize
+       (This       : in out Overlay_Window;
+        X, Y, W, H : in     Integer);
+
 void show();
-
-void show(int a, char **b);
 
 procedure Show
@@ -144,6 +141,30 @@ procedure Show
 
+void show(int a, char **b);
+
 
+ + + + + + + + + + +
Protected Functions and Procedures
+virtual void draw_overlay()=0;
+
+procedure Draw_Overlay
+       (This : in out Overlay_Window);
+
(Will raise Program_Error if not overridden.)
diff --git a/doc/fl_pack.html b/doc/fl_pack.html index 0c05789..583ee08 100644 --- a/doc/fl_pack.html +++ b/doc/fl_pack.html @@ -43,7 +43,7 @@ enum { VERTICAL = 0, HORIZONTAL = 1 } -   + Pack_Kind @@ -51,7 +51,7 @@ - + - - - - +
Functions and Procedures
Constructors
@@ -60,36 +60,27 @@ Fl_Pack(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 Packed_Group;
 
-void draw();
-
-procedure Draw
-       (This : in out Packed_Group);
-
+ - -  -
-function Handle
-       (This  : in out Packed_Group;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
- + + + - + @@ -114,6 +105,32 @@ procedure Set_Spacing + + + + + +
Functions and Procedures
 uchar horizontal() const;
 
 
+function Get_Pack_Type
+       (This : in Packed_Group)
+    return Pack_Kind;
+
See type method for Fl_Widget.
+procedure Set_Pack_Type
+       (This : in out Packed_Group;
+        Kind : in     Pack_Kind);
+
+ + + + + + + + + + +
Protected Functions and Procedures
+void draw();
+
+procedure Draw
+       (This : in out Packed_Group);
+
diff --git a/doc/fl_progress.html b/doc/fl_progress.html index 4b3961c..398c5c5 100644 --- a/doc/fl_progress.html +++ b/doc/fl_progress.html @@ -46,7 +46,7 @@ - + - - - - +
Functions and Procedures
Constructors
@@ -55,30 +55,17 @@ Fl_Progress(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 Progress_Bar;
 
-virtual void draw();
-
-procedure Draw
-       (This : in out Progress_Bar);
-
+ - -  -
-function Handle
-       (This  : in out Progress_Bar;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
- + + +
Functions and Procedures
@@ -149,6 +136,23 @@ function Get_Value
 
+ + + + + + + + + +
Protected Functions and Procedures
+virtual void draw();
+
+procedure Draw
+       (This : in out Progress_Bar);
+
+ + diff --git a/doc/fl_radio_button.html b/doc/fl_radio_button.html index 0d9150e..cf81c39 100644 --- a/doc/fl_radio_button.html +++ b/doc/fl_radio_button.html @@ -45,7 +45,7 @@ - + - - - - - - - - - -
Functions and Procedures
Constructors
@@ -54,29 +54,11 @@ Fl_Radio_Button(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 Radio_Button;
 
 
-procedure Draw
-       (This : in out Radio_Button);
-
 
-function Handle
-       (This  : in out Radio_Button;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_radio_light_button.html b/doc/fl_radio_light_button.html index 618e584..946fc2c 100644 --- a/doc/fl_radio_light_button.html +++ b/doc/fl_radio_light_button.html @@ -45,7 +45,7 @@ - + - - - - - - - - - -
Functions and Procedures
Constructors
@@ -54,29 +54,11 @@ Fl_Radio_Light_Button(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 Radio_Light_Button;
 
 
-procedure Draw
-       (This : in out Radio_Light_Button);
-
 
-function Handle
-       (This  : in out Radio_Light_Button;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_radio_round_button.html b/doc/fl_radio_round_button.html index 143d99d..df1971c 100644 --- a/doc/fl_radio_round_button.html +++ b/doc/fl_radio_round_button.html @@ -45,7 +45,7 @@ - + - - - - - - - - - -
Functions and Procedures
Constructors
@@ -54,29 +54,11 @@ Fl_Radio_Round_Button(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 Radio_Round_Button;
 
 
-procedure Draw
-       (This : in out Radio_Round_Button);
-
 
-function Handle
-       (This  : in out Radio_Round_Button;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_repeat_button.html b/doc/fl_repeat_button.html index 18290c5..d5f7bc1 100644 --- a/doc/fl_repeat_button.html +++ b/doc/fl_repeat_button.html @@ -45,7 +45,7 @@ - + +
Functions and Procedures
Constructors
@@ -54,15 +54,24 @@ Fl_Repeat_Button(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 Repeat_Button;
 
+ + + + + + - + diff --git a/doc/fl_return_button.html b/doc/fl_return_button.html index c4dde58..43469eb 100644 --- a/doc/fl_return_button.html +++ b/doc/fl_return_button.html @@ -45,7 +45,7 @@
Functions and Procedures
 
-procedure Draw
+void deactivate();
+
+procedure Deactivate
        (This : in out Repeat_Button);
 
- + +
Functions and Procedures
Constructors
@@ -54,30 +54,44 @@ Fl_Return_Button(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 Enter_Button;
 
+ + + + + + +
Functions and Procedures
-void draw();
+int handle(int);
 
-procedure Draw
-       (This : in out Enter_Button);
+function Handle
+       (This  : in out Enter_Button;
+        Event : in     Event_Kind)
+    return Event_Outcome;
 
+ + + + + + diff --git a/doc/fl_roller.html b/doc/fl_roller.html index e0e09ac..597ebe3 100644 --- a/doc/fl_roller.html +++ b/doc/fl_roller.html @@ -46,7 +46,7 @@
Protected Functions and Procedures
-int handle(int);
+void draw();
 
-function Handle
-       (This  : in out Enter_Button;
-        Event : in     Event_Kind)
-    return Event_Outcome;
+procedure Draw
+       (This : in out Enter_Button);
 
- + +
Functions and Procedures
Constructors
@@ -55,30 +55,44 @@ Fl_Roller(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 Roller;
 
+ + + + + + +
Functions and Procedures
-void draw();
+int handle(int);
 
-procedure Draw
-       (This : in out Roller);
+function Handle
+       (This  : in out Roller;
+        Event : in     Event_Kind)
+    return Event_Outcome;
 
+ + + + + + diff --git a/doc/fl_round_button.html b/doc/fl_round_button.html index 298e33b..9a3deb1 100644 --- a/doc/fl_round_button.html +++ b/doc/fl_round_button.html @@ -45,7 +45,7 @@
Protected Functions and Procedures
-int handle(int);
+void draw();
 
-function Handle
-       (This  : in out Roller;
-        Event : in     Event_Kind)
-    return Event_Outcome;
+procedure Draw
+       (This : in out Roller);
 
- + - - - - - - - - - -
Functions and Procedures
Constructors
@@ -54,29 +54,11 @@ Fl_Round_Button(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 Round_Button;
 
 
-procedure Draw
-       (This : in out Round_Button);
-
 
-function Handle
-       (This  : in out Round_Button;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_round_clock.html b/doc/fl_round_clock.html index 26ba3ca..bbb06bb 100644 --- a/doc/fl_round_clock.html +++ b/doc/fl_round_clock.html @@ -46,7 +46,7 @@ - + - - - - - - - - - - - - - - -
Functions and Procedures
Constructors
@@ -55,38 +55,11 @@ Fl_Round_Clock(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 Round_Clock;
 
 
-procedure Draw
-       (This : in out Round_Clock);
-
 
-procedure Draw
-       (This       : in out Clock;
-        X, Y, W, H : in     Integer);
-
 
-function Handle
-       (This  : in out Round_Clock;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_scroll.html b/doc/fl_scroll.html index aab79c9..697fc9b 100644 --- a/doc/fl_scroll.html +++ b/doc/fl_scroll.html @@ -51,36 +51,54 @@ - + + + + + + +
Functions and Procedures
Attributes
-Fl_Scroll(int X, int Y, int W, int H, const char *L=0);
+Fl_Scrollbar hscrollbar;
 
 
-function Create
-       (X, Y, W, H : in Integer;
-        Text       : in String)
-    return Scroll;
+Fl_Scrollbar scrollbar;
 
 
+ + + + + + +
Constructors
-void clear();
+Fl_Scroll(int X, int Y, int W, int H, const char *L=0);
 
-procedure Clear
-       (This : in out Scroll);
+function Create
+       (X, Y, W, H : in Integer;
+        Text       : in String := "")
+    return Scroll;
 
+ + + + + + @@ -171,6 +189,37 @@ procedure Set_Type
Functions and Procedures
-void draw();
+void clear();
 
-procedure Draw
+procedure Clear
        (This : in out Scroll);
 
+ + + + + + + + + + + + + + + + + + + +
Protected Functions and Procedures
+void bbox(int &, int &, int &, int &);
+
 
+void draw();
+
+procedure Draw
+       (This : in out Scroll);
+
+void recalc_scrollbars(Scrollinfo &si);
+
 
+ + diff --git a/doc/fl_scrollbar.html b/doc/fl_scrollbar.html index b58c34c..67db2f8 100644 --- a/doc/fl_scrollbar.html +++ b/doc/fl_scrollbar.html @@ -46,7 +46,7 @@ - + - - - - +
Functions and Procedures
Constructors
@@ -55,20 +55,17 @@ Fl_Scrollbar(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 Scrollbar;
 
-void draw();
-
-procedure Draw
-       (This : in out Scrollbar);
-
+ + + + +
Functions and Procedures
@@ -143,6 +140,23 @@ procedure Set_All
 
+ + + + + + + + + +
Protected Functions and Procedures
+void draw();
+
+procedure Draw
+       (This : in out Scrollbar);
+
+ + diff --git a/doc/fl_secret_input.html b/doc/fl_secret_input.html index 79e8eaf..6d6504c 100644 --- a/doc/fl_secret_input.html +++ b/doc/fl_secret_input.html @@ -55,7 +55,7 @@ Fl_Secret_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 Secret_Input;
 
diff --git a/doc/fl_simple_counter.html b/doc/fl_simple_counter.html index 195ebb1..de14c6c 100644 --- a/doc/fl_simple_counter.html +++ b/doc/fl_simple_counter.html @@ -46,7 +46,7 @@ - + - - - - - - - - - -
Functions and Procedures
Constructors
@@ -55,29 +55,11 @@ Fl_Simple_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 Simple_Counter;
 
 
-procedure Draw
-       (This : in out Simple_Counter);
-
 
-function Handle
-       (This  : in out Simple_Counter;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_single_window.html b/doc/fl_single_window.html index 1fee0a0..4fb76b2 100644 --- a/doc/fl_single_window.html +++ b/doc/fl_single_window.html @@ -46,7 +46,7 @@ - + @@ -67,18 +67,17 @@ Fl_Single_Window(int X, int Y, int W, int H, const char *L=0); - - - - +
Functions and Procedures
Constructors
@@ -55,7 +55,7 @@ Fl_Single_Window(int W, int H, const char *L=0);
 
 function Create
        (W, H : in Integer;
-        Text : in String)
+        Text : in String := "")
     return Single_Window;
 
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return Single_Window;
 
 
-procedure Draw
-       (This : in out Single_Window);
-
+ + + + + - - - - - diff --git a/doc/fl_slider.html b/doc/fl_slider.html index 7ccd2a1..3b99b86 100644 --- a/doc/fl_slider.html +++ b/doc/fl_slider.html @@ -42,7 +42,7 @@ - + @@ -51,7 +51,7 @@
Functions and Procedures
@@ -91,20 +90,13 @@ procedure Flush
   
 
-function Handle
-       (This  : in out Single_Window;
-        Event : in     Event_Kind)
-    return Event_Outcome;
+int make_current();
 
-int make_current();
+procedure Make_Current
+       (This : in out Single_Window);
 
 
 uchar Slider_Kind
- + @@ -69,9 +69,22 @@ function Create - + +
Functions and Procedures
Constructors
@@ -60,7 +60,7 @@ Fl_Slider(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 Slider;
 
 Fl_Slider(uchar t, int X, int Y, int W, int H, const char *L);
 
 
+function Create
+       (Kind       : in Slider_Kind;
+        X, Y, W, H : in Integer;
+        Text       : in String := "")
+    return Slider;
+
+ + + + + + - - - - - - + - +
Functions and Procedures
 void bounds(double a, double b);
@@ -85,16 +98,6 @@ procedure Set_Bounds
 
   
-void draw();
-
-procedure Draw
-       (This : in out Slider);
-
 int handle(int);
 
@@ -159,12 +162,12 @@ void slider_size(double v);
 
 procedure Set_Slide_Size
        (This : in out Slider;
-        To   : in     Float);
+        To   : in     Long_Float);
 
See type() methods for Fl_WidgetSee type method for Fl_Widget.
 function Get_Slider_Type
        (This : in Slider)
@@ -173,7 +176,7 @@ function Get_Slider_Type
   
See type() methods for Fl_WidgetSee type method for Fl_Widget.
 procedure Set_Slider_Type
        (This : in out Slider;
@@ -184,6 +187,47 @@ procedure Set_Slider_Type
 
+ + + + + + + + + + + + + + + + + + + +
Protected Functions and Procedures
+void draw();
+
+procedure Draw
+       (This : in out Slider);
+
+void draw(int, int, int, int);
+
+procedure Draw
+       (This       : in out Slider;
+        X, Y, W, H : in     Integer);
+
+int handle(int, int, int, int, int);
+
+function Handle
+       (This       : in out Slider;
+        Event      : in     Event_Kind;
+        X, Y, W, H : in     Integer)
+    return Event_Outcome;
+
+ + diff --git a/doc/fl_spinner.html b/doc/fl_spinner.html index 180937e..179a144 100644 --- a/doc/fl_spinner.html +++ b/doc/fl_spinner.html @@ -46,7 +46,35 @@ - + + + + + + + + + + + + + + + + + +
Functions and Procedures
Protected Attributes
+Fl_Repeat_Button down_button_;
+
 
+Fl_Input input_;
+
 
+Fl_Repeat_Button up_button_;
+
 
+ + + + + +
Constructors
@@ -55,11 +83,18 @@ Fl_Spinner(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 Spinner;
 
+ + + + + + - - - - - - + @@ -171,11 +198,11 @@ procedure Set_Minimum - + - + - + diff --git a/doc/fl_surface_device.html b/doc/fl_surface_device.html index bb9cbe2..aec76d5 100644 --- a/doc/fl_surface_device.html +++ b/doc/fl_surface_device.html @@ -77,6 +77,26 @@ function Create +
Functions and Procedures
 void color(Fl_Color v);
@@ -82,14 +117,6 @@ function Get_Background_Color
 
 
-procedure Draw
-       (This : in out Spinner);
-
 const char * format();
@@ -142,7 +169,7 @@ procedure Set_Maximum
 
 double maxinum() const;
 
 Deprecated spelling mistake, use maximum / Get_Maximum instead.
 double mininum() const;
 
 Deprecated spelling mistake, use minimum / Get_Minimum instead.
 Use a combination of minimum and maximum to get the values.
 procedure Get_Range
        (This     : in     Spinner;
@@ -198,7 +225,11 @@ procedure Set_Range
 
 void resize(int X, int Y, int W, int H);
 
 
+procedure Resize
+       (This       : in out Spinner;
+        X, Y, W, H : in     Integer);
+
+ + + + + + + +
Static Functions and Procedures
+static Fl_Surface_Device * surface();
+
+function Get_Current
+    return Surface_Device_Reference;
+
+function Get_Original
+    return Surface_Device_Reference;
+
+ + + @@ -126,26 +146,6 @@ procedure Set_Current
Functions and Procedures
- - - - - - - - - -
Static Functions and Procedures
-static Fl_Surface_Device * surface();
-
-function Get_Current
-    return Surface_Device_Reference;
-
-function Get_Original
-    return Surface_Device_Reference;
-
- - diff --git a/doc/fl_tabs.html b/doc/fl_tabs.html index cb9ea4c..16595ed 100644 --- a/doc/fl_tabs.html +++ b/doc/fl_tabs.html @@ -46,7 +46,7 @@ - + +
Functions and Procedures
Constructors
@@ -55,11 +55,18 @@ Fl_Tabs(int, int, int, int, const char *=0);
 
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return Tabbed_Group;
 
+ + + + + + - - - - -
Functions and Procedures
 void client_area(int &rx, int &ry, int &rw, int &rh, int tabh=0);
@@ -74,16 +81,6 @@ procedure Get_Client_Area
 
   
-void draw();
-
-procedure Draw
-       (This : in out Tabbed_Group);
-
 int handle(int);
 
@@ -153,6 +150,33 @@ function Get_Which
 
+ + + + + + + + + + + + + + +
Protected Functions and Procedures
+void draw();
+
+procedure Draw
+       (This : in out Tabbed_Group);
+
+void redraw_tabs();
+
+procedure Redraw_Tabs
+       (This : in out Tabbed_Group);
+
+ + diff --git a/doc/fl_text_display.html b/doc/fl_text_display.html index e77307a..9dd9ff9 100644 --- a/doc/fl_text_display.html +++ b/doc/fl_text_display.html @@ -86,7 +86,20 @@ - + + + + + + +
Functions and Procedures
Protected Attributes
+Too many to list. None that look suited for public API usage. +
+ + + + + +
Constructors
@@ -100,6 +113,13 @@ function Create
 
+ + + + + + - - - - -
Functions and Procedures
 void buffer(Fl_Text_Buffer *buf);
@@ -183,16 +203,6 @@ procedure Set_Cursor_Style
 
   
-virtual void draw();
-
-procedure Draw
-       (This : in out Text_Display);
-
 virtual int handle(int e);
 
@@ -819,6 +829,30 @@ function X_To_Col
 
+ + + + +
Static Protected Functions and Procedures
+ + + + + + + + + + + +
Protected Functions and Procedures
+virtual void draw();
+
+procedure Draw
+       (This : in out Text_Display);
+
+ + diff --git a/doc/fl_text_editor.html b/doc/fl_text_editor.html index 35a7d90..79c9488 100644 --- a/doc/fl_text_editor.html +++ b/doc/fl_text_editor.html @@ -71,196 +71,40 @@ - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
Functions and Procedures
-Fl_Text_Editor(int X, int Y, int W, int H, const char *L=0);
-
-function Create
-       (X, Y, W, H : in Integer;
-        Text       : in String)
-    return Text_Editor;
-
Static Protected Attributes
-void add_default_key_bindings(Key_Binding **list);
+static Key_Binding * global_key_bindings;
 
 
-void add_key_binding(int key, int state, Key_Func f, Key_Binding **list);
-
-procedure Add_Key_Binding
-       (This : in out Text_Editor;
-        Bind : in     Key_Binding);
-
-void add_key_binding(int key, int state, Key_Func f);
-
-procedure Add_Key_Binding
-       (This : in out Text_Editor;
-        Key  : in     Key_Combo;
-        Func : in     Key_Func);
-
 
-procedure Add_Key_Bindings
-       (This : in out Text_Editor;
-        List : in     Key_Binding_List);
-
-Key_Func bound_key_function(int key, int state, Key_Binding *list) const;
-
 
-Key_Func bound_key_function(int key, int state) const;
-
-function Get_Bound_Key_Function
-       (This : in Text_Editor;
-        Key  : in Key_Combo)
-    return Key_Func;
-
-void default_key_function(Key_Func f);
-
-procedure Set_Default_Key_Function
-       (This : in out Text_Editor;
-        Func : in     Default_Key_Func);
-
 
-function Get_Default_Key_Function
-       (This : in Text_Editor)
-    return Default_Key_Func;
-
 
-procedure Draw
-       (This : in out Text_Editor);
-
-virtual int handle(int e);
-
-function Handle
-       (This  : in out Text_Editor;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
- -
-void insert_mode(int b);
-
-
-procedure Set_Insert_Mode
-       (This : in out Text_Editor;
-        To   : in     Insert_Mode);
-
- - -
-int insert_mode();
-
-
-function Get_Insert_Mode
-       (This : in Text_Editor)
-    return Insert_Mode;
-
- - -
-void remove_all_key_bindings(Key_Binding **list);
-
-
-procedure Remove_Key_Bindings
-       (This : in out Text_Editor;
-        List : in     Key_Binding_List);
-
- + + - - - - +
Constructors
-void remove_all_key_bindings();
+Fl_Text_Editor(int X, int Y, int W, int H, const char *L=0);
 
-procedure Remove_All_Key_Bindings
-       (This : in out Text_Editor);
+function Create
+       (X, Y, W, H : in Integer;
+        Text       : in String := "")
+    return Text_Editor;
 
-void remove_key_binding(int key, int state, Key_Binding **list);
-
-procedure Remove_Key_Binding
-       (This : in out Text_Editor;
-        Bind : in     Key_Binding);
-
- -
-void remove_key_binding(int key, int state);
-
-
-procedure Remove_Key_Binding
-       (This : in out Text_Editor;
-        Key  : in     Key_Combo);
-
- - -
-void tab_nav(int val);
-
-TBA - - -
-int tab_nav() const;
-
-TBA - + +
Static Functions and Procedures
@@ -570,6 +414,203 @@ procedure KF_Up
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Functions and Procedures
+void add_default_key_bindings(Key_Binding **list);
+
 
+void add_key_binding(int key, int state, Key_Func f, Key_Binding **list);
+
+procedure Add_Key_Binding
+       (This : in out Text_Editor;
+        Bind : in     Key_Binding);
+
+void add_key_binding(int key, int state, Key_Func f);
+
+procedure Add_Key_Binding
+       (This : in out Text_Editor;
+        Key  : in     Key_Combo;
+        Func : in     Key_Func);
+
 
+procedure Add_Key_Bindings
+       (This : in out Text_Editor;
+        List : in     Key_Binding_List);
+
+Key_Func bound_key_function(int key, int state, Key_Binding *list) const;
+
 
+Key_Func bound_key_function(int key, int state) const;
+
+function Get_Bound_Key_Function
+       (This : in Text_Editor;
+        Key  : in Key_Combo)
+    return Key_Func;
+
+void default_key_function(Key_Func f);
+
+procedure Set_Default_Key_Function
+       (This : in out Text_Editor;
+        Func : in     Default_Key_Func);
+
 
+function Get_Default_Key_Function
+       (This : in Text_Editor)
+    return Default_Key_Func;
+
+virtual int handle(int e);
+
+function Handle
+       (This  : in out Text_Editor;
+        Event : in     Event_Kind)
+    return Event_Outcome;
+
+void insert_mode(int b);
+
+procedure Set_Insert_Mode
+       (This : in out Text_Editor;
+        To   : in     Insert_Mode);
+
+int insert_mode();
+
+function Get_Insert_Mode
+       (This : in Text_Editor)
+    return Insert_Mode;
+
+void remove_all_key_bindings(Key_Binding **list);
+
+procedure Remove_Key_Bindings
+       (This : in out Text_Editor;
+        List : in     Key_Binding_List);
+
+void remove_all_key_bindings();
+
+procedure Remove_All_Key_Bindings
+       (This : in out Text_Editor);
+
+void remove_key_binding(int key, int state, Key_Binding **list);
+
+procedure Remove_Key_Binding
+       (This : in out Text_Editor;
+        Bind : in     Key_Binding);
+
+void remove_key_binding(int key, int state);
+
+procedure Remove_Key_Binding
+       (This : in out Text_Editor;
+        Key  : in     Key_Combo);
+
+void tab_nav(int val);
+
TBA
+int tab_nav() const;
+
TBA
+ + + + + + + + + + + + + + + + +
Protected Functions and Procedures
+int handle_key();
+
 
+void maybe_do_callback();
+
 
+ + diff --git a/doc/fl_tile.html b/doc/fl_tile.html index 191492a..675a3a6 100644 --- a/doc/fl_tile.html +++ b/doc/fl_tile.html @@ -46,7 +46,7 @@ - + - - - - +
Functions and Procedures
Constructors
@@ -60,13 +60,12 @@ function Create
 
 
-procedure Draw
-       (This : in out Tiled_Group);
-
+ + + + + - +
Functions and Procedures
@@ -96,7 +95,11 @@ procedure Position
 
 void resize(int X, int Y, int W, int H);
 
 
+procedure Resize
+       (This       : in out Tiled_Group;
+        X, Y, W, H : in     Integer);
+
diff --git a/doc/fl_toggle_button.html b/doc/fl_toggle_button.html index 17d3354..6d71762 100644 --- a/doc/fl_toggle_button.html +++ b/doc/fl_toggle_button.html @@ -45,7 +45,7 @@ - + - - - - - - - - - -
Functions and Procedures
Constructors
@@ -54,29 +54,11 @@ Fl_Toggle_Button(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 Toggle_Button;
 
 
-procedure Draw
-       (This : in out Toggle_Button);
-
 
-function Handle
-       (This  : in out Toggle_Button;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
diff --git a/doc/fl_valuator.html b/doc/fl_valuator.html index 20877e3..c6965a2 100644 --- a/doc/fl_valuator.html +++ b/doc/fl_valuator.html @@ -46,7 +46,7 @@ - + +
Functions and Procedures
Constructors
@@ -55,11 +55,18 @@ Fl_Valuator(int X, int Y, int W, int H, const char *L);
 
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return Valuator;
 
+ + + + + + - - - - - + - - + @@ -210,7 +216,7 @@ void step(double a, int b); void step(double s); @@ -218,12 +224,12 @@ procedure Set_Step @@ -252,6 +258,72 @@ procedure Set_Value
Functions and Procedures
 void bounds(double a, double b);
@@ -90,16 +97,6 @@ virtual int format(char *);
 
 
 
-function Handle
-       (This  : in out Valuator;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
 double increment(double, int);
@@ -193,16 +190,25 @@ function Round
 
   
-void step(int a);
+double step() const;
+
+function Get_Step
+       (This : in Valuator)
+    return Long_Float;
 
 
 void step(double a, int b);
 
 
+procedure Set_Step
+       (This   : in out Valuator;
+        Top    : in     Long_Float;
+        Bottom : in     Integer);
+
-procedure Set_Step
+procedure Set_Step_Top
        (This : in out Valuator;
         To   : in     Long_Float);
 
-double step() const;
+void step(int a);
 
-function Get_Step
-       (This : in Valuator)
-    return Long_Float;
+procedure Set_Step_Bottom
+       (This : in out Valuator;
+        To   : in     Integer);
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Protected Functions and Procedures
+void handle_drag(double newvalue);
+
Intentionally left unbound.
+void handle_push();
+
Intentionally left unbound.
+void handle_release();
+
Intentionally left unbound.
+int horizontal() const;
+
Intentionally left unbound.
+double previous_value() const;
+
Intentionally left unbound.
+void set_value(double v);
+
Intentionally left unbound.
+double softclamp(double);
+
Intentionally left unbound.
+virtual void value_damage();
+
+procedure Value_Damage
+       (This : in out Valuator);
+
+ + 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);
+
+ + diff --git a/doc/fl_value_output.html b/doc/fl_value_output.html index ccf05c1..bb30970 100644 --- a/doc/fl_value_output.html +++ b/doc/fl_value_output.html @@ -46,7 +46,7 @@ - + - - - - +
Functions and Procedures
Constructors
@@ -55,20 +55,17 @@ Fl_Value_Output(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_Output;
 
-void draw();
-
-procedure Draw
-       (This : in out Value_Output);
-
+ + + + + @@ -173,6 +170,23 @@ procedure Set_Text_Size
Functions and Procedures
@@ -84,23 +81,23 @@ function Handle
 
   
-void soft(char s);
+char soft() const;
 
-procedure Set_Soft
-       (This : in out Value_Output;
-        To   : in     Boolean);
+function Is_Soft
+       (This : in Value_Output)
+    return Boolean;
 
-char soft() const;
+void soft(char s);
 
-function Is_Soft
-       (This : in Value_Output)
-    return Boolean;
+procedure Set_Soft
+       (This : in out Value_Output;
+        To   : in     Boolean);
 
+ + + + + + + + + +
Protected Functions and Procedures
+void draw();
+
+procedure Draw
+       (This : in out Value_Output);
+
+ + diff --git a/doc/fl_value_slider.html b/doc/fl_value_slider.html index 0b1fd97..80bdf33 100644 --- a/doc/fl_value_slider.html +++ b/doc/fl_value_slider.html @@ -46,7 +46,7 @@ - + - - - - +
Functions and Procedures
Constructors
@@ -55,20 +55,17 @@ Fl_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)
+        Text       : in String := "")
     return Value_Slider;
 
-void draw();
-
-procedure Draw
-       (This : in out Value_Slider);
-
+ + + + +
Functions and Procedures
@@ -151,6 +148,23 @@ procedure Set_Text_Size
 
+ + + + + + + + + +
Protected Functions and Procedures
+void draw();
+
+procedure Draw
+       (This : in out Value_Slider);
+
+ + diff --git a/doc/fl_widget.html b/doc/fl_widget.html index a5e0e7c..88b8aad 100644 --- a/doc/fl_widget.html +++ b/doc/fl_widget.html @@ -65,7 +65,7 @@ Fl_Widget(int x, int y, int w, int h, const char *label=0L);
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return Widget;
 
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();
+
 
+ + diff --git a/doc/fl_wizard.html b/doc/fl_wizard.html index 0fad60a..bcee170 100644 --- a/doc/fl_wizard.html +++ b/doc/fl_wizard.html @@ -46,7 +46,7 @@ - + - - - - +
Functions and Procedures
Constructors
@@ -55,28 +55,17 @@ Fl_Wizard(int, int, int, int, const char *=0);
 
 function Create
        (X, Y, W, H : in Integer;
-        Text       : in String)
+        Text       : in String := "")
     return Wizard;
 
 
-procedure Draw
-       (This : in out Wizard);
-
- -  -
-function Handle
-       (This  : in out Wizard;
-        Event : in     Event_Kind)
-    return Event_Outcome;
-
- + + + +
Functions and Procedures
@@ -123,6 +112,23 @@ procedure Set_Visible
 
+ + + + + + + + + +
Protected Functions and Procedures
+void draw();
+
(Actually private in 1.3)
+procedure Draw
+       (This : in out Wizard);
+
+ + -- cgit