summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-08-23 09:38:46 +0000
committerManolo Gouy <Manolo>2016-08-23 09:38:46 +0000
commit0267781cec8c0bb59689c8b1bad59f98fd3283f9 (patch)
treeed4498a3cee48df049c1323f1aa91087bc8f7f0a /FL
parent9c8c062d6b5498d3acdf07a841f4036f45ff73f0 (diff)
Change return type of Fl_Screen_Driver::read_win_rectangle() to Fl_RGB_Image*
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11884 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Screen_Driver.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H
index 8e041b25f..853798dac 100644
--- a/FL/Fl_Screen_Driver.H
+++ b/FL/Fl_Screen_Driver.H
@@ -129,7 +129,7 @@ public:
# pragma message "FL_PORTING: implement code to read RGB data from screen"
#endif
virtual uchar *read_image(uchar *p, int x, int y, int w, int h, int alpha);
- virtual uchar *read_win_rectangle(uchar *p, int X, int Y, int w, int h, int alpha) {return NULL;}
+ virtual Fl_RGB_Image *read_win_rectangle(uchar *p, int X, int Y, int w, int h, int alpha) {return NULL;}
static void write_image_inside(Fl_RGB_Image *to, Fl_RGB_Image *from, int to_x, int to_y);
static Fl_RGB_Image *traverse_to_gl_subwindows(Fl_Group *g, uchar *p, int x, int y, int w, int h, int alpha,
Fl_RGB_Image *full_img);