From 0f28695be695a0b2e8fbfff388c61cb69cdc03af Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Thu, 26 May 2016 00:38:43 +1000 Subject: The Great Package Naming Style Change(tm) --- fltk-widgets-groups.ads | 57 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 fltk-widgets-groups.ads (limited to 'fltk-widgets-groups.ads') 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; + -- cgit