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-repeat.ads | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/fltk-widgets-buttons-repeat.ads') diff --git a/src/fltk-widgets-buttons-repeat.ads b/src/fltk-widgets-buttons-repeat.ads index eeb4166..5720f8a 100644 --- a/src/fltk-widgets-buttons-repeat.ads +++ b/src/fltk-widgets-buttons-repeat.ads @@ -27,9 +27,12 @@ package FLTK.Widgets.Buttons.Repeat is - procedure Draw + procedure Deactivate (This : in out Repeat_Button); + + + function Handle (This : in out Repeat_Button; Event : in Event_Kind) @@ -41,6 +44,9 @@ private type Repeat_Button is new Button with null record; + overriding procedure Initialize + (This : in out Repeat_Button); + overriding procedure Finalize (This : in out Repeat_Button); @@ -55,9 +61,11 @@ private with Inline; - pragma Inline (Draw); + pragma Inline (Deactivate); + pragma Inline (Handle); end FLTK.Widgets.Buttons.Repeat; + -- cgit