From 85d572ee7e11878896ad5173edc1aacd8b3c36a9 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 2 Jan 2004 13:27:29 +0000 Subject: fixed cache bug --- src/FbTk/ImageControl.hh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/FbTk/ImageControl.hh b/src/FbTk/ImageControl.hh index 2354fe0..0ccb928 100644 --- a/src/FbTk/ImageControl.hh +++ b/src/FbTk/ImageControl.hh @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: ImageControl.hh,v 1.6 2003/12/16 17:06:51 fluxgen Exp $ +// $Id: ImageControl.hh,v 1.7 2004/01/02 13:27:29 fluxgen Exp $ #ifndef FBTK_IMAGECONTROL_HH #define FBTK_IMAGECONTROL_HH @@ -74,7 +74,6 @@ public: void setColorsPerChannel(int cpc); void cleanCache(); - private: /** Search cache for a specific pixmap @@ -85,7 +84,6 @@ private: void createColorTable(); bool m_dither; - Timer m_timer; Colormap m_colormap; @@ -124,7 +122,7 @@ private: (s1->width < s2->width || s1->width == s2->width && (s1->height < s2->height || s1->height == s2->height && (s1->texture < s2->texture || s1->texture == s2->texture && - s1->pixel1 < s2->pixel1 || s1->pixel1 == s2->pixel2 && + s1->pixel1 < s2->pixel1 || s1->pixel1 == s2->pixel1 && (s1->texture & FbTk::Texture::GRADIENT) && s1->pixel2 < s2->pixel2) )); -- cgit v0.11.2