From 86ddfca2f3ffaa4bcfb628a8db8f037670cb0986 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 11 Apr 2019 11:28:20 +0200 Subject: [PATCH] Remove 2 Doxygen warnings fltk-1.4/src/Fl_Copy_Surface.cxx:66: warning: no uniquely matching class member found for int Fl_Copy_Surface_Driver::printable_rect(int *w, int *h) and same for Fl_Image_Surface_Driver. --- src/Fl_Copy_Surface.cxx | 9 +++++++++ src/Fl_Image_Surface.cxx | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/src/Fl_Copy_Surface.cxx b/src/Fl_Copy_Surface.cxx index 0ebe3ee0f..53881c62e 100644 --- a/src/Fl_Copy_Surface.cxx +++ b/src/Fl_Copy_Surface.cxx @@ -63,10 +63,19 @@ int Fl_Copy_Surface::printable_rect(int *w, int *h) { return 1; } +/** + \cond DriverDev + \addtogroup DriverDeveloper + \{ + */ int Fl_Copy_Surface_Driver::printable_rect(int *w, int *h) { *w = width; *h = height; return 0; } +/** + \} + \endcond + */ // // End of "$Id$". diff --git a/src/Fl_Image_Surface.cxx b/src/Fl_Image_Surface.cxx index 7dc079db8..f58949c19 100644 --- a/src/Fl_Image_Surface.cxx +++ b/src/Fl_Image_Surface.cxx @@ -76,10 +76,19 @@ Fl_Offscreen Fl_Image_Surface::offscreen() { int Fl_Image_Surface::printable_rect(int *w, int *h) {return platform_surface->printable_rect(w, h);} +/** + \cond DriverDev + \addtogroup DriverDeveloper + \{ + */ int Fl_Image_Surface_Driver::printable_rect(int *w, int *h) { *w = width; *h = height; return 0; } +/** + \} + \endcond + */ /** Returns an image made of all drawings sent to the Fl_Image_Surface object. The returned object contains its own copy of the RGB data.