diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-12 01:14:58 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-12 01:14:58 +1300 |
commit | e93b9bbc02e2791f3a35b6f077fcbb8514c28aed (patch) | |
tree | 3661530027db6809a9cbad7b2477416009e00787 /doc/fl_window.html | |
parent | 53aa8144851913994b963ed611cca8885b8f9a9e (diff) |
Refactored draw/handle methods in Widgets hierarchy, improved docs, added a few minor method bindings here and there
Diffstat (limited to 'doc/fl_window.html')
-rw-r--r-- | doc/fl_window.html | 176 |
1 files changed, 142 insertions, 34 deletions
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 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Static Protected Attributes</th></tr> + + <tr> +<td><pre> +static Fl_Window * current_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Attributes</th></tr> + + <tr> +<td><pre> +shape_data_type * shape_data_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -65,7 +93,7 @@ Fl_Window(int w, int h, const char *title=0); <td><pre> function Create (W, H : in Integer; - Text : in String) + Text : in String := "") return Window; </pre></td> </tr> @@ -77,11 +105,73 @@ Fl_Window(int x, int y, int w, int h, const char *title=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Window; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Functions and Procedures</th></tr> + + <tr> +<td><pre> +static Fl_Window * current(); +</pre></td> +<td><pre> +function Last_Made_Current + return access Window'Class; +</pre></td> + </tr> + + <tr> +<td><pre> +static void default_callback(Fl_Window *, void *v); +</pre></td> +<td> </td> + </tr> + + <tr> +<td><pre> +static void default_icon(const Fl_RGB_Image *); +</pre></td> +<td><pre> +procedure Set_Default_Icon + (Pic : in out FLTK.Images.RGB.RGB_Image'Class); +</pre></td> + </tr> + + <tr> +<td><pre> +static void default_icons(const Fl_RGB_Image *[], int); +</pre></td> +<td> </td> + </tr> + + <tr> +<td><pre> +static const char * default_xclass(); +</pre></td> +<td> </td> + </tr> + + <tr> +<td><pre> +static void default_xclass(const char *); +</pre></td> +<td> </td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> virtual Fl_Window * as_window(); @@ -138,16 +228,6 @@ void copy_label(const char *a); <tr> <td><pre> -static Fl_Window * current(); -</pre></td> -<td><pre> -function Last_Made_Current - return access Window'Class; -</pre></td> - </tr> - - <tr> -<td><pre> void cursor(Fl_Cursor); </pre></td> <td><pre> @@ -218,26 +298,6 @@ void default_cursor(Fl_Cursor c, Fl_Color, Fl_Color=FL_WHITE); <tr> <td><pre> -static void default_icon(const Fl_RGB_Image *); -</pre></td> -<td><pre> -procedure Set_Default_Icon - (Pic : in out FLTK.Images.RGB.RGB_Image'Class); -</pre></td> - </tr> - - <tr> -<td><pre> -virtual void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Window); -</pre></td> - </tr> - - <tr> -<td><pre> void free_position(); </pre></td> <td><pre> @@ -336,6 +396,7 @@ procedure Hotspot <tr> <td><pre> void hotspot(const Fl_Widget *, int offscreen=0); + void hotspot(const Fl_Widget &p, int offscreen=0); </pre></td> <td><pre> @@ -533,6 +594,7 @@ void set_tooltip_window(); <tr> <td><pre> void shape(const Fl_Image *img); + void shape(const Fl_Image &b); </pre></td> <td><pre> @@ -572,7 +634,8 @@ function Is_Shown <tr> <td><pre> -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); </pre></td> <td><pre> procedure Set_Size_Range @@ -639,6 +702,51 @@ function Get_Y_Root </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +virtual void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Window); +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void flush(); +</pre></td> +<td> </td> + </tr> + + <tr> +<td><pre> +int force_position() const; +</pre></td> +<td> </td> + </tr> + + <tr> +<td><pre> +void force_position(int force); +</pre></td> +<td> </td> + </tr> + + <tr> +<td><pre> +void free_icons(); +</pre></td> +<td> </td> + </tr> + +</table> + + </body> </html> |