From 51030530f24c33c59db3084bc2b088d50b2c6627 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sat, 19 Mar 2016 23:04:28 +0000 Subject: Advancing Albrecht's plan for the Fl_Window_Driver class. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11387 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Window_Driver.cxx | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/Fl_Window_Driver.cxx') diff --git a/src/Fl_Window_Driver.cxx b/src/Fl_Window_Driver.cxx index 12d26e664..5c3861685 100644 --- a/src/Fl_Window_Driver.cxx +++ b/src/Fl_Window_Driver.cxx @@ -18,11 +18,8 @@ // -#include #include "config_lib.h" #include -#include -#include #include @@ -44,25 +41,13 @@ void Fl_Window_Driver::take_focus() } -void Fl_Window_Driver::flush_single() -{ - Fl_X *i = Fl_X::i(pWindow); - if (!i) return; - fl_clip_region(i->region); - i->region = 0; - pWindow->draw(); -} - - void Fl_Window_Driver::flush_double() { - flush_single(); } void Fl_Window_Driver::flush_overlay() { - flush_single(); } @@ -81,10 +66,6 @@ void Fl_Window_Driver::draw_end() void Fl_Window_Driver::destroy_double_buffer() { Fl_X *i = Fl_X::i(pWindow); - /* This is a working, platform-independent implementation. - Some platforms may re-implement it for their own logic: - - on Xlib, it is reimplemented if the Xdbe extension is available. - */ fl_delete_offscreen(i->other_xid); i->other_xid = 0; } -- cgit v1.2.3