diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-12-28 16:58:52 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-12-28 16:58:52 +0100 |
| commit | 31327cd649b8ad5a6271057d823abe59a5362c60 (patch) | |
| tree | 942490d6fa3a46feb74ed5b647fc1f175b02da06 /src/drivers/PostScript/Fl_PostScript_Graphics_Driver.H | |
| parent | 6518e2d1f1cf02080ee973d79056afdd727414dd (diff) | |
Fix for Two compiler warnings (#615) - cont'd
The Page_Format and Page_Layout enums have been conceived for them to be combinable
into a single int value.
Diffstat (limited to 'src/drivers/PostScript/Fl_PostScript_Graphics_Driver.H')
| -rw-r--r-- | src/drivers/PostScript/Fl_PostScript_Graphics_Driver.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/PostScript/Fl_PostScript_Graphics_Driver.H b/src/drivers/PostScript/Fl_PostScript_Graphics_Driver.H index 52288cdae..7f7a0acce 100644 --- a/src/drivers/PostScript/Fl_PostScript_Graphics_Driver.H +++ b/src/drivers/PostScript/Fl_PostScript_Graphics_Driver.H @@ -45,7 +45,7 @@ class Fl_PostScript_Graphics_Driver : public Fl_Cairo_Graphics_Driver { public: FILE *output; Fl_PostScript_Close_Command close_cmd_; - enum Fl_Paged_Device::Page_Format page_format_; + int page_format_; char *ps_filename_; int nPages; double pw_, ph_; @@ -158,7 +158,7 @@ public: void transformed_draw(const char* s, int n, double x, double y); //precise text placing //void transformed_draw(const char* s, double x, double y); - enum Fl_Paged_Device::Page_Format page_format_; + int page_format_; char *ps_filename_; void close_command(Fl_PostScript_Close_Command cmd){close_cmd_=cmd;} |
