diff options
| author | Manolo Gouy <Manolo> | 2018-05-06 07:14:13 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-05-06 07:14:13 +0000 |
| commit | 5c16dcb65bfd8831a6834589fcfe5d5854386098 (patch) | |
| tree | 5b1abc66856de9dd36ce65c75467b842969d4289 /src/Fl_Window_Driver.cxx | |
| parent | aab1b72af4924293ffc2fa74180480dc9afcc06f (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 'src/Fl_Window_Driver.cxx')
| -rw-r--r-- | src/Fl_Window_Driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
