summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-05-06 07:14:13 +0000
committerManolo Gouy <Manolo>2018-05-06 07:14:13 +0000
commit5c16dcb65bfd8831a6834589fcfe5d5854386098 (patch)
tree5b1abc66856de9dd36ce65c75467b842969d4289 /FL
parentaab1b72af4924293ffc2fa74180480dc9afcc06f (diff)
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
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Window_Driver.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Window_Driver.H b/FL/Fl_Window_Driver.H
index 09bd098f4..986989c30 100644
--- a/FL/Fl_Window_Driver.H
+++ b/FL/Fl_Window_Driver.H
@@ -175,8 +175,8 @@ public:
static void default_icons(const Fl_RGB_Image *icons[], int count);
// --- window printing/drawing helper
- virtual void capture_titlebar_and_borders(Fl_Shared_Image*& top, Fl_Shared_Image*& left,
- Fl_Shared_Image*& bottom, Fl_Shared_Image*& right);
+ virtual void capture_titlebar_and_borders(Fl_RGB_Image*& top, Fl_RGB_Image*& left,
+ Fl_RGB_Image*& bottom, Fl_RGB_Image*& right);
#if defined(FL_PORTING)
# pragma message "FL_PORTING: implement scrolling of the screen contents"
#endif