diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-05-26 00:38:43 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-05-26 00:38:43 +1000 |
commit | 524edbb4463b66d61e92c92a7020d9d09b82e744 (patch) | |
tree | b2ec49fdcc88a34c4c2f80ead9548358a382da77 /src/fltk_binding/fltk-widgets-groups.ads | |
parent | ed6fcd873aad9e574de0b2c6311d1c4404cb76dc (diff) |
The Great Package Naming Style Change(tm)
Diffstat (limited to 'src/fltk_binding/fltk-widgets-groups.ads')
-rw-r--r-- | src/fltk_binding/fltk-widgets-groups.ads | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/src/fltk_binding/fltk-widgets-groups.ads b/src/fltk_binding/fltk-widgets-groups.ads new file mode 100644 index 0000000..bf4891f --- /dev/null +++ b/src/fltk_binding/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; + |