diff options
| author | Manolo Gouy <Manolo> | 2016-04-19 12:46:07 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-19 12:46:07 +0000 |
| commit | 034cfc94a31b92a02454630da1edb27670633ebb (patch) | |
| tree | 2790a839d1c2e4d5e37780b499f96c32167da902 /src/Fl_Device.cxx | |
| parent | 366f4bfbc9e6d71e7b5fccf6d666d5dd3cab600c (diff) | |
Move Fl_X::set_high_resolution() to classes Fl_Graphics_Driver and Fl_Quartz_Graphics_Driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11656 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Device.cxx')
| -rw-r--r-- | src/Fl_Device.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Fl_Device.cxx b/src/Fl_Device.cxx index 7d37edb61..07df9d8db 100644 --- a/src/Fl_Device.cxx +++ b/src/Fl_Device.cxx @@ -48,8 +48,6 @@ TODO: */ -bool Fl_Display_Device::high_res_window_ = false; - /** \brief Make this surface the current drawing surface. This surface will receive all future graphics requests. */ @@ -80,6 +78,10 @@ Fl_Display_Device *Fl_Display_Device::display_device() { return display; }; +bool Fl_Display_Device::high_resolution() +{ + return Fl_Display_Device::display_device()->driver()->high_resolution(); +} Fl_Surface_Device *Fl_Surface_Device::default_surface() { |
