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
41478800
Commit
41478800
authored
Oct 16, 2014
by
Matt Lowe
Browse files
Updated Sideboard gradient colors
Wasnt happy with the first gradient, too much white. Now uses 2 shades or purple.
parent
a1c013a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/deckview.cpp
View file @
41478800
...
@@ -151,8 +151,8 @@ void DeckViewCardContainer::paint(QPainter *painter, const QStyleOptionGraphicsI
...
@@ -151,8 +151,8 @@ void DeckViewCardContainer::paint(QPainter *painter, const QStyleOptionGraphicsI
QLinearGradient
grad1
(
0
,
0
,
1
,
0
);
QLinearGradient
grad1
(
0
,
0
,
1
,
0
);
grad1
.
setCoordinateMode
(
QGradient
::
ObjectBoundingMode
);
grad1
.
setCoordinateMode
(
QGradient
::
ObjectBoundingMode
);
grad1
.
setColorAt
(
0
,
QColor
(
70
,
50
,
100
));
grad1
.
setColorAt
(
0
,
QColor
(
48
,
34
,
69
));
grad1
.
setColorAt
(
1
,
QColor
(
1
7
0
,
15
0
,
20
0
));
grad1
.
setColorAt
(
1
,
QColor
(
1
1
0
,
9
0
,
14
0
));
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
));
...
...
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