diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Printer.cxx | 1 | ||||
| -rw-r--r-- | src/drivers/PostScript/Fl_PostScript.cxx | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/Fl_Printer.cxx b/src/Fl_Printer.cxx index 015592332..877d4b648 100644 --- a/src/Fl_Printer.cxx +++ b/src/Fl_Printer.cxx @@ -81,6 +81,7 @@ void Fl_PostScript_File_Device::untranslate(void) {} int Fl_PostScript_File_Device::end_page (void) {return 1;} void Fl_PostScript_File_Device::end_job(void) {} FILE* Fl_PostScript_File_Device::file() {return NULL;} +void Fl_PostScript_File_Device::close_command(Fl_PostScript_Close_Command cmd) {} Fl_PostScript_File_Device::~Fl_PostScript_File_Device(void) {} Fl_EPS_File_Surface::Fl_EPS_File_Surface(int width, int height, FILE *eps_output, diff --git a/src/drivers/PostScript/Fl_PostScript.cxx b/src/drivers/PostScript/Fl_PostScript.cxx index 958bbd1a6..755185ec8 100644 --- a/src/drivers/PostScript/Fl_PostScript.cxx +++ b/src/drivers/PostScript/Fl_PostScript.cxx @@ -2111,6 +2111,10 @@ void Fl_PostScript_File_Device::end_job (void) } } +void Fl_PostScript_File_Device::close_command(Fl_PostScript_Close_Command cmd) { + driver()->close_command(cmd); +} + Fl_EPS_File_Surface::Fl_EPS_File_Surface(int width, int height, FILE *eps, Fl_Color background, Fl_PostScript_Close_Command closef) : Fl_Widget_Surface(new Fl_PostScript_Graphics_Driver()) { Fl_PostScript_Graphics_Driver *ps = driver(); |
