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-groups-windows-single-menu.ads | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'src/fltk-widgets-groups-windows-single-menu.ads') diff --git a/src/fltk-widgets-groups-windows-single-menu.ads b/src/fltk-widgets-groups-windows-single-menu.ads index d380141..1908d72 100644 --- a/src/fltk-widgets-groups-windows-single-menu.ads +++ b/src/fltk-widgets-groups-windows-single-menu.ads @@ -53,22 +53,14 @@ package FLTK.Widgets.Groups.Windows.Single.Menu is Value : in Boolean); - - - procedure Draw - (This : in out Menu_Window); - - function Handle - (This : in out Menu_Window; - Event : in Event_Kind) - return Event_Outcome; - - private type Menu_Window is new Single_Window with null record; + overriding procedure Initialize + (This : in out Menu_Window); + overriding procedure Finalize (This : in out Menu_Window); @@ -90,9 +82,7 @@ private pragma Inline (Is_Overlay); pragma Inline (Set_Overlay); - pragma Inline (Draw); - pragma Inline (Handle); - end FLTK.Widgets.Groups.Windows.Single.Menu; + -- cgit