From 0f28695be695a0b2e8fbfff388c61cb69cdc03af Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Thu, 26 May 2016 00:38:43 +1000 Subject: The Great Package Naming Style Change(tm) --- fltk-widgets-groups-text_displays.ads | 58 +++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 fltk-widgets-groups-text_displays.ads (limited to 'fltk-widgets-groups-text_displays.ads') diff --git a/fltk-widgets-groups-text_displays.ads b/fltk-widgets-groups-text_displays.ads new file mode 100644 index 0000000..e5391d1 --- /dev/null +++ b/fltk-widgets-groups-text_displays.ads @@ -0,0 +1,58 @@ + + +with FLTK.Enums; use FLTK.Enums; + + +package FLTK.Widgets.Groups.Text_Displays is + + + type Text_Display is new Group with private; + + + function Create + (X, Y, W, H : in Integer; + Label : in String) + return Text_Display; + + + function Get_Text_Color + (TD : in Text_Display) + return Color; + + + procedure Set_Text_Color + (TD : in Text_Display; + C : in Color); + + + function Get_Text_Font + (TD : in Text_Display) + return Font_Kind; + + + procedure Set_Text_Font + (TD : in Text_Display; + F : in Font_Kind); + + + function Get_Text_Size + (TD : in Text_Display) + return Font_Size; + + + procedure Set_Text_Size + (TD : in Text_Display; + S : in Font_Size); + + +private + + + type Text_Display is new Group with null record; + + + overriding procedure Finalize (This : in out Text_Display); + + +end FLTK.Widgets.Groups.Text_Displays; + -- cgit