Commit 9a81b151 authored by poixen's avatar poixen
Browse files

Merge pull request #1059 from poixen/dark_play

Updated hand and table color
parents 325e240d 6da6e5b5
...@@ -147,8 +147,8 @@ void DeckViewCardContainer::paint(QPainter *painter, const QStyleOptionGraphicsI ...@@ -147,8 +147,8 @@ void DeckViewCardContainer::paint(QPainter *painter, const QStyleOptionGraphicsI
if (bgPixmap.isNull()) { if (bgPixmap.isNull()) {
QLinearGradient grad1(0, 0, 1, 0); QLinearGradient grad1(0, 0, 1, 0);
grad1.setCoordinateMode(QGradient::ObjectBoundingMode); grad1.setCoordinateMode(QGradient::ObjectBoundingMode);
grad1.setColorAt(0, QColor(48, 34, 69)); grad1.setColorAt(0, QColor(30, 30, 30));
grad1.setColorAt(1, QColor(110, 90, 140)); grad1.setColorAt(1, QColor(80, 80, 80));
painter->fillRect(QRectF(0, 0, width, height), QBrush(grad1)); painter->fillRect(QRectF(0, 0, width, height), QBrush(grad1));
painter->fillRect(boundingRect(), QColor(0, 0, 0, 80)); painter->fillRect(boundingRect(), QColor(0, 0, 0, 80));
......
...@@ -78,7 +78,7 @@ QRectF HandZone::boundingRect() const ...@@ -78,7 +78,7 @@ QRectF HandZone::boundingRect() const
void HandZone::paint(QPainter *painter, const QStyleOptionGraphicsItem * /*option*/, QWidget * /*widget*/) void HandZone::paint(QPainter *painter, const QStyleOptionGraphicsItem * /*option*/, QWidget * /*widget*/)
{ {
if (bgPixmap.isNull()) if (bgPixmap.isNull())
painter->fillRect(boundingRect(), QColor(80, 100, 50)); painter->fillRect(boundingRect(), QColor(30, 30, 30));
else else
painter->fillRect(boundingRect(), QBrush(bgPixmap)); painter->fillRect(boundingRect(), QBrush(bgPixmap));
} }
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include "pb/command_set_card_attr.pb.h" #include "pb/command_set_card_attr.pb.h"
const QColor TableZone::BACKGROUND_COLOR = QColor(70, 50, 100); const QColor TableZone::BACKGROUND_COLOR = QColor(100, 100, 100);
const QColor TableZone::FADE_MASK = QColor(0, 0, 0, 80); const QColor TableZone::FADE_MASK = QColor(0, 0, 0, 80);
const QColor TableZone::GRADIENT_COLOR = QColor(255, 255, 255, 150); const QColor TableZone::GRADIENT_COLOR = QColor(255, 255, 255, 150);
const QColor TableZone::GRADIENT_COLORLESS = QColor(255, 255, 255, 0); const QColor TableZone::GRADIENT_COLORLESS = QColor(255, 255, 255, 0);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment