From bf7c25a1d72b28b6b19a1ac54492be539cb75552 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 12 Feb 2016 16:17:40 +0000 Subject: 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 --- src/Fl_Window.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Window.cxx') 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; } -- cgit v1.2.3