summaryrefslogtreecommitdiff
path: root/src/windows-about.ads
blob: e15c38c318a3f4bb99f74e2c1fb6b0f8cdc3bb58 (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


with

    FLTK.Widgets.Groups.Windows.Double;

private with

    FLTK.Widgets.Boxes,
    FLTK.Widgets.Buttons.Enter;


package Windows.About is


    type About_Window is new Window with private;


    function Create
        return About_Window;


    function Create
           (X, Y, W, H : in Integer;
            Label_Text : in String)
        return About_Window;


    function Create
           (W, H : in Integer)
        return About_Window;


    procedure Set_Logo
           (This : in out About_Window;
            Logo : in out FLTK.Images.RGB.PNG.PNG_Image);


private


    type About_Window is new Window with
        record
            Picture : FLTK.Widgets.Boxes.Box;
            Heading : FLTK.Widgets.Boxes.Box;
            Blurb   : FLTK.Widgets.Boxes.Box;
            Author  : FLTK.Widgets.Boxes.Box;
            Dismiss : FLTK.Widgets.Buttons.Enter.Enter_Button;
        end record;


end Windows.About;