diff options
| author | Manolo Gouy <Manolo> | 2016-12-01 06:40:17 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-12-01 06:40:17 +0000 |
| commit | 7f3f3f3e08f5e1692449c2f82b9e3802f96bb68b (patch) | |
| tree | 2135895d7a8538da6683a2db2d66506f5fd27e71 /FL/Fl_Device.H | |
| parent | 1458f7e84bdd697bb3279c4cf00a6182d4322c33 (diff) | |
Rename Fl_Surface_Device::_surface private member variable to surface_ following the CMP.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Device.H')
| -rw-r--r-- | FL/Fl_Device.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index 41e3a9fe7..7228d3cd7 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -54,7 +54,7 @@ class Fl_Widget; class FL_EXPORT Fl_Surface_Device { /** The graphics driver in use by this surface. */ Fl_Graphics_Driver *pGraphicsDriver; - static Fl_Surface_Device *_surface; // the surface that currently receives graphics output + static Fl_Surface_Device *surface_; // the surface that currently receives graphics output static Fl_Surface_Device *default_surface(); // create surface if none exists yet static Fl_Surface_Device *pre_surface_; // Some drawing surfaces (e.g., Fl_XXX_Image_Surface_Driver) need to re-implement this. @@ -72,7 +72,7 @@ public: /** The current drawing surface. In other words, the Fl_Surface_Device object that currently receives all graphics output */ static inline Fl_Surface_Device *surface() { - return _surface ? _surface : default_surface(); + return surface_ ? surface_ : default_surface(); }; /** \brief The destructor. */ virtual ~Fl_Surface_Device(); |
