summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Screen_Driver.H2
-rw-r--r--src/fl_read_image.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Screen_Driver.H b/src/Fl_Screen_Driver.H
index c160f8a5e..8bff6fa62 100644
--- a/src/Fl_Screen_Driver.H
+++ b/src/Fl_Screen_Driver.H
@@ -149,7 +149,7 @@ public:
virtual void release_keyboard() {}
/* Member function read_win_rectangle() supports public functions
- fl_read_image() and fl_capture_window_part() which capture pixel data from
+ fl_read_image() and fl_capture_window() which capture pixel data from
a window (or also from an offscreen buffer with fl_read_image).
If 'may_capture_subwins' is true, an implementation may or may not capture
diff --git a/src/fl_read_image.cxx b/src/fl_read_image.cxx
index de6907fe4..129aeaa54 100644
--- a/src/fl_read_image.cxx
+++ b/src/fl_read_image.cxx
@@ -35,7 +35,7 @@
and the value that is placed in the alpha channel. If 0, no alpha
channel is generated.
- \see fl_capture_window_part()
+ \see fl_capture_window()
*/
uchar *fl_read_image(uchar *p, int X, int Y, int w, int h, int alpha) {
uchar *image_data = NULL;
@@ -96,7 +96,7 @@ uchar *fl_read_image(uchar *p, int X, int Y, int w, int h, int alpha) {
The image depth may differ between platforms.
\version 1.4
*/
-Fl_RGB_Image *fl_capture_window_part(Fl_Window *win, int x, int y, int w, int h)
+Fl_RGB_Image *fl_capture_window(Fl_Window *win, int x, int y, int w, int h)
{
Fl_RGB_Image *rgb = NULL;
if (win->shown()) {