summaryrefslogtreecommitdiff
path: root/src/fl_read_image.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-11-16 15:03:36 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-11-16 15:03:36 +0100
commit397226b75d0c2eb8bc7ecb25f6aa0c496ee08b60 (patch)
treea72db93bc323a3d786be8e8de0096c8c1a61fec5 /src/fl_read_image.cxx
parentaf0bb7e6c968a9c51baefbaba9fd3ea59753d545 (diff)
Add use of fl_capture_window() by test/device
Also, rename fl_capture_window_part() to fl_capture_window().
Diffstat (limited to 'src/fl_read_image.cxx')
-rw-r--r--src/fl_read_image.cxx4
1 files changed, 2 insertions, 2 deletions
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()) {