summaryrefslogtreecommitdiff
path: root/src/fltk_binding/fltk-menu_items.adb
blob: 6620a64aefabe76fb251ee18b38adb4fc11204ed (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


with Interfaces.C;
with System;
use type System.Address;


package body FLTK.Menu_Items is


    procedure Finalize
           (This : in out Menu_Item) is
    begin
        null;
    end Finalize;




    function Create
           (Text : in String;
            Shortcut : in Shortcut_Key;
            Action : in FLTK.Callbacks.Callback;
            Flags : Menu_Flag)
        return Menu_Item is
    begin
        return This : Menu_Item do
            null;
        end return;
    end Create;


end FLTK.Menu_Items;