From 4beb3b88e88c3ea070d0437d28b732a6f9d41174 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 5 Jan 2011 10:21:45 +0000 Subject: Renamed Fl_Device::type() to Fl_Device::class_name() to avoid conflict or confusion with Fl_Widget::type(). Added a setter function Fl_Device::class_name(const char *). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8190 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Device.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/Fl_Device.cxx') diff --git a/src/Fl_Device.cxx b/src/Fl_Device.cxx index 9b65a8233..d74ce11fb 100644 --- a/src/Fl_Device.cxx +++ b/src/Fl_Device.cxx @@ -29,18 +29,18 @@ #include #include -const char *Fl_Device::device_type = "Fl_Device"; -const char *Fl_Surface_Device::device_type = "Fl_Surface_Device"; -const char *Fl_Display_Device::device_type = "Fl_Display_Device"; -const char *Fl_Graphics_Driver::device_type = "Fl_Graphics_Driver"; +const char *Fl_Device::class_id = "Fl_Device"; +const char *Fl_Surface_Device::class_id = "Fl_Surface_Device"; +const char *Fl_Display_Device::class_id = "Fl_Display_Device"; +const char *Fl_Graphics_Driver::class_id = "Fl_Graphics_Driver"; #if defined(__APPLE__) || defined(FL_DOXYGEN) -const char *Fl_Quartz_Graphics_Driver::device_type = "Fl_Quartz_Graphics_Driver"; +const char *Fl_Quartz_Graphics_Driver::class_id = "Fl_Quartz_Graphics_Driver"; #endif #if defined(WIN32) || defined(FL_DOXYGEN) -const char *Fl_GDI_Graphics_Driver::device_type = "Fl_GDI_Graphics_Driver"; +const char *Fl_GDI_Graphics_Driver::class_id = "Fl_GDI_Graphics_Driver"; #endif #if !(defined(__APPLE__) || defined(WIN32)) -const char *Fl_Xlib_Graphics_Driver::device_type = "Fl_Xlib_Graphics_Driver"; +const char *Fl_Xlib_Graphics_Driver::class_id = "Fl_Xlib_Graphics_Driver"; #endif -- cgit v1.2.3