improved appearance

This commit is contained in:
Max-Wilhelm Bruker 2009-03-25 17:02:44 +01:00
parent 8782438fcc
commit 6e94221112
20 changed files with 158 additions and 77 deletions

View file

@ -0,0 +1,21 @@
#ifndef PLAYERAREA_H
#define PLAYERAREA_H
#include "carditem.h"
class Player;
class PlayerArea : public QGraphicsItem {
private:
QRectF bRect;
Player *player;
public:
enum { Type = typeOther };
int type() const { return Type; }
PlayerArea(Player *_player, QGraphicsItem *parent = 0);
~PlayerArea();
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
};
#endif