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-valuators-counters.ads | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/fltk-widgets-valuators-counters.ads') diff --git a/src/fltk-widgets-valuators-counters.ads b/src/fltk-widgets-valuators-counters.ads index d68cf8a..1ba4f5e 100644 --- a/src/fltk-widgets-valuators-counters.ads +++ b/src/fltk-widgets-valuators-counters.ads @@ -94,7 +94,11 @@ private overriding procedure Finalize (This : in out Counter); - + procedure Extra_Init + (This : in out Counter; + X, Y, W, H : in Integer; + Text : in String) + with Inline; pragma Inline (Get_Step); @@ -102,7 +106,6 @@ private pragma Inline (Get_Long_Step); pragma Inline (Set_Long_Step); - pragma Inline (Get_Text_Color); pragma Inline (Set_Text_Color); pragma Inline (Get_Text_Font); @@ -110,7 +113,6 @@ private pragma Inline (Get_Text_Size); pragma Inline (Set_Text_Size); - pragma Inline (Draw); pragma Inline (Handle); -- cgit