summaryrefslogtreecommitdiff
path: root/src/fltk_binding/fltk-widget-group-text_display.ads
blob: adbbeb49a71e1b106c0050d63980439454e600be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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;