summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-groups-windows-single-menu.ads
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-12 01:14:58 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-12 01:14:58 +1300
commite93b9bbc02e2791f3a35b6f077fcbb8514c28aed (patch)
tree3661530027db6809a9cbad7b2477416009e00787 /src/fltk-widgets-groups-windows-single-menu.ads
parent53aa8144851913994b963ed611cca8885b8f9a9e (diff)
Refactored draw/handle methods in Widgets hierarchy, improved docs, added a few minor method bindings here and there
Diffstat (limited to 'src/fltk-widgets-groups-windows-single-menu.ads')
-rw-r--r--src/fltk-widgets-groups-windows-single-menu.ads18
1 files changed, 4 insertions, 14 deletions
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;
+