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_button.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_button.html')
-rw-r--r-- | doc/fl_button.html | 88 |
1 files changed, 70 insertions, 18 deletions
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 @@ </tr> <tr> - <td> </td> + <td>int</td> <td>State</td> </tr> @@ -50,7 +50,21 @@ <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_Widget_Tracker * key_release_tracker = 0; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -59,16 +73,23 @@ Fl_Button(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Button; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> int clear(); </pre></td> -<td>See int value();</td> +<td>See value / Set_State.</td> </tr> <tr> @@ -97,24 +118,14 @@ procedure Set_Down_Box <td><pre> Fl_Color down_color() const; </pre></td> -<td> </td> +<td>See selection_color / Get_Selection_Color from Fl_Widget.</td> </tr> <tr> <td><pre> void down_color(unsigned c); </pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -virtual void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Button); -</pre></td> +<td>See selection_color / Set_Selection_Color from Fl_Widget.</td> </tr> <tr> @@ -133,7 +144,7 @@ function Handle <td><pre> int set(); </pre></td> -<td>See int value();</td> +<td>See value / Set_State.</td> </tr> <tr> @@ -172,7 +183,7 @@ procedure Set_Shortcut <td><pre> void shortcut(const char *s); </pre></td> -<td>See void shortcut(int s);</td> +<td>See shortcut / Set_Shortcut.</td> </tr> <tr> @@ -200,6 +211,47 @@ function Get_State </table> + +<table class="function"> + <tr><th colspan="2">Static Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +static void key_release_timeout(void *); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</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 Button); +</pre></td> + </tr> + + <tr> +<td><pre> +void simulate_key_action(); +</pre></td> +<td><pre> +procedure Simulate_Key_Action + (This : in out Button); +</pre></td> + </tr> + +</table> + + </body> </html> |