From f5f77c762534ed15adc557009d1a645e5fd998a5 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sat, 16 Nov 2024 10:30:34 +1300 Subject: Reworked widget init/create subprograms --- src/fltk-widgets-menus-menu_buttons.ads | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/fltk-widgets-menus-menu_buttons.ads') diff --git a/src/fltk-widgets-menus-menu_buttons.ads b/src/fltk-widgets-menus-menu_buttons.ads index 737fe70..e520484 100644 --- a/src/fltk-widgets-menus-menu_buttons.ads +++ b/src/fltk-widgets-menus-menu_buttons.ads @@ -63,13 +63,16 @@ private overriding procedure Finalize (This : in out Menu_Button); - + procedure Extra_Init + (This : in out Menu_Button; + X, Y, W, H : in Integer; + Text : in String) + with Inline; pragma Inline (Set_Popup_Kind); pragma Inline (Popup); - pragma Inline (Draw); pragma Inline (Handle); -- cgit