mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-14 19:18:55 -07:00
nicer looking active player display
This commit is contained in:
parent
f2092b89e9
commit
cfd715cce9
3 changed files with 24 additions and 18 deletions
|
|
@ -11,6 +11,7 @@ private:
|
|||
int width, height;
|
||||
int currentMinimumWidth;
|
||||
QPixmap bgPixmap;
|
||||
bool active;
|
||||
private slots:
|
||||
void updateBgPixmap();
|
||||
public slots:
|
||||
|
|
@ -36,6 +37,7 @@ public:
|
|||
int getMinimumWidth() const { return currentMinimumWidth; }
|
||||
void setWidth(qreal _width);
|
||||
qreal getWidth() const { return width; }
|
||||
void setActive(bool _active) { active = _active; update(); }
|
||||
protected:
|
||||
void addCardImpl(CardItem *card, int x, int y);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue