summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-buttons.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-buttons.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-buttons.ads')
-rw-r--r--src/fltk-widgets-buttons.ads12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/fltk-widgets-buttons.ads b/src/fltk-widgets-buttons.ads
index 18c5026..d4c864f 100644
--- a/src/fltk-widgets-buttons.ads
+++ b/src/fltk-widgets-buttons.ads
@@ -71,11 +71,20 @@ package FLTK.Widgets.Buttons is
return Event_Outcome;
+
+
+ procedure Simulate_Key_Action
+ (This : in out Button);
+
+
private
type Button is new Widget with null record;
+ overriding procedure Initialize
+ (This : in out Button);
+
overriding procedure Finalize
(This : in out Button);
@@ -102,6 +111,9 @@ private
pragma Inline (Draw);
pragma Inline (Handle);
+ pragma Inline (Simulate_Key_Action);
+
end FLTK.Widgets.Buttons;
+