summaryrefslogtreecommitdiff
path: root/FL/Fl_Device.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-10 13:14:04 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-10 13:14:04 +0200
commit7a0bebb22fba0e2ed260b513421f6082a1c27a9e (patch)
tree2dd0a5b06a4f404767527722bb3de2b08a3db05c /FL/Fl_Device.H
parent22a5dc3085836f17c0e895040b7dac4a7a0919c5 (diff)
New virtual member function bool Fl_Surface_Device::is_current()
Diffstat (limited to 'FL/Fl_Device.H')
-rw-r--r--FL/Fl_Device.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H
index d2b9cfabb..fc3664408 100644
--- a/FL/Fl_Device.H
+++ b/FL/Fl_Device.H
@@ -77,6 +77,7 @@ protected:
Fl_Surface_Device(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. */