avatar changes

This commit is contained in:
Max-Wilhelm Bruker 2010-10-11 17:45:52 +02:00
parent 28a77f10e4
commit 2f422f5a20
6 changed files with 29 additions and 19 deletions

View file

@ -8,14 +8,12 @@ class Player;
class PlayerTarget : public ArrowTarget {
private:
QString name;
QFont font;
int maxWidth;
public:
enum { Type = typePlayerTarget };
int type() const { return Type; }
PlayerTarget(const QString &_name, int _maxWidth, Player *parent = 0);
PlayerTarget(Player *parent = 0);
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
};