summaryrefslogtreecommitdiff
path: root/src/fltk_binding/fltk-widgets-groups-text_displays.ads
blob: e5391d196f0b82e4eb7dd8a226d52a82aafcef78 (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.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;