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 /FL/Fl_Graphics_Driver.H | |
| 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 'FL/Fl_Graphics_Driver.H')
| -rw-r--r-- | FL/Fl_Graphics_Driver.H | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index 05398c4c3..b1ec64c07 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -248,17 +248,7 @@ protected: static Fl_Color* pixmap_bg_color(Fl_Pixmap *pm) {return &(pm->pixmap_bg_color);} /** For internal library use only */ static void draw_empty(Fl_Image* img, int X, int Y) {img->draw_empty(X, Y);} - /** Accessor to a private member function of Fl_Bitmap */ - static int prepare(Fl_Bitmap *bm, int XP, int YP, int WP, int HP, int &cx, int &cy, - int &X, int &Y, int &W, int &H) { - return bm->prepare(XP,YP,WP,HP,cx,cy,X,Y,W,H); - } - /** Accessor to a private member function of Fl_Pixmap */ - static int prepare(Fl_Pixmap *pm, int XP, int YP, int WP, int HP, int &cx, int &cy, - int &X, int &Y, int &W, int &H) { - return pm->prepare(XP,YP,WP,HP,cx,cy,X,Y,W,H); - } - + Fl_Graphics_Driver(); void cache_size(Fl_Image *img, int &width, int &height); public: |
