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-groups-windows.ads | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/fltk-widgets-groups-windows.ads') diff --git a/src/fltk-widgets-groups-windows.ads b/src/fltk-widgets-groups-windows.ads index f7d2a26..27fa02d 100644 --- a/src/fltk-widgets-groups-windows.ads +++ b/src/fltk-widgets-groups-windows.ads @@ -218,7 +218,11 @@ private overriding procedure Finalize (This : in out Window); - + procedure Extra_Init + (This : in out Window; + X, Y, W, H : in Integer; + Text : in String) + with Inline; pragma Inline (Show); @@ -230,13 +234,11 @@ private pragma Inline (Last_Made_Current); pragma Inline (Free_Position); - pragma Inline (Is_Fullscreen); pragma Inline (Fullscreen_On); pragma Inline (Fullscreen_Off); pragma Inline (Fullscreen_Screens); - pragma Inline (Set_Icon); pragma Inline (Set_Default_Icon); pragma Inline (Get_Icon_Label); @@ -244,7 +246,6 @@ private pragma Inline (Set_Cursor); pragma Inline (Set_Default_Cursor); - pragma Inline (Get_Border_State); pragma Inline (Set_Border_State); pragma Inline (Is_Override); @@ -252,26 +253,21 @@ private pragma Inline (Get_Modal_State); pragma Inline (Set_Modal_State); - pragma Inline (Get_Label); pragma Inline (Set_Label); pragma Inline (Hotspot); pragma Inline (Set_Size_Range); pragma Inline (Shape); - pragma Inline (Get_X_Root); pragma Inline (Get_Y_Root); pragma Inline (Get_Decorated_W); pragma Inline (Get_Decorated_H); - pragma Inline (Draw); pragma Inline (Handle); - - Last_Current : access Window'Class := null; -- cgit