diff options
| author | Manolo Gouy <Manolo> | 2018-04-19 10:39:46 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-04-19 10:39:46 +0000 |
| commit | 54b697cd49d3946ecd1f264c0741f36568822819 (patch) | |
| tree | 399901a93956b7558be6d5e77ba62cb93ee7141d /src/drivers/Quartz | |
| parent | d375918a5ea3210d0d148ec215f1494cbfbd927e (diff) | |
Reorganise access to the value of the GUI scaling factor with public getter and protected, virtual setter member functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12858 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Quartz')
| -rw-r--r-- | src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx index 698d3d9de..bd0504833 100644 --- a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx +++ b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx @@ -102,7 +102,7 @@ void Fl_Quartz_Graphics_Driver::copy_offscreen(int x, int y, int w, int h, Fl_Of src_bytes, 0L, false, kCGRenderingIntentDefault); CGDataProviderRelease(src_bytes); CGColorSpaceRelease(lut); - float s = scale_; + float s = scale(); Fl_Surface_Device *current = Fl_Surface_Device::surface(); // test whether osrc was created by fl_create_offscreen() fl_begin_offscreen(osrc); // does nothing if osrc was not created by fl_create_offscreen() |
