Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
9a81b151
Commit
9a81b151
authored
May 06, 2015
by
poixen
Browse files
Merge pull request #1059 from poixen/dark_play
Updated hand and table color
parents
325e240d
6da6e5b5
Changes
3
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/deckview.cpp
View file @
9a81b151
...
...
@@ -147,8 +147,8 @@ void DeckViewCardContainer::paint(QPainter *painter, const QStyleOptionGraphicsI
if
(
bgPixmap
.
isNull
())
{
QLinearGradient
grad1
(
0
,
0
,
1
,
0
);
grad1
.
setCoordinateMode
(
QGradient
::
ObjectBoundingMode
);
grad1
.
setColorAt
(
0
,
QColor
(
48
,
3
4
,
69
));
grad1
.
setColorAt
(
1
,
QColor
(
11
0
,
9
0
,
14
0
));
grad1
.
setColorAt
(
0
,
QColor
(
30
,
3
0
,
30
));
grad1
.
setColorAt
(
1
,
QColor
(
8
0
,
8
0
,
8
0
));
painter
->
fillRect
(
QRectF
(
0
,
0
,
width
,
height
),
QBrush
(
grad1
));
painter
->
fillRect
(
boundingRect
(),
QColor
(
0
,
0
,
0
,
80
));
...
...
cockatrice/src/handzone.cpp
View file @
9a81b151
...
...
@@ -78,7 +78,7 @@ QRectF HandZone::boundingRect() const
void
HandZone
::
paint
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*
/*option*/
,
QWidget
*
/*widget*/
)
{
if
(
bgPixmap
.
isNull
())
painter
->
fillRect
(
boundingRect
(),
QColor
(
8
0
,
10
0
,
5
0
));
painter
->
fillRect
(
boundingRect
(),
QColor
(
3
0
,
3
0
,
3
0
));
else
painter
->
fillRect
(
boundingRect
(),
QBrush
(
bgPixmap
));
}
...
...
cockatrice/src/tablezone.cpp
View file @
9a81b151
...
...
@@ -17,7 +17,7 @@
#include
"pb/command_set_card_attr.pb.h"
const
QColor
TableZone
::
BACKGROUND_COLOR
=
QColor
(
7
0
,
5
0
,
100
);
const
QColor
TableZone
::
BACKGROUND_COLOR
=
QColor
(
10
0
,
10
0
,
100
);
const
QColor
TableZone
::
FADE_MASK
=
QColor
(
0
,
0
,
0
,
80
);
const
QColor
TableZone
::
GRADIENT_COLOR
=
QColor
(
255
,
255
,
255
,
150
);
const
QColor
TableZone
::
GRADIENT_COLORLESS
=
QColor
(
255
,
255
,
255
,
0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment