nicer looking active player display

This commit is contained in:
Max-Wilhelm Bruker 2010-05-29 18:36:59 +02:00
parent f2092b89e9
commit cfd715cce9
3 changed files with 24 additions and 18 deletions

View file

@ -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);
};