diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-12-09 11:40:43 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-12-09 11:40:55 +0100 |
| commit | 08e59770aa2be8e3aa91c0593e91f5d19f007bc3 (patch) | |
| tree | 093f51fb85bf469c5532c6aefbd05a5da1dfda1c /src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H | |
| parent | 5a7a70b8958b726b92e76b4aedeba4a04b85085f (diff) | |
Remove compiler warnings about unused parameters (issue #307) - cont'd
Diffstat (limited to 'src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H')
| -rw-r--r-- | src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H index 9c20b3b9b..a2ab981b4 100644 --- a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H +++ b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H @@ -100,8 +100,8 @@ public: virtual void offscreen_size(Fl_Offscreen o, int &width, int &height); virtual APP_SCALING_CAPABILITY rescalable() { return SYSTEMWIDE_APP_SCALING; } - virtual float scale(int n) {return scale_;} - virtual void scale(int n, float f) { scale_ = f;} + virtual float scale(int /*nscreen*/) {return scale_;} + virtual void scale(int /*nscreen*/, float f) { scale_ = f;} virtual Fl_RGB_Image *read_win_rectangle(int X, int Y, int w, int h, Fl_Window *win, bool may_capture_subwins, bool *did_capture_subwins); virtual void default_icons(const Fl_RGB_Image *icons[], int count); private: |
