diff options
| author | Manolo Gouy <Manolo> | 2016-02-12 16:17:40 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-02-12 16:17:40 +0000 |
| commit | bf7c25a1d72b28b6b19a1ac54492be539cb75552 (patch) | |
| tree | 888b711d4cfad04483b553f170ef5ed933444b29 /src/Fl_Window.cxx | |
| parent | bc83464b642caad491c70e3b54677dd50f6324b2 (diff) | |
Add Fl_Shared_Image *Fl_Image_Surface::highres_image() to draw into high-resolution bitmap.
Also, change arguments of void Fl_Window::capture_titlebar_and_borders() from
Fl_RGB_Image to F_Shared_Image so, in the future, scaled images having
a drawing size distinct from a pixel size can be returned, to support
high-resolution displays.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11159 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Window.cxx')
| -rw-r--r-- | src/Fl_Window.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx index 09f7bc9b9..12f3ef6dd 100644 --- a/src/Fl_Window.cxx +++ b/src/Fl_Window.cxx @@ -475,7 +475,7 @@ void Fl_Window::wait_for_expose() { #if defined(FL_PORTING) # pragma message "FL_PORTING: implement Fl_Window::capture_titlebar_and_borders" -void Fl_Window::capture_titlebar_and_borders(Fl_RGB_Image*& top, Fl_RGB_Image*& left, Fl_RGB_Image*& bottom, Fl_RGB_Image*& right) +void Fl_Window::capture_titlebar_and_borders(Fl_Shared_Image*& top, Fl_Shared_Image*& left, Fl_Shared_Image*& bottom, Fl_Shared_Image*& right) { top = left = bottom = right = NULL; } |
