mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-29 01:53:54 -07:00
added tablerow to cardinfo
This commit is contained in:
parent
b8bf18801f
commit
b12155f59c
2 changed files with 22 additions and 16 deletions
|
|
@ -41,6 +41,7 @@ private:
|
|||
QString cardtype;
|
||||
QString powtough;
|
||||
QString text;
|
||||
int tableRow;
|
||||
QPixmap *pixmap;
|
||||
QMap<int, QPixmap *> scaledPixmapCache;
|
||||
public:
|
||||
|
|
@ -50,6 +51,7 @@ public:
|
|||
const QString &_cardtype = QString(),
|
||||
const QString &_powtough = QString(),
|
||||
const QString &_text = QString(),
|
||||
int _tableRow = 0,
|
||||
const SetList &_sets = SetList());
|
||||
~CardInfo();
|
||||
QString getName() const { return name; }
|
||||
|
|
@ -59,7 +61,8 @@ public:
|
|||
QString getPowTough() const { return powtough; }
|
||||
QString getText() const { return text; }
|
||||
QString getMainCardType() const;
|
||||
int getTableRow() const;
|
||||
int getTableRow() const { return tableRow; }
|
||||
void setTableRow(int _tableRow) { tableRow = _tableRow; }
|
||||
void addToSet(CardSet *set);
|
||||
QPixmap *loadPixmap();
|
||||
QPixmap *getPixmap(QSize size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue