From dda92d3223611c1ce22597c5839e67ecf0dff5ae Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Wed, 31 May 2017 17:32:08 +1000 Subject: Completed Double_Window, Single_Window, Menu_Window widgets --- src/fltk-widgets-groups-windows-double.adb | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'src/fltk-widgets-groups-windows-double.adb') 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 -- cgit