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 --- src/fltk-widgets-groups-spinners.ads | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src/fltk-widgets-groups-spinners.ads') diff --git a/src/fltk-widgets-groups-spinners.ads b/src/fltk-widgets-groups-spinners.ads index be7b8d9..5c6233e 100644 --- a/src/fltk-widgets-groups-spinners.ads +++ b/src/fltk-widgets-groups-spinners.ads @@ -123,8 +123,12 @@ package FLTK.Widgets.Groups.Spinners is - procedure Draw - (This : in out Spinner); + procedure Resize + (This : in out Spinner; + X, Y, W, H : in Integer); + + + function Handle (This : in out Spinner; @@ -137,6 +141,9 @@ private type Spinner is new Group with null record; + overriding procedure Initialize + (This : in out Spinner); + overriding procedure Finalize (This : in out Spinner); @@ -174,9 +181,11 @@ private pragma Inline (Get_Value); pragma Inline (Set_Value); - pragma Inline (Draw); + pragma Inline (Resize); + pragma Inline (Handle); end FLTK.Widgets.Groups.Spinners; + -- cgit