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-charts.ads | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/fltk-widgets-charts.ads') diff --git a/src/fltk-widgets-charts.ads b/src/fltk-widgets-charts.ads index 71df2f0..1f02dd0 100644 --- a/src/fltk-widgets-charts.ads +++ b/src/fltk-widgets-charts.ads @@ -121,17 +121,15 @@ package FLTK.Widgets.Charts is procedure Draw (This : in out Chart); - function Handle - (This : in out Chart; - Event : in Event_Kind) - return Event_Outcome; - private type Chart is new Widget with null record; + overriding procedure Initialize + (This : in out Chart); + overriding procedure Finalize (This : in out Chart); @@ -169,8 +167,8 @@ private pragma Inline (Resize); pragma Inline (Draw); - pragma Inline (Handle); end FLTK.Widgets.Charts; + -- cgit