diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2024-11-16 10:30:34 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2024-11-16 10:30:34 +1300 |
commit | f5f77c762534ed15adc557009d1a645e5fd998a5 (patch) | |
tree | 7b9d8c3099c303c74bf41079e9a0785983bd8a31 /src/fltk-widgets-groups-color_choosers.ads | |
parent | 66fba2bf75c5fc3deb2690a6a66cf504f47b7652 (diff) |
Reworked widget init/create subprograms
Diffstat (limited to 'src/fltk-widgets-groups-color_choosers.ads')
-rw-r--r-- | src/fltk-widgets-groups-color_choosers.ads | 11 |
1 files changed, 5 insertions, 6 deletions
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); |