scaled pixmap cache. major speed improvement

This commit is contained in:
brukie 2009-06-03 15:38:21 +02:00
parent 1da5c63726
commit 04072b02d1
10 changed files with 57 additions and 45 deletions

View file

@ -34,7 +34,6 @@ private:
CardDatabase *db;
QString name;
int id;
QPixmap *image;
bool tapped;
bool attacking;
bool facedown;
@ -53,7 +52,6 @@ public:
void setId(int _id) { id = _id; }
QString getName() const { return name; }
void setName(const QString &_name = QString());
QPixmap *getImage() const { return image; }
bool getTapped() const { return tapped; }
void setTapped(bool _tapped);
bool getAttacking() const { return attacking; }