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-color_choosers.ads | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/fltk-widgets-groups-color_choosers.ads') diff --git a/src/fltk-widgets-groups-color_choosers.ads b/src/fltk-widgets-groups-color_choosers.ads index 7dcfbb4..580c31a 100644 --- a/src/fltk-widgets-groups-color_choosers.ads +++ b/src/fltk-widgets-groups-color_choosers.ads @@ -118,7 +118,11 @@ private overriding procedure Finalize (This : in out Color_Chooser); - + procedure Extra_Init + (This : in out Color_Chooser; + X, Y, W, H : in Integer; + Text : in String) + with Inline; pragma Inline (Get_Red); @@ -126,25 +130,20 @@ private pragma Inline (Get_Blue); pragma Inline (Set_RGB); - pragma Inline (Get_Hue); pragma Inline (Get_Saturation); pragma Inline (Get_Value); pragma Inline (Set_HSV); - pragma Inline (HSV_To_RGB); pragma Inline (RGB_To_HSV); - pragma Inline (Color_Was_Changed); pragma Inline (Clear_Changed); - pragma Inline (Get_Mode); pragma Inline (Set_Mode); - pragma Inline (Draw); pragma Inline (Handle); -- cgit