From ece14b9a9bce88245543bd7f1a3d40367276c9b5 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 5 Mar 2018 19:03:59 +1100 Subject: Added FLTK.Widgets.Groups.Wizards --- src/fltk-widgets-groups-wizards.ads | 58 +++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 src/fltk-widgets-groups-wizards.ads (limited to 'src/fltk-widgets-groups-wizards.ads') diff --git a/src/fltk-widgets-groups-wizards.ads b/src/fltk-widgets-groups-wizards.ads new file mode 100644 index 0000000..63221db --- /dev/null +++ b/src/fltk-widgets-groups-wizards.ads @@ -0,0 +1,58 @@ + + +package FLTK.Widgets.Groups.Wizards is + + + type Wizard is new Group with private; + + + + + function Create + (X, Y, W, H : in Integer; + Text : in String) + return Wizard; + + + + + procedure Next + (This : in out Wizard); + + procedure Prev + (This : in out Wizard); + + + + + function Get_Visible + (This : in Wizard) + return access Widget'Class; + + procedure Set_Visible + (This : in out Wizard; + Item : access Widget'Class); + + + + + procedure Draw + (This : in out Wizard); + + function Handle + (This : in out Wizard; + Event : in Event_Kind) + return Event_Outcome; + + +private + + + type Wizard is new Group with null record; + + overriding procedure Finalize + (This : in out Wizard); + + +end FLTK.Widgets.Groups.Wizards; + -- cgit