correct mirroring of players when spectating

This commit is contained in:
Max-Wilhelm Bruker 2010-05-29 17:31:16 +02:00
parent e1a728328e
commit f2092b89e9
18 changed files with 690 additions and 179 deletions

View file

@ -0,0 +1,27 @@
#ifndef HANDCOUNTER_H
#define HANDCOUNTER_H
#include <QString>
#include "abstractcarditem.h"
class QPainter;
class QPixmap;
class HandCounter : public QObject, public AbstractGraphicsItem {
Q_OBJECT
private:
int number;
QPixmap *handImage;
public slots:
void updateNumber();
public:
enum { Type = typeOther };
int type() const { return Type; }
HandCounter(QGraphicsItem *parent = 0);
~HandCounter();
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
};
#endif