summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-07-06 21:01:28 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-07-06 21:01:42 +0200
commit2f0be9d53711ec287daedbacd1ceb2ee48bca3ff (patch)
treef16c94bf168968b3c72fd7c13bf76e91a65b3984
parent0b5f92d1c76b5b3e7f309c0f33483d5c313a259a (diff)
Add member function FILE* Fl_PostScript_File_Device::file()
-rw-r--r--FL/Fl_PostScript.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_PostScript.H b/FL/Fl_PostScript.H
index f5f55f4fd..b5b84e422 100644
--- a/FL/Fl_PostScript.H
+++ b/FL/Fl_PostScript.H
@@ -311,6 +311,8 @@ public:
void end_job(void);
/** \brief Label of the PostScript file chooser window */
static const char *file_chooser_title;
+ /** Returns the underlying FILE* receiving all PostScript data */
+ FILE *file() { return driver()->file(); }
};
/** Encapsulated PostScript drawing surface.