summaryrefslogtreecommitdiff
path: root/src/windows.ads
blob: eac1dc0e0fac2e83770e2288569bbc3fb8ecf83c (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.Create (Origin & "/../share/adapad/logo.png");


end Windows;