From fa9a33eaeeddb85a6afedc2d02d0d67f290b0822 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 18 Mar 2016 18:20:11 +0000 Subject: Beginning of Albrecht's plan for Fl_Window and Fl_Window_Driver classes. Still unclear whether the implementation of the flush() functions follows the plan. The Fl_Printer class is fully rewritten under the driver model. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11364 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx') diff --git a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx index c1893b841..78110c7fb 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx @@ -255,11 +255,6 @@ void Fl_WinAPI_Window_Driver::draw_begin() } -void Fl_WinAPI_Window_Driver::draw_end() -{ -} - - void Fl_WinAPI_Window_Driver::flush_single() { if (!pWindow->shown()) return; @@ -287,7 +282,7 @@ void Fl_WinAPI_Window_Driver::flush_double() fl_clip_region(i->region); i->region = 0; fl_begin_offscreen(i->other_xid); fl_graphics_driver->clip_region( 0 ); - draw(); + pWindow->draw(); fl_end_offscreen(); } @@ -317,7 +312,7 @@ void Fl_WinAPI_Window_Driver::flush_overlay() fl_clip_region(i->region); i->region = 0; fl_begin_offscreen(i->other_xid); fl_graphics_driver->clip_region(0); - draw(); + pWindow->draw(); fl_end_offscreen(); } -- cgit v1.2.3