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


with

    FLTK.Widgets.Groups.Windows.Double,
    FLTK.Images.RGB.PNG;

private with

    Ada.Command_Line,
    Ada.Directories;


package Windows is


    type Window is new FLTK.Widgets.Groups.Windows.Double.Double_Window with private;


private


    type Window is new FLTK.Widgets.Groups.Windows.Double.Double_Window with null record;


    procedure Hide_CB
           (Item : in out FLTK.Widgets.Widget'Class);


    Origin : String := Ada.Directories.Containing_Directory
        (Ada.Directories.Full_Name (Ada.Command_Line.Command_Name));

    Logo : FLTK.Images.RGB.PNG.PNG_Image :=
        FLTK.Images.RGB.PNG.Forge.Create (Origin & "/../share/adapad/logo.png");


end Windows;