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-buttons.ads | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/fltk-widgets-buttons.ads') 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; + -- cgit