mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
Updated UI features
+ Added a fade to inactive players TableZone + Refreshed TableZone, HandZone and DeckView default background colors
This commit is contained in:
parent
2a15b9c95a
commit
a1c013a893
4 changed files with 216 additions and 59 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue