summaryrefslogtreecommitdiff
path: root/spec/fltk-images-pixmaps-xpm.ads
blob: c703264b070969e5330bcce14dbbb4ea5c07f8f9 (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


--  Programmed by Jedidiah Barber
--  Released into the public domain


package FLTK.Images.Pixmaps.XPM is


    type XPM_Image is new Pixmap with private;

    type XPM_Image_Reference (Data : not null access XPM_Image'Class) is
        limited null record with Implicit_Dereference => Data;




    package Forge is

        function Create
               (Filename : in String)
            return XPM_Image;

    end Forge;


private


    type XPM_Image is new Pixmap with null record;

    overriding procedure Finalize
           (This : in out XPM_Image);


end FLTK.Images.Pixmaps.XPM;