diff options
| author | Manolo Gouy <Manolo> | 2017-12-23 06:34:42 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-12-23 06:34:42 +0000 |
| commit | e1893334fd1e2377635b6488945f730263b04fd9 (patch) | |
| tree | 75e19f73095f39ea222d494b54a696bd89e70ea0 /src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H | |
| parent | c44382e973ebb54396687892c43b92ac0655bbce (diff) | |
Continue support for GUI rescaling under MacOS: fix Fl_Overlay_Window.
This patch also improves by simplification the code of class Fl_Quartz_Image_Surface_Driver:
because, under the driver model, there's a separate graphics content for the display and for
each offscreen buffer, it's possible to reverse the drawing orientation (draw from top to bottom)
once at offscreen creation. It's thus no longer necessary to reverse orientation in
Fl_Quartz_Graphics_Driver::restore_clip() specifically for offscreen buffers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12603 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H')
| -rw-r--r-- | src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H index 1f58e2c16..08a8ce42c 100644 --- a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H +++ b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H @@ -104,6 +104,7 @@ public: virtual void draw_end(); virtual void make_current(); virtual void label(const char *name, const char *mininame); + virtual void destroy_double_buffer(); virtual void show(); virtual void resize(int X,int Y,int W,int H); virtual void hide(); |
