diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-05-25 13:01:38 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-05-25 13:01:38 +1000 |
commit | cbe99e357fff28fb6aa3db7bec03756385c8928c (patch) | |
tree | 2255471124999be1105e6bb71686fba79bcb4864 /fltk-widget-group-text_display.ads | |
parent | a3a475cc6a88e7fbd5d55cbca3dd517c0d34b260 (diff) |
Some more bindings
Diffstat (limited to 'fltk-widget-group-text_display.ads')
-rw-r--r-- | fltk-widget-group-text_display.ads | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/fltk-widget-group-text_display.ads b/fltk-widget-group-text_display.ads new file mode 100644 index 0000000..adbbeb4 --- /dev/null +++ b/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; + |