summaryrefslogtreecommitdiff
path: root/FL/Fl_Paged_Device.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-05-09 14:16:35 +0000
committerManolo Gouy <Manolo>2018-05-09 14:16:35 +0000
commit2b7aac129b05638ffd21be5c037192e797d6d074 (patch)
treedd00e6cb7d95bbc0d5c78cb05cd0ec13fc819bce /FL/Fl_Paged_Device.H
parent80818999345212384326ec833d090988c633eb49 (diff)
Rename Fl_Paged_Device::start_job() to begin_job() and Fl_Paged_Device::start_page() to begin_page().
The new function names begin_job() and begin_page() better match end_job() and end_page() with which they must be used by pair. The old names start_job() and start_page() are maintained for API compatibility with FLTK 1.3.x git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12910 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Paged_Device.H')
-rw-r--r--FL/Fl_Paged_Device.H10
1 files changed, 8 insertions, 2 deletions
diff --git a/FL/Fl_Paged_Device.H b/FL/Fl_Paged_Device.H
index 03088712c..82de3a60c 100644
--- a/FL/Fl_Paged_Device.H
+++ b/FL/Fl_Paged_Device.H
@@ -105,8 +105,14 @@ public:
static const page_format page_formats[NO_PAGE_FORMATS];
/** \brief The destructor */
virtual ~Fl_Paged_Device() {};
- virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL);
- virtual int start_page(void);
+ virtual int begin_job(int pagecount, int *frompage = NULL, int *topage = NULL);
+ /** Synonym of begin_job(int pagecount, int *frompage, int *topage).
+ For API compatibility with FLTK 1.3.x */
+ int start_job(int pagecount, int *frompage = NULL, int *topage = NULL) {return begin_job(pagecount, frompage, topage);}
+ virtual int begin_page(void);
+ /** Synonym of begin_page().
+ For API compatibility with FLTK 1.3.x */
+ int start_page() {return begin_page();}
virtual void margins(int *left, int *top, int *right, int *bottom);
virtual void scale(float scale_x, float scale_y = 0.);
virtual void rotate(float angle);