mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-07 16:53:00 -07:00
scaled pixmap cache. major speed improvement
This commit is contained in:
parent
1da5c63726
commit
04072b02d1
10 changed files with 57 additions and 45 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue