Adding icons on thumbnails and solving a bug in cacheimagedata.cc
See issue #4008. The bug in cacheimagedata.cc was preventing correct cached thumbnail loading, asking for a full processing at each loading of the directory.
This commit is contained in:
@@ -80,6 +80,7 @@ protected:
|
||||
bool bbSelected, bbFramed;
|
||||
guint8* bbPreview;
|
||||
std::vector<Glib::RefPtr<Gdk::Pixbuf> > bbIcons;
|
||||
std::vector<Glib::RefPtr<Gdk::Pixbuf> > bbSpecificityIcons;
|
||||
CursorShape cursor_type;
|
||||
|
||||
void drawFrame (Cairo::RefPtr<Cairo::Context> cr, const Gdk::RGBA& bg, const Gdk::RGBA& fg);
|
||||
@@ -185,6 +186,7 @@ public:
|
||||
virtual void drawProgressBar (Glib::RefPtr<Gdk::Window> win, const Gdk::RGBA& foregr, const Gdk::RGBA& backgr, int x, int w, int y, int h) {}
|
||||
|
||||
virtual std::vector<Glib::RefPtr<Gdk::Pixbuf> > getIconsOnImageArea ();
|
||||
virtual std::vector<Glib::RefPtr<Gdk::Pixbuf> > getSpecificityIconsOnImageArea ();
|
||||
virtual void getIconSize (int& w, int& h);
|
||||
|
||||
virtual bool motionNotify (int x, int y);
|
||||
|
Reference in New Issue
Block a user