diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-10-20 03:13:56 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-10-20 03:13:56 +0000 |
| commit | 8276f8b3079d1fb772e6120bc36c6bb39b28fd67 (patch) | |
| tree | a0427da3ed70c77572451ea3a389f0d170635a11 /src/Fl_Shared_Image.cxx | |
| parent | e50a290d8afcc7d211d426077b6c21af0f49ecfe (diff) | |
Implement Fl_Shared_Image::uncache().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2679 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Shared_Image.cxx')
| -rw-r--r-- | src/Fl_Shared_Image.cxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/Fl_Shared_Image.cxx b/src/Fl_Shared_Image.cxx index 586767442..2712d1fbc 100644 --- a/src/Fl_Shared_Image.cxx +++ b/src/Fl_Shared_Image.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Shared_Image.cxx,v 1.23.2.17 2002/10/11 14:17:24 easysw Exp $" +// "$Id: Fl_Shared_Image.cxx,v 1.23.2.18 2002/10/20 03:13:56 easysw Exp $" // // Shared image code for the Fast Light Tool Kit (FLTK). // @@ -334,6 +334,17 @@ Fl_Shared_Image::draw(int X, int Y, int W, int H, int cx, int cy) { // +// 'Fl_Shared_Image::uncache()' - Uncache the shared image... +// + +void +Fl_Shared_Image::uncache() +{ + if (image_) image_->uncache(); +} + + +// // 'Fl_Shared_Image::find()' - Find a shared image... // @@ -455,5 +466,5 @@ Fl_Shared_Image::remove_handler(Fl_Shared_Handler f) { // -// End of "$Id: Fl_Shared_Image.cxx,v 1.23.2.17 2002/10/11 14:17:24 easysw Exp $". +// End of "$Id: Fl_Shared_Image.cxx,v 1.23.2.18 2002/10/20 03:13:56 easysw Exp $". // |
