summaryrefslogtreecommitdiff
path: root/src/fltk_binding/fltk-menu_items.adb
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-07-19 22:40:37 +1000
committerJed Barber <jjbarber@y7mail.com>2016-07-19 22:40:37 +1000
commit21c86679217e38ecbd0ec933e006e508a1a42be1 (patch)
treee603734dfdc89e4605460ce76dab90d155aee810 /src/fltk_binding/fltk-menu_items.adb
parentd513fd809229d6d48bd061e494b08cafbbcc6f9c (diff)
Starting to sketch the outline of menu widgets and callbacks
Diffstat (limited to 'src/fltk_binding/fltk-menu_items.adb')
-rw-r--r--src/fltk_binding/fltk-menu_items.adb34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/fltk_binding/fltk-menu_items.adb b/src/fltk_binding/fltk-menu_items.adb
new file mode 100644
index 0000000..6620a64
--- /dev/null
+++ b/src/fltk_binding/fltk-menu_items.adb
@@ -0,0 +1,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;
+