aboutsummaryrefslogtreecommitdiff
path: root/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
commitab25b51036a810c326b51a230700971c0f431f74 (patch)
tree15022810b1045502d66b1aaebe7911b4968a907a /fltk-menu_items.adb
parent6aa9475d598065081866913bb86a049a6d2d0c1a (diff)
Starting to sketch the outline of menu widgets and callbacks
Diffstat (limited to 'fltk-menu_items.adb')
-rw-r--r--fltk-menu_items.adb34
1 files changed, 34 insertions, 0 deletions
diff --git a/fltk-menu_items.adb b/fltk-menu_items.adb
new file mode 100644
index 0000000..6620a64
--- /dev/null
+++ b/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;
+