From 5c16dcb65bfd8831a6834589fcfe5d5854386098 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 6 May 2018 07:14:13 +0000 Subject: Simplify Fl_XXX_Window_Driver::capture_titlebar_and_borders() using Fl_Image::scale(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12902 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Window_Driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Window_Driver.cxx') diff --git a/src/Fl_Window_Driver.cxx b/src/Fl_Window_Driver.cxx index 3cba792c7..f59235971 100644 --- a/src/Fl_Window_Driver.cxx +++ b/src/Fl_Window_Driver.cxx @@ -164,7 +164,7 @@ void Fl_Window_Driver::shape_pixmap_(Fl_Image* pixmap) { delete rgba; } -void Fl_Window_Driver::capture_titlebar_and_borders(Fl_Shared_Image*& top, Fl_Shared_Image*& left, Fl_Shared_Image*& bottom, Fl_Shared_Image*& right) { +void Fl_Window_Driver::capture_titlebar_and_borders(Fl_RGB_Image*& top, Fl_RGB_Image*& left, Fl_RGB_Image*& bottom, Fl_RGB_Image*& right) { top = left = bottom = right = NULL; } -- cgit v1.2.3