diff options
| author | Manolo Gouy <Manolo> | 2018-05-25 06:54:03 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-05-25 06:54:03 +0000 |
| commit | 8ef4035b6da95acecbda10b7a9f7d3f93d2389b7 (patch) | |
| tree | 61e0500a103f6be13a3238ece564fc459da21c7b /FL | |
| parent | bbd551469150593d05ae7c671b2e3366bcd303d2 (diff) | |
Replace Fl_Paged_Device::newPrinterDriver() by Fl_Printer::newPrinterDriver().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12937 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Paged_Device.H | 2 | ||||
| -rw-r--r-- | FL/Fl_Printer.H | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/FL/Fl_Paged_Device.H b/FL/Fl_Paged_Device.H index 82de3a60c..6d86e5840 100644 --- a/FL/Fl_Paged_Device.H +++ b/FL/Fl_Paged_Device.H @@ -39,8 +39,6 @@ class FL_EXPORT Fl_Paged_Device : public Fl_Widget_Surface { protected: /** \brief The constructor */ Fl_Paged_Device() : Fl_Widget_Surface(NULL) {}; - /** A platform should implement this function to support printing via the Fl_Printer class. */ - static Fl_Paged_Device* newPrinterDriver(void); public: /** \brief Possible page formats. diff --git a/FL/Fl_Printer.H b/FL/Fl_Printer.H index ca35750e9..c5e0cc131 100644 --- a/FL/Fl_Printer.H +++ b/FL/Fl_Printer.H @@ -87,6 +87,8 @@ class FL_EXPORT Fl_Printer : public Fl_Paged_Device { private: Fl_Paged_Device *printer; + /** Each platform implements this function its own way */ + static Fl_Paged_Device* newPrinterDriver(void); public: /** The constructor */ Fl_Printer(void); @@ -104,7 +106,7 @@ public: void end_job (void); void draw_decorated_window(Fl_Window *win, int x_offset, int y_offset); void set_current(void); - + /** \name These attributes are useful for the Linux/Unix platform only. \{ */ |
