summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-groups-spinners.ads
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-12 01:14:58 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-12 01:14:58 +1300
commite93b9bbc02e2791f3a35b6f077fcbb8514c28aed (patch)
tree3661530027db6809a9cbad7b2477416009e00787 /src/fltk-widgets-groups-spinners.ads
parent53aa8144851913994b963ed611cca8885b8f9a9e (diff)
Refactored draw/handle methods in Widgets hierarchy, improved docs, added a few minor method bindings here and there
Diffstat (limited to 'src/fltk-widgets-groups-spinners.ads')
-rw-r--r--src/fltk-widgets-groups-spinners.ads15
1 files changed, 12 insertions, 3 deletions
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;
+