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-buttons.ads | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/fltk-widgets-buttons.ads') diff --git a/src/fltk-widgets-buttons.ads b/src/fltk-widgets-buttons.ads index 59f8403..5365bd6 100644 --- a/src/fltk-widgets-buttons.ads +++ b/src/fltk-widgets-buttons.ads @@ -79,16 +79,22 @@ private overriding procedure Finalize (This : in out Button); - + procedure Extra_Init + (This : in out Button; + X, Y, W, H : in Integer; + Text : in String) + with Inline; pragma Inline (Get_State); pragma Inline (Set_State); pragma Inline (Set_Only); + pragma Inline (Get_Down_Box); pragma Inline (Set_Down_Box); pragma Inline (Get_Shortcut); pragma Inline (Set_Shortcut); + pragma Inline (Draw); pragma Inline (Handle); -- cgit