summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2017-08-24 12:40:29 +0000
committerManolo Gouy <Manolo>2017-08-24 12:40:29 +0000
commitc7405a22a8bb618e51cbaa9f4076822af1b2c908 (patch)
tree91a04b439cee694e64b12f53eadeca04fc9b5863 /FL
parentc2d5cf40672c0d488a7bb67ab81fa567de1169fe (diff)
X11 platform: cleaner implementation of changing the active drawing surface and maintaining clip regions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12396 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Graphics_Driver.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H
index f6806abb8..ffb6c8408 100644
--- a/FL/Fl_Graphics_Driver.H
+++ b/FL/Fl_Graphics_Driver.H
@@ -90,6 +90,9 @@ class FL_EXPORT Fl_Graphics_Driver {
friend FL_EXPORT void gl_start();
friend FL_EXPORT Fl_Bitmask fl_create_bitmask(int w, int h, const uchar *array);
friend FL_EXPORT void fl_delete_bitmask(Fl_Bitmask);
+private:
+ // some platforms may need to reimplement this
+ virtual void set_current_();
public:
// The following functions create the various graphics drivers that are required
// for core operations. They must be implemented as members of Fl_Graphics_Driver,