From 1f35137574691335d63e86bf5d2b2366fc91c1ba Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Wed, 9 Nov 2016 11:32:47 +1100 Subject: Moved code for each window into its own package --- src/windows-about.ads | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/windows-about.ads (limited to 'src/windows-about.ads') 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; + -- cgit