From 0d842f0423ba0754fb3675c7468397a8da5f6e1b Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Thu, 27 Apr 2017 10:40:48 +1000 Subject: Organising source --- src/fltk-widgets-groups-windows.ads | 67 +++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 src/fltk-widgets-groups-windows.ads (limited to 'src/fltk-widgets-groups-windows.ads') diff --git a/src/fltk-widgets-groups-windows.ads b/src/fltk-widgets-groups-windows.ads new file mode 100644 index 0000000..96047ee --- /dev/null +++ b/src/fltk-widgets-groups-windows.ads @@ -0,0 +1,67 @@ + + +with FLTK.Images.RGB; + + +package FLTK.Widgets.Groups.Windows is + + + type Window is new Group with private; + + + function Create + (X, Y, W, H : in Integer; + Text : in String) + return Window; + + + function Create + (W, H : in Integer) + return Window; + + + procedure Show + (This : in Window); + + + procedure Hide + (This : in Window); + + + procedure Set_Label + (This : in out Window; + Text : in String); + + + procedure Set_Size_Range + (This : in out Window; + Min_W, Min_H : in Integer; + Max_W, Max_H, Incre_W, Incre_H : in Integer := 0; + Keep_Aspect : in Boolean := False); + + + procedure Set_Icon + (This : in out Window; + Pic : in out FLTK.Images.RGB.RGB_Image'Class); + + + procedure Set_Modal + (This : in out Window); + + + procedure Set_Non_Modal + (This : in out Window); + + +private + + + type Window is new Group with null record; + + + overriding procedure Finalize + (This : in out Window); + + +end FLTK.Widgets.Groups.Windows; + -- cgit