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-clocks.ads | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/fltk-widgets-clocks.ads') diff --git a/src/fltk-widgets-clocks.ads b/src/fltk-widgets-clocks.ads index 5117fb1..33edf37 100644 --- a/src/fltk-widgets-clocks.ads +++ b/src/fltk-widgets-clocks.ads @@ -72,17 +72,15 @@ package FLTK.Widgets.Clocks is (This : in out Clock; X, Y, W, H : in Integer); - function Handle - (This : in out Clock; - Event : in Event_Kind) - return Event_Outcome; - private type Clock is new Widget with null record; + overriding procedure Initialize + (This : in out Clock); + overriding procedure Finalize (This : in out Clock); @@ -105,8 +103,8 @@ private pragma Inline (Set_Time); pragma Inline (Draw); - pragma Inline (Handle); end FLTK.Widgets.Clocks; + -- cgit