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
87d938e5
Commit
87d938e5
authored
May 05, 2015
by
Matt Lowe
Browse files
Updated hand and table color
Updated default colors, darker, more modern, slick. Great feedback from community.
parent
cf24f4aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/handzone.cpp
View file @
87d938e5
...
@@ -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
(
8
0
,
10
0
,
5
0
));
painter
->
fillRect
(
boundingRect
(),
QColor
(
3
0
,
3
0
,
3
0
));
else
else
painter
->
fillRect
(
boundingRect
(),
QBrush
(
bgPixmap
));
painter
->
fillRect
(
boundingRect
(),
QBrush
(
bgPixmap
));
}
}
...
...
cockatrice/src/tablezone.cpp
View file @
87d938e5
...
@@ -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
(
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
::
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
);
...
...
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