summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-groups-windows.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk-widgets-groups-windows.ads')
-rw-r--r--src/fltk-widgets-groups-windows.ads67
1 files changed, 67 insertions, 0 deletions
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;
+