summaryrefslogtreecommitdiff
path: root/src/drivers/Quartz
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-02-25 17:56:48 +0000
committerManolo Gouy <Manolo>2016-02-25 17:56:48 +0000
commit7f17b915db467ed1b49ce1b4a0bb7f36dc5cba85 (patch)
tree667444a3146af11c9ef253f906ec5b39f8342bbc /src/drivers/Quartz
parent31793cbdba8e318350c5ed11b06d5a678eb15608 (diff)
Remove the useless pseudo run-time type information supported by the Fl_Device class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Quartz')
-rw-r--r--src/drivers/Quartz/Fl_Quartz_Display_Device.cxx4
-rw-r--r--src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx3
-rw-r--r--src/drivers/Quartz/Fl_Quartz_Graphics_Driver.h2
3 files changed, 1 insertions, 8 deletions
diff --git a/src/drivers/Quartz/Fl_Quartz_Display_Device.cxx b/src/drivers/Quartz/Fl_Quartz_Display_Device.cxx
index 36a54dc57..0983738d9 100644
--- a/src/drivers/Quartz/Fl_Quartz_Display_Device.cxx
+++ b/src/drivers/Quartz/Fl_Quartz_Display_Device.cxx
@@ -1,7 +1,7 @@
//
// "$Id$"
//
-// implementation of Fl_Device class for the Fast Light Tool Kit (FLTK).
+// implementation of Fl_Display_Device class for the Fast Light Tool Kit (FLTK).
//
// Copyright 2010-2016 by Bill Spitzak and others.
//
@@ -19,8 +19,6 @@
// FIXME: implement this
#if 0
-const char *Fl_Display_Device::class_id = "Fl_Display_Device";
-
/** A constructor that sets the graphics driver used by the display */
Fl_Display_Device::Fl_Display_Device(Fl_Graphics_Driver *graphics_driver) : Fl_Surface_Device(graphics_driver) {
this->set_current();
diff --git a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx
index 8f14af883..32e67a7b2 100644
--- a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx
+++ b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.cxx
@@ -20,9 +20,6 @@
#include "../../config_lib.h"
#include "Fl_Quartz_Graphics_Driver.h"
-
-const char *Fl_Quartz_Graphics_Driver::class_id = "Fl_Quartz_Graphics_Driver";
-
/* Reference to the current CGContext
For back-compatibility only. The preferred procedure to get this reference is
Fl_Surface_Device::surface()->driver()->gc().
diff --git a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.h b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.h
index 22b2eaef4..de34ea36a 100644
--- a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.h
+++ b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.h
@@ -42,8 +42,6 @@ class Fl_Quartz_Graphics_Driver : public Fl_Graphics_Driver {
protected:
CGContextRef gc_;
public:
- static const char *class_id;
- const char *class_name() {return class_id;};
virtual int has_feature(driver_feature mask) { return mask & NATIVE; }
virtual void gc(void *ctxt) {if (ctxt != gc_) global_gc(); gc_ = (CGContextRef)ctxt; }
virtual void *gc() {return gc_;}