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
49227ad4
Commit
49227ad4
authored
Mar 11, 2014
by
Mark Morschhäuser
Browse files
Fixed VC "'*/' found outside of comment" warning.
parent
e33debcb
Changes
10
Show whitespace changes
Inline
Side-by-side
cockatrice/src/abstractcarditem.cpp
View file @
49227ad4
...
...
@@ -143,7 +143,7 @@ void AbstractCardItem::paintPicture(QPainter *painter, const QSizeF &translatedS
painter
->
restore
();
}
void
AbstractCardItem
::
paint
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*/
*
option
*/
,
QWidget
*/
*
widget
*/
)
void
AbstractCardItem
::
paint
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*
/*option*/
,
QWidget
*
/*widget*/
)
{
painter
->
save
();
...
...
cockatrice/src/cardzone.cpp
View file @
49227ad4
...
...
@@ -148,7 +148,7 @@ QString CardZone::getTranslatedName(bool hisOwn, GrammaticalCase gc) const
return
QString
();
}
void
CardZone
::
mouseDoubleClickEvent
(
QGraphicsSceneMouseEvent
*/
*
event
*/
)
void
CardZone
::
mouseDoubleClickEvent
(
QGraphicsSceneMouseEvent
*
/*event*/
)
{
if
(
doubleClickAction
)
doubleClickAction
->
trigger
();
...
...
cockatrice/src/counter_general.cpp
View file @
49227ad4
...
...
@@ -13,7 +13,7 @@ QRectF GeneralCounter::boundingRect() const
return
QRectF
(
0
,
0
,
radius
*
2
,
radius
*
2
);
}
void
GeneralCounter
::
paint
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*/
*
option
*/
,
QWidget
*/
*
widget
*/
)
void
GeneralCounter
::
paint
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*
/*option*/
,
QWidget
*
/*widget*/
)
{
QRectF
mapRect
=
painter
->
combinedTransform
().
mapRect
(
boundingRect
());
int
translatedHeight
=
mapRect
.
size
().
height
();
...
...
cockatrice/src/handzone.cpp
View file @
49227ad4
...
...
@@ -75,7 +75,7 @@ QRectF HandZone::boundingRect() const
return
QRectF
(
0
,
0
,
100
,
zoneHeight
);
}
void
HandZone
::
paint
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*/
*
option
*/
,
QWidget
*/
*
widget
*/
)
void
HandZone
::
paint
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*
/*option*/
,
QWidget
*
/*widget*/
)
{
if
(
bgPixmap
.
isNull
())
painter
->
fillRect
(
boundingRect
(),
Qt
::
darkGreen
);
...
...
cockatrice/src/phasestoolbar.cpp
View file @
49227ad4
...
...
@@ -85,7 +85,7 @@ void PhaseButton::mousePressEvent(QGraphicsSceneMouseEvent * /*event*/)
emit
clicked
();
}
void
PhaseButton
::
mouseDoubleClickEvent
(
QGraphicsSceneMouseEvent
*/
*
event
*/
)
void
PhaseButton
::
mouseDoubleClickEvent
(
QGraphicsSceneMouseEvent
*
/*event*/
)
{
triggerDoubleClickAction
();
}
...
...
cockatrice/src/pilezone.cpp
View file @
49227ad4
...
...
@@ -105,7 +105,7 @@ void PileZone::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
setCursor
(
Qt
::
OpenHandCursor
);
}
void
PileZone
::
mouseReleaseEvent
(
QGraphicsSceneMouseEvent
*/
*
event
*/
)
void
PileZone
::
mouseReleaseEvent
(
QGraphicsSceneMouseEvent
*
/*event*/
)
{
setCursor
(
Qt
::
OpenHandCursor
);
}
...
...
cockatrice/src/player.cpp
View file @
49227ad4
...
...
@@ -85,7 +85,7 @@ void PlayerArea::updateBgPixmap()
update
();
}
void
PlayerArea
::
paint
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*/
*
option
*/
,
QWidget
*/
*
widget
*/
)
void
PlayerArea
::
paint
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*
/*option*/
,
QWidget
*
/*widget*/
)
{
painter
->
fillRect
(
bRect
,
bgPixmapBrush
);
}
...
...
@@ -1430,7 +1430,7 @@ QRectF Player::boundingRect() const
return
bRect
;
}
void
Player
::
paint
(
QPainter
*
/*painter*/
,
const
QStyleOptionGraphicsItem
*/
*
option
*/
,
QWidget
*/
*
widget
*/
)
void
Player
::
paint
(
QPainter
*
/*painter*/
,
const
QStyleOptionGraphicsItem
*
/*option*/
,
QWidget
*
/*widget*/
)
{
}
...
...
cockatrice/src/stackzone.cpp
View file @
49227ad4
...
...
@@ -46,7 +46,7 @@ QRectF StackZone::boundingRect() const
return
QRectF
(
0
,
0
,
100
,
zoneHeight
);
}
void
StackZone
::
paint
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*/
*
option
*/
,
QWidget
*/
*
widget
*/
)
void
StackZone
::
paint
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*
/*option*/
,
QWidget
*
/*widget*/
)
{
if
(
bgPixmap
.
isNull
())
painter
->
fillRect
(
boundingRect
(),
QColor
(
113
,
43
,
43
));
...
...
cockatrice/src/tablezone.cpp
View file @
49227ad4
...
...
@@ -46,7 +46,7 @@ bool TableZone::isInverted() const
return
((
player
->
getMirrored
()
&&
!
settingsCache
->
getInvertVerticalCoordinate
())
||
(
!
player
->
getMirrored
()
&&
settingsCache
->
getInvertVerticalCoordinate
()));
}
void
TableZone
::
paint
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*/
*
option
*/
,
QWidget
*/
*
widget
*/
)
void
TableZone
::
paint
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*
/*option*/
,
QWidget
*
/*widget*/
)
{
if
(
bgPixmap
.
isNull
())
painter
->
fillRect
(
boundingRect
(),
QColor
(
0
,
0
,
100
));
...
...
cockatrice/src/zoneviewzone.cpp
View file @
49227ad4
...
...
@@ -31,7 +31,7 @@ QRectF ZoneViewZone::boundingRect() const
return
bRect
;
}
void
ZoneViewZone
::
paint
(
QPainter
*/
*
painter
*/
,
const
QStyleOptionGraphicsItem
*/
*
option
*/
,
QWidget
*/
*
widget
*/
)
void
ZoneViewZone
::
paint
(
QPainter
*
/*painter*/
,
const
QStyleOptionGraphicsItem
*
/*option*/
,
QWidget
*
/*widget*/
)
{
}
...
...
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