summaryrefslogtreecommitdiff
path: root/src/windows-about.ads
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-11-09 11:32:47 +1100
committerJed Barber <jjbarber@y7mail.com>2016-11-09 11:36:51 +1100
commit1f35137574691335d63e86bf5d2b2366fc91c1ba (patch)
tree9ef15ab20157b5c10c92819d6a1694287219e1e1 /src/windows-about.ads
parent87063e50bfb3dd69d0806897d5b0d97b7d48f92a (diff)
Moved code for each window into its own package
Diffstat (limited to 'src/windows-about.ads')
-rw-r--r--src/windows-about.ads43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/windows-about.ads b/src/windows-about.ads
new file mode 100644
index 0000000..9396825
--- /dev/null
+++ b/src/windows-about.ads
@@ -0,0 +1,43 @@
+
+
+with FLTK.Widgets.Groups.Windows.Double;
+private with FLTK.Widgets.Boxes;
+private with FLTK.Widgets.Buttons.Enter;
+
+
+package Windows.About is
+
+
+ type About_Window is new FLTK.Widgets.Groups.Windows.Double.Double_Window with private;
+
+
+ function Create
+ return About_Window;
+
+
+ function Create
+ (X, Y, W, H : in Integer;
+ Label_Text : in String)
+ return About_Window;
+
+
+ function Create
+ (W, H : in Integer)
+ return About_Window;
+
+
+private
+
+
+ type About_Window is new FLTK.Widgets.Groups.Windows.Double.Double_Window with
+ record
+ Picture : FLTK.Widgets.Boxes.Box;
+ Heading : FLTK.Widgets.Boxes.Box;
+ Blurb : FLTK.Widgets.Boxes.Box;
+ Author : FLTK.Widgets.Boxes.Box;
+ Dismiss : FLTK.Widgets.Buttons.Enter.Enter_Button;
+ end record;
+
+
+end Windows.About;
+