mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-28 17:43:54 -07:00
Add Planeswalker loyalty to CardInfoWidget
CIW will also dynamically hide/show power/toughness as well as loyalty.
This commit is contained in:
parent
c12d7a08c2
commit
edde8bec07
2 changed files with 33 additions and 3 deletions
|
|
@ -23,6 +23,7 @@ private:
|
|||
int pixmapWidth;
|
||||
qreal cardHeightOffset;
|
||||
qreal aspectRatio;
|
||||
// XXX: Why isn't this an eunm?
|
||||
int minimized; // 0 - card, 1 - oracle only, 2 - full
|
||||
ResizeMode mode;
|
||||
|
||||
|
|
@ -32,8 +33,12 @@ private:
|
|||
QLabel *manacostLabel1, *manacostLabel2;
|
||||
QLabel *cardtypeLabel1, *cardtypeLabel2;
|
||||
QLabel *powtoughLabel1, *powtoughLabel2;
|
||||
QLabel *loyaltyLabel1, *loyaltyLabel2;
|
||||
QTextEdit *textLabel;
|
||||
|
||||
bool shouldShowPowTough();
|
||||
bool shouldShowLoyalty();
|
||||
|
||||
CardInfo *info;
|
||||
void setMinimized(int _minimized);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue