mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 15:32:12 +08:00
Implement Fl_Shared_Image::uncache().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2679 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
CHANGES IN FLTK 1.1.1
|
||||
|
||||
- Fl_Shared_Image::uncache() was not implemented.
|
||||
- Fl::set_font() didn't 0-initialize all font descriptor
|
||||
data.
|
||||
- Some OpenGL implementations don't support single-
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl_Shared_Image.H,v 1.22.2.7 2002/08/14 16:19:48 easysw Exp $"
|
||||
// "$Id: Fl_Shared_Image.H,v 1.22.2.8 2002/10/20 03:13:56 easysw Exp $"
|
||||
//
|
||||
// Shared image header file for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@@ -72,6 +72,7 @@ class FL_EXPORT Fl_Shared_Image : public Fl_Image {
|
||||
virtual void desaturate();
|
||||
virtual void draw(int X, int Y, int W, int H, int cx, int cy);
|
||||
void draw(int X, int Y) { draw(X, Y, w(), h(), 0, 0); }
|
||||
virtual void uncache();
|
||||
|
||||
static Fl_Shared_Image *find(const char *n, int W = 0, int H = 0);
|
||||
static Fl_Shared_Image *get(const char *n, int W = 0, int H = 0);
|
||||
@@ -92,5 +93,5 @@ FL_EXPORT extern void fl_register_images();
|
||||
#endif // !Fl_Shared_Image_H
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_Shared_Image.H,v 1.22.2.7 2002/08/14 16:19:48 easysw Exp $"
|
||||
// End of "$Id: Fl_Shared_Image.H,v 1.22.2.8 2002/10/20 03:13:56 easysw Exp $"
|
||||
//
|
||||
|
||||
+13
-2
@@ -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).
|
||||
//
|
||||
@@ -333,6 +333,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 $".
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user