From 2b7aac129b05638ffd21be5c037192e797d6d074 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 9 May 2018 14:16:35 +0000 Subject: 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 --- FL/Fl_Paged_Device.H | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'FL/Fl_Paged_Device.H') 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); -- cgit v1.2.3