summaryrefslogtreecommitdiff
path: root/src/Fl_Window_Driver.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-19 23:04:28 +0000
committerManolo Gouy <Manolo>2016-03-19 23:04:28 +0000
commit51030530f24c33c59db3084bc2b088d50b2c6627 (patch)
tree7ae4c000e5f5d50b26988df77ae7a3b04318baf7 /src/Fl_Window_Driver.cxx
parentc2067d81be322b07ca541dbc564fc6c1ca64025a (diff)
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
Diffstat (limited to 'src/Fl_Window_Driver.cxx')
-rw-r--r--src/Fl_Window_Driver.cxx19
1 files changed, 0 insertions, 19 deletions
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 <config.h>
#include "config_lib.h"
#include <FL/Fl_Window_Driver.H>
-#include <FL/Fl.H>
-#include <FL/Fl_Overlay_Window.H>
#include <FL/fl_draw.H>
@@ -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;
}