summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-groups-windows-double.adb
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-05-31 17:32:08 +1000
committerJed Barber <jjbarber@y7mail.com>2017-05-31 17:32:08 +1000
commitdda92d3223611c1ce22597c5839e67ecf0dff5ae (patch)
tree12463a1566153b3bed7486ab18e399ac4f66bd17 /src/fltk-widgets-groups-windows-double.adb
parent329d2b5b2df376904c2468738630b9d052d283e5 (diff)
Completed Double_Window, Single_Window, Menu_Window widgets
Diffstat (limited to 'src/fltk-widgets-groups-windows-double.adb')
-rw-r--r--src/fltk-widgets-groups-windows-double.adb17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/fltk-widgets-groups-windows-double.adb b/src/fltk-widgets-groups-windows-double.adb
index c24ada1..2e51b58 100644
--- a/src/fltk-widgets-groups-windows-double.adb
+++ b/src/fltk-widgets-groups-windows-double.adb
@@ -41,6 +41,10 @@ package body FLTK.Widgets.Groups.Windows.Double is
(W : in System.Address);
pragma Import (C, fl_double_window_hide, "fl_double_window_hide");
+ procedure fl_double_window_flush
+ (W : in System.Address);
+ pragma Import (C, fl_double_window_flush, "fl_double_window_flush");
+
procedure fl_double_window_draw
(W : in System.Address);
pragma Import (C, fl_double_window_draw, "fl_double_window_draw");
@@ -114,7 +118,7 @@ package body FLTK.Widgets.Groups.Windows.Double is
procedure Show
- (This : in Double_Window) is
+ (This : in out Double_Window) is
begin
fl_double_window_show (This.Void_Ptr);
end Show;
@@ -123,7 +127,7 @@ package body FLTK.Widgets.Groups.Windows.Double is
procedure Hide
- (This : in Double_Window) is
+ (This : in out Double_Window) is
begin
fl_double_window_hide (This.Void_Ptr);
end Hide;
@@ -131,6 +135,15 @@ package body FLTK.Widgets.Groups.Windows.Double is
+ procedure Flush
+ (This : in out Double_Window) is
+ begin
+ fl_double_window_flush (This.Void_Ptr);
+ end Flush;
+
+
+
+
procedure Draw
(This : in out Double_Window) is
begin