Mana counter shortcut (#2821)

This commit is contained in:
John Hill 2017-08-06 18:09:25 -07:00 committed by Zach H
parent dd05b86bc9
commit 3963570838
7 changed files with 342 additions and 21 deletions

View file

@ -9,7 +9,7 @@ private:
QColor color;
int radius;
public:
GeneralCounter(Player *_player, int _id, const QString &_name, const QColor &_color, int _radius, int _value, QGraphicsItem *parent = 0);
GeneralCounter(Player *_player, int _id, const QString &_name, const QColor &_color, int _radius, int _value, bool useNameForShortcut = false, QGraphicsItem *parent = 0);
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
};