diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-04-18 16:27:29 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-04-18 16:27:29 +0200 |
| commit | 2c21e520f4859904739deb7d058b084f314ed47d (patch) | |
| tree | 62f8f1a00d0c2086d28e58629239f4e48a3508ef /FL/Fl_Paged_Device.H | |
| parent | 14a5187fa727e80a205e3c4fc84c892cc5c3e6e9 (diff) | |
Fix potential compiler warnings in public headers [-Wshadow]
These warnings would be issued if users compiled their programs with
diagnostics '-Wshadow' turned on using gcc, clang, and maybe other
compilers.
Diffstat (limited to 'FL/Fl_Paged_Device.H')
| -rw-r--r-- | FL/Fl_Paged_Device.H | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/FL/Fl_Paged_Device.H b/FL/Fl_Paged_Device.H index cec476637..59f84ce99 100644 --- a/FL/Fl_Paged_Device.H +++ b/FL/Fl_Paged_Device.H @@ -1,7 +1,7 @@ // // Printing support for the Fast Light Tool Kit (FLTK). // -// Copyright 2010-2016 by Bill Spitzak and others. +// Copyright 2010-2024 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -116,12 +116,11 @@ public: /** Synonym of draw(Fl_Widget*, int, int) */ void print_widget(Fl_Widget* widget, int delta_x = 0, int delta_y = 0) {draw(widget, delta_x, delta_y);} /** Synonym of draw_decorated_window(Fl_Window*, int, int) */ - void print_window(Fl_Window *win, int x_offset = 0, int y_offset = 0) { - draw_decorated_window(win, x_offset, y_offset); + void print_window(Fl_Window *win, int x_off = 0, int y_off = 0) { + draw_decorated_window(win, x_off, y_off); } virtual int end_page (void); virtual void end_job (void); }; #endif // Fl_Paged_Device_H - |
