summaryrefslogtreecommitdiff
path: root/FL/Fl_Printer.H
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2022-12-30 19:14:36 +0100
committerGitHub <noreply@github.com>2022-12-30 19:14:36 +0100
commit44c874b731f9f58c2f50c3c6076371058cbe26e3 (patch)
tree2386dfcc700c41a1109fc78b96875c11056abcc9 /FL/Fl_Printer.H
parentf58a93a159105336136ce6e54ab7fc161e4fa15a (diff)
Use `FL_OVERRIDE` for all overridden virtual methods (#611)
FL_OVERRIDE is defined as `override` for C++11 and higher FL_OVERRIDE is defined as `override` for VisualC 2015 and newer Don't interfere with Fl_Widget::override()
Diffstat (limited to 'FL/Fl_Printer.H')
-rw-r--r--FL/Fl_Printer.H28
1 files changed, 14 insertions, 14 deletions
diff --git a/FL/Fl_Printer.H b/FL/Fl_Printer.H
index a8e4fdce4..b65fa3085 100644
--- a/FL/Fl_Printer.H
+++ b/FL/Fl_Printer.H
@@ -99,20 +99,20 @@ private:
public:
/** The constructor */
Fl_Printer(void);
- int begin_job(int pagecount = 0, int *frompage = NULL, int *topage = NULL, char **perr_message = NULL);
- int begin_page(void);
- int printable_rect(int *w, int *h);
- void margins(int *left, int *top, int *right, int *bottom);
- void origin(int *x, int *y);
- void origin(int x, int y);
- void scale(float scale_x, float scale_y = 0.);
- void rotate(float angle);
- void translate(int x, int y);
- void untranslate(void);
- int end_page (void);
- void end_job (void);
- void set_current(void);
- virtual bool is_current();
+ int begin_job(int pagecount = 0, int *frompage = NULL, int *topage = NULL, char **perr_message = NULL) FL_OVERRIDE;
+ int begin_page(void) FL_OVERRIDE;
+ int printable_rect(int *w, int *h) FL_OVERRIDE;
+ void margins(int *left, int *top, int *right, int *bottom) FL_OVERRIDE;
+ void origin(int *x, int *y) FL_OVERRIDE;
+ void origin(int x, int y) FL_OVERRIDE;
+ void scale(float scale_x, float scale_y = 0.) FL_OVERRIDE;
+ void rotate(float angle) FL_OVERRIDE;
+ void translate(int x, int y) FL_OVERRIDE;
+ void untranslate(void) FL_OVERRIDE;
+ int end_page (void) FL_OVERRIDE;
+ void end_job (void) FL_OVERRIDE;
+ void set_current(void) FL_OVERRIDE;
+ bool is_current() FL_OVERRIDE;
/** \name These attributes are useful for the Linux/Unix platform only.
\{