Updated UI features

+ Added a fade to inactive players TableZone
+ Refreshed TableZone, HandZone and DeckView  default background colors
This commit is contained in:
Matt Lowe 2014-10-14 22:39:22 +02:00
parent 2a15b9c95a
commit a1c013a893
4 changed files with 216 additions and 59 deletions

View file

@ -78,7 +78,7 @@ QRectF HandZone::boundingRect() const
void HandZone::paint(QPainter *painter, const QStyleOptionGraphicsItem * /*option*/, QWidget * /*widget*/)
{
if (bgPixmap.isNull())
painter->fillRect(boundingRect(), Qt::darkGreen);
painter->fillRect(boundingRect(), QColor(80, 100, 50));
else
painter->fillRect(boundingRect(), QBrush(bgPixmap));
}