From c7f0ee3bd0f7d2fe657f4fa7e04f420b877a6542 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 8 Sep 2014 12:35:23 +0000 Subject: Fix for STR #3130 where PostScript printing may fail when program modifies LC_NUMERIC of its locale. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10290 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_PostScript.H | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'FL/Fl_PostScript.H') diff --git a/FL/Fl_PostScript.H b/FL/Fl_PostScript.H index bfa588b7c..e679b8eaa 100644 --- a/FL/Fl_PostScript.H +++ b/FL/Fl_PostScript.H @@ -25,6 +25,7 @@ #include #include +#include /** \brief PostScript graphical backend. @@ -59,7 +60,7 @@ extern "C" { } class FL_EXPORT Fl_PostScript_Graphics_Driver : public Fl_Graphics_Driver { -public: +public: static const char *class_id; const char *class_name() {return class_id;}; Fl_PostScript_Graphics_Driver(); @@ -205,6 +206,7 @@ class Clip { void draw(Fl_Pixmap * pxm,int XP, int YP, int WP, int HP, int cx, int cy); void draw(Fl_Bitmap * bitmap,int XP, int YP, int WP, int HP, int cx, int cy); void draw(Fl_RGB_Image * rgb,int XP, int YP, int WP, int HP, int cx, int cy); + int clocale_printf(const char *format, ...); ~Fl_PostScript_Graphics_Driver(); }; -- cgit v1.2.3