summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-groups-browsers-textline-choice.ads
blob: a1b78afd8495b5ac3b85ba8601c9495613d1e39a (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


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


package FLTK.Widgets.Groups.Browsers.Textline.Choice is


    type Choice_Browser is new Textline_Browser with private;

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


    package Forge is

        function Create
               (X, Y, W, H : in Integer;
                Text       : in String := "")
            return Choice_Browser;

    end Forge;


private


    type Choice_Browser is new Textline_Browser with null record;

    overriding procedure Initialize
           (This : in out Choice_Browser);

    overriding procedure Finalize
           (This : in out Choice_Browser);

    procedure Extra_Init
           (This       : in out Choice_Browser;
            X, Y, W, H : in     Integer;
            Text       : in     String);

    procedure Extra_Final
           (This : in out Choice_Browser);


end FLTK.Widgets.Groups.Browsers.Textline.Choice;