running astyle
This commit is contained in:
@@ -3533,8 +3533,7 @@ void gameTableImpl::refreshCardsChance(GameState bero)
|
||||
|
||||
if(humanPlayer->getMyAction() == PLAYER_ACTION_FOLD) {
|
||||
label_chance->refreshChance(CardsValue::calcCardsChance(bero, holeCards, boardCards), true);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
label_chance->refreshChance(CardsValue::calcCardsChance(bero, holeCards, boardCards), false);
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -184,8 +184,11 @@ void MyChanceLabel::paintEvent(QPaintEvent * /*event*/)
|
||||
linearGrad.setColorAt(1, Qt::red);
|
||||
painter.setBrush(linearGrad);
|
||||
|
||||
if(myFoldState) { painter.setOpacity(0.4); }
|
||||
else { painter.setOpacity(1.0); }
|
||||
if(myFoldState) {
|
||||
painter.setOpacity(0.4);
|
||||
} else {
|
||||
painter.setOpacity(1.0);
|
||||
}
|
||||
|
||||
if(RFChance[1] != 0) painter.drawRect(89,3,(108*RFChance[0])/100,7);
|
||||
if(SFChance[1] != 0) painter.drawRect(89,16,(108*SFChance[0])/100,7);
|
||||
|
||||
Reference in New Issue
Block a user