From ed6fcd873aad9e574de0b2c6311d1c4404cb76dc Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Wed, 25 May 2016 13:01:38 +1000 Subject: Some more bindings --- .../fltk-widget-group-text_display.ads | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 src/fltk_binding/fltk-widget-group-text_display.ads (limited to 'src/fltk_binding/fltk-widget-group-text_display.ads') diff --git a/src/fltk_binding/fltk-widget-group-text_display.ads b/src/fltk_binding/fltk-widget-group-text_display.ads new file mode 100644 index 0000000..adbbeb4 --- /dev/null +++ b/src/fltk_binding/fltk-widget-group-text_display.ads @@ -0,0 +1,58 @@ + + +with FLTK.Enums; use FLTK.Enums; + + +package FLTK.Widget.Group.Text_Display is + + + type Text_Display_Type is new Group_Type with private; + + + function Create + (X, Y, W, H : in Integer; + Label : in String) + return Text_Display_Type; + + + function Get_Text_Color + (TD : in Text_Display_Type) + return Color; + + + procedure Set_Text_Color + (TD : in Text_Display_Type; + C : in Color); + + + function Get_Text_Font + (TD : in Text_Display_Type) + return Font_Kind; + + + procedure Set_Text_Font + (TD : in Text_Display_Type; + F : in Font_Kind); + + + function Get_Text_Size + (TD : in Text_Display_Type) + return Font_Size; + + + procedure Set_Text_Size + (TD : in Text_Display_Type; + S : in Font_Size); + + +private + + + type Text_Display_Type is new Group_Type with null record; + + + overriding procedure Finalize (This : in out Text_Display_Type); + + +end FLTK.Widget.Group.Text_Display; + -- cgit