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-valuators-sliders-horizontal.ads | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'src/fltk-widgets-valuators-sliders-horizontal.ads') diff --git a/src/fltk-widgets-valuators-sliders-horizontal.ads b/src/fltk-widgets-valuators-sliders-horizontal.ads index c6cc2e6..3002f31 100644 --- a/src/fltk-widgets-valuators-sliders-horizontal.ads +++ b/src/fltk-widgets-valuators-sliders-horizontal.ads @@ -25,22 +25,14 @@ package FLTK.Widgets.Valuators.Sliders.Horizontal is end Forge; - - - procedure Draw - (This : in out Horizontal_Slider); - - function Handle - (This : in out Horizontal_Slider; - Event : in Event_Kind) - return Event_Outcome; - - private type Horizontal_Slider is new Slider with null record; + overriding procedure Initialize + (This : in out Horizontal_Slider); + overriding procedure Finalize (This : in out Horizontal_Slider); @@ -55,9 +47,6 @@ private with Inline; - pragma Inline (Draw); - pragma Inline (Handle); - - end FLTK.Widgets.Valuators.Sliders.Horizontal; + -- cgit