summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-groups-windows-single.adb
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-06-17 11:28:39 +1000
committerJed Barber <jjbarber@y7mail.com>2017-06-17 11:28:39 +1000
commitfb37523537cdb69a31dede401a604981ce8b7b9d (patch)
tree9d8f8dc3a00ce27b69aa4b7d7696b49d659fcbe1 /src/fltk-widgets-groups-windows-single.adb
parent33c3691b571ce4b6a2aa6997b70c3bc5d991ca9d (diff)
Updated coding style, added progress log
Diffstat (limited to 'src/fltk-widgets-groups-windows-single.adb')
-rw-r--r--src/fltk-widgets-groups-windows-single.adb24
1 files changed, 15 insertions, 9 deletions
diff --git a/src/fltk-widgets-groups-windows-single.adb b/src/fltk-widgets-groups-windows-single.adb
index 284e506..31b73fa 100644
--- a/src/fltk-widgets-groups-windows-single.adb
+++ b/src/fltk-widgets-groups-windows-single.adb
@@ -1,8 +1,13 @@
-with Interfaces.C;
-with System;
-use type System.Address;
+with
+
+ Interfaces.C,
+ System;
+
+use type
+
+ System.Address;
package body FLTK.Widgets.Groups.Windows.Single is
@@ -17,6 +22,8 @@ package body FLTK.Widgets.Groups.Windows.Single is
pragma Import (C, single_window_set_handle_hook, "single_window_set_handle_hook");
+
+
function new_fl_single_window
(X, Y, W, H : in Interfaces.C.int;
Text : in Interfaces.C.char_array)
@@ -33,6 +40,8 @@ package body FLTK.Widgets.Groups.Windows.Single is
pragma Import (C, free_fl_single_window, "free_fl_single_window");
+
+
procedure fl_single_window_show
(S : in System.Address);
pragma Import (C, fl_single_window_show, "fl_single_window_show");
@@ -41,6 +50,9 @@ package body FLTK.Widgets.Groups.Windows.Single is
(S : in System.Address);
pragma Import (C, fl_single_window_flush, "fl_single_window_flush");
+
+
+
procedure fl_single_window_draw
(W : in System.Address);
pragma Import (C, fl_single_window_draw, "fl_single_window_draw");
@@ -92,8 +104,6 @@ package body FLTK.Widgets.Groups.Windows.Single is
end Create;
-
-
function Create
(W, H : in Integer)
return Single_Window is
@@ -120,8 +130,6 @@ package body FLTK.Widgets.Groups.Windows.Single is
end Show;
-
-
procedure Flush
(This : in out Single_Window) is
begin
@@ -138,8 +146,6 @@ package body FLTK.Widgets.Groups.Windows.Single is
end Draw;
-
-
function Handle
(This : in out Single_Window;
Event : in Event_Kind)