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.