diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-05-14 17:05:20 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-05-14 17:05:20 +0200 |
| commit | 3114ef0e2f6a9649691f1a9113734787da9ab909 (patch) | |
| tree | 4ad555f3e94405502882f307184c4083b7c2920c /FL | |
| parent | 9b1379e6888abc7cc051a6c82d8b27ce454ceb5a (diff) | |
Fix doxygen warnings
1. src/Fl_add_idle.cxx: add missing parameter docs
2. FL/fl_draw.H: rename 1st parameter of fl_draw_pixmap(...) from
'data' to 'cdata'.
The 2nd warning appears to be caused by a 'friend' declaration in
FL/Fl_Graphics_Driver.H, line 98:
'friend FL_EXPORT int fl_draw_pixmap(const char*const* cdata, ...)'
This 'friend' declaration seems to "confuse" some (newer?) doxygen
versions, definitely doxygen 1.13.2.
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/fl_draw.H | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/FL/fl_draw.H b/FL/fl_draw.H index 22a4374c1..89292b7f8 100644 --- a/FL/fl_draw.H +++ b/FL/fl_draw.H @@ -1155,13 +1155,13 @@ FL_EXPORT Fl_RGB_Image *fl_capture_window(Fl_Window *win, int x, int y, int w, i The image is dithered on 8-bit displays so you won't lose color space for programs displaying both images and pixmaps. - \param[in] data pointer to XPM image data - \param[in] x,y position of top-left corner - \param[in] bg background color + \param[in] cdata pointer to XPM image data + \param[in] x,y position of top-left corner + \param[in] bg background color \returns 0 if there was any error decoding the XPM data. */ -FL_EXPORT int fl_draw_pixmap(const char *const *data, int x, int y, Fl_Color bg = FL_GRAY); +FL_EXPORT int fl_draw_pixmap(const char *const *cdata, int x, int y, Fl_Color bg = FL_GRAY); /** Draw XPM image data, with the top-left corner at the given position. \see fl_draw_pixmap(const char* const* data, int x, int y, Fl_Color bg) |
