From cb7dbc34d73cdb8e305d62c19e9b0164c13727e4 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 10 Apr 2019 15:20:00 +0200 Subject: Make member function Fl_Surface_Device::driver(Fl_Graphics_Driver*) protected. --- FL/Fl_Device.H | 4 ++-- 1 file 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. -- cgit v1.2.3