summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-10 15:20:00 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-10 15:20:00 +0200
commitcb7dbc34d73cdb8e305d62c19e9b0164c13727e4 (patch)
tree3a7802d3b6ba54766cb03210ec6aa67f01f08c4e /FL
parentd5943f85b9aa2885fb943ab7d3e7e2aa895829ca (diff)
Make member function Fl_Surface_Device::driver(Fl_Graphics_Driver*) protected.
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Device.H4
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.