diff options
| author | Manolo Gouy <Manolo> | 2018-04-14 13:37:47 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-04-14 13:37:47 +0000 |
| commit | bfac5462be7da58bc84032462307a150314b669a (patch) | |
| tree | 7acbb7b48f186d40e24be1dac62ddac5ff5598c3 /src/Fl_Bitmap.cxx | |
| parent | 2abe8bd413f97da1beb5c144e1a1f6cb3db25290 (diff) | |
Remove Fl_Pixmap::prepare() and Fl_Bitmap::prepare() that were used only once.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Bitmap.cxx')
| -rw-r--r-- | src/Fl_Bitmap.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Fl_Bitmap.cxx b/src/Fl_Bitmap.cxx index 16da1e8b1..476754f0a 100644 --- a/src/Fl_Bitmap.cxx +++ b/src/Fl_Bitmap.cxx @@ -116,19 +116,6 @@ void Fl_Bitmap::draw(int XP, int YP, int WP, int HP, int cx, int cy) { fl_graphics_driver->draw_bitmap(this, XP, YP, WP, HP, cx, cy); } -int Fl_Bitmap::prepare(int XP, int YP, int WP, int HP, int &cx, int &cy, - int &X, int &Y, int &W, int &H) -{ - if (!array) { - draw_empty(XP, YP); - return 1; - } - if (fl_graphics_driver->start_image(this, XP,YP,WP,HP,cx,cy,X,Y,W,H)) return 1; - if (!id_) - fl_graphics_driver->cache(this); - return 0; -} - /** The destructor frees all memory and server resources that are used by the bitmap. |
