diff options
| -rw-r--r-- | FL/fl_draw.H | 8 | ||||
| -rw-r--r-- | src/Fl_add_idle.cxx | 1 |
2 files changed, 5 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) diff --git a/src/Fl_add_idle.cxx b/src/Fl_add_idle.cxx index 50e34780a..1d18d257f 100644 --- a/src/Fl_add_idle.cxx +++ b/src/Fl_add_idle.cxx @@ -68,6 +68,7 @@ static void call_idle() { FLTK will not recursively call the idle callback. \param[in] cb your idle callback + \param[in] data an arbitrary data value provided to your callback */ void Fl::add_idle(Fl_Idle_Handler cb, void* data) { idle_cb* p = freelist; |
