From b6b99d84e9513405ee381dbf93572914d195fc75 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 7 Mar 2016 20:50:18 +0000 Subject: Fix PicoSDL. Fixed some issues with Image_Surface and Copy_Surface for PicoSDL. Still have to virtualize the driver concept. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11307 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Device.H | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'FL/Fl_Device.H') diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index 8d847d6c7..26624487e 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -54,18 +54,18 @@ class Fl_Widget; */ class FL_EXPORT Fl_Surface_Device { /** \brief The graphics driver in use by this surface. */ - Fl_Graphics_Driver *_driver; + Fl_Graphics_Driver *pGraphicsDriver; static Fl_Surface_Device *_surface; // the surface that currently receives graphics output - static Fl_Surface_Device *default_surface(); // create surface is none exists yet + static Fl_Surface_Device *default_surface(); // create surface if none exists yet protected: /** \brief Constructor that sets the graphics driver to use for the created surface. */ - Fl_Surface_Device(Fl_Graphics_Driver *graphics_driver) {_driver = graphics_driver; }; + Fl_Surface_Device(Fl_Graphics_Driver *graphics_driver) {pGraphicsDriver = graphics_driver; }; public: virtual void set_current(void); /** \brief Sets the graphics driver of this drawing surface. */ - inline void driver(Fl_Graphics_Driver *graphics_driver) {_driver = graphics_driver;}; + 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 _driver; }; + inline Fl_Graphics_Driver *driver() {return pGraphicsDriver; }; /** The current drawing surface. In other words, the Fl_Surface_Device object that currently receives all graphics output */ static inline Fl_Surface_Device *surface() { -- cgit v1.2.3