summaryrefslogtreecommitdiff
path: root/FL/Fl_Printer.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-01-05 10:21:45 +0000
committerManolo Gouy <Manolo>2011-01-05 10:21:45 +0000
commit4beb3b88e88c3ea070d0437d28b732a6f9d41174 (patch)
treebb2aec298637035c42e9bde2d0a428aab19f7f2f /FL/Fl_Printer.H
parent6320a7c6800ec052720f2117a73698b4360f7977 (diff)
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
Diffstat (limited to 'FL/Fl_Printer.H')
-rw-r--r--FL/Fl_Printer.H6
1 files changed, 3 insertions, 3 deletions
diff --git a/FL/Fl_Printer.H b/FL/Fl_Printer.H
index 50628e5db..ebb02095b 100644
--- a/FL/Fl_Printer.H
+++ b/FL/Fl_Printer.H
@@ -73,7 +73,7 @@ private:
void absolute_printable_rect(int *x, int *y, int *w, int *h);
#endif
public:
- static const char *device_type;
+ static const char *class_id;
Fl_System_Printer(void);
int start_job(int pagecount, int *frompage = NULL, int *topage = NULL);
int start_page (void);
@@ -101,7 +101,7 @@ public:
*/
class Fl_PostScript_Printer : public Fl_PostScript_File_Device {
public:
- static const char *device_type;
+ static const char *class_id;
int start_job(int pages, int *firstpage = NULL, int *lastpage = NULL);
};
@@ -141,7 +141,7 @@ public:
*/
class Fl_Printer : public Fl_Paged_Device {
public:
- static const char *device_type;
+ static const char *class_id;
/** \brief The constructor */
Fl_Printer(void);
int start_job(int pagecount, int *frompage = NULL, int *topage = NULL);