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.
This commit is contained in:
ManoloFLTK 2019-04-11 11:28:20 +02:00
parent 3bbc453237
commit 86ddfca2f3
2 changed files with 18 additions and 0 deletions

View File

@ -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$".

View File

@ -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.