diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-04-10 15:20:00 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-04-10 15:20:00 +0200 |
| commit | cb7dbc34d73cdb8e305d62c19e9b0164c13727e4 (patch) | |
| tree | 3a7802d3b6ba54766cb03210ec6aa67f01f08c4e | |
| parent | d5943f85b9aa2885fb943ab7d3e7e2aa895829ca (diff) | |
Make member function Fl_Surface_Device::driver(Fl_Graphics_Driver*) protected.
| -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 fc3664408..daf0ec63d 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -75,11 +75,11 @@ class FL_EXPORT Fl_Surface_Device { protected: /** Constructor that sets the graphics driver to use for the created surface. */ Fl_Surface_Device(Fl_Graphics_Driver *graphics_driver) {pGraphicsDriver = graphics_driver; } + /** Sets the graphics driver of this drawing surface. */ + inline void driver(Fl_Graphics_Driver *graphics_driver) {pGraphicsDriver = graphics_driver;}; public: virtual void set_current(void); virtual bool is_current(); - /** \brief Sets the graphics driver of this drawing surface. */ - inline void driver(Fl_Graphics_Driver *graphics_driver) {pGraphicsDriver = graphics_driver;}; /** \brief Returns the graphics driver of this drawing surface. */ inline Fl_Graphics_Driver *driver() {return pGraphicsDriver; }; /** The current drawing surface. |
