summaryrefslogtreecommitdiff
path: root/fltk-widgets-groups.ads
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-05-26 00:38:43 +1000
committerJed Barber <jjbarber@y7mail.com>2016-05-26 00:38:43 +1000
commit0f28695be695a0b2e8fbfff388c61cb69cdc03af (patch)
tree9b9de86c8c308f9fdac949620d4deec6d21a3710 /fltk-widgets-groups.ads
parentcbe99e357fff28fb6aa3db7bec03756385c8928c (diff)
The Great Package Naming Style Change(tm)
Diffstat (limited to 'fltk-widgets-groups.ads')
-rw-r--r--fltk-widgets-groups.ads57
1 files changed, 57 insertions, 0 deletions
diff --git a/fltk-widgets-groups.ads b/fltk-widgets-groups.ads
new file mode 100644
index 0000000..bf4891f
--- /dev/null
+++ b/fltk-widgets-groups.ads
@@ -0,0 +1,57 @@
+
+
+package FLTK.Widgets.Groups is
+
+
+ type Group is new Widget with private;
+ type Index is new Integer;
+
+
+ function Create
+ (X, Y, W, H : Integer;
+ Label : String)
+ return Group;
+
+
+ procedure Add
+ (This : Group'Class;
+ Item : Widget'Class);
+
+
+ procedure Clear
+ (This : Group'Class);
+
+
+ function Find
+ (This : Group'Class;
+ Item : Widget'Class)
+ return Index;
+
+
+ procedure Insert
+ (This : Group'Class;
+ Item : Widget'Class;
+ Place : Index);
+
+
+ procedure Remove
+ (This : Group'Class;
+ Item : Widget'Class);
+
+
+ procedure Remove
+ (This : Group'Class;
+ Place : Index);
+
+
+private
+
+
+ type Group is new Widget with null record;
+
+
+ overriding procedure Finalize (This : in out Group);
+
+
+end FLTK.Widgets.Groups;
+