This commit is contained in:
@@ -1182,8 +1182,10 @@ void mainWindowImpl::refreshSet() {
|
|||||||
|
|
||||||
PlayerListConstIterator it_c;
|
PlayerListConstIterator it_c;
|
||||||
for (it_c=currentGame->getSeatsList()->begin(); it_c!=currentGame->getSeatsList()->end(); it_c++) {
|
for (it_c=currentGame->getSeatsList()->begin(); it_c!=currentGame->getSeatsList()->end(); it_c++) {
|
||||||
if( (*it_c)->getMySet() == 0 ) setLabelArray[ (*it_c)->getMyID() ]->setText("");
|
if( (*it_c)->getMySet() == 0 )
|
||||||
else setLabelArray[(*it_c)->getMyID()]->setText("Set: "+QString::number( (*it_c)->getMySet(),10)+" $");
|
setLabelArray[(*it_c)->getMyID()]->setText("");
|
||||||
|
else
|
||||||
|
setLabelArray[(*it_c)->getMyID()]->setText("Set: "+QString::number((*it_c)->getMySet(),10)+" $");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1257,13 +1259,17 @@ void mainWindowImpl::refreshButton() {
|
|||||||
case 1 : buttonLabelArray[(*it_c)->getMyID()]->setPixmap(dealerButton);
|
case 1 : buttonLabelArray[(*it_c)->getMyID()]->setPixmap(dealerButton);
|
||||||
break;
|
break;
|
||||||
case 2 : {
|
case 2 : {
|
||||||
if ( myConfig->readConfigInt("ShowBlindButtons")) buttonLabelArray[(*it_c)->getMyID()]->setPixmap(smallblindButton);
|
if(myConfig->readConfigInt("ShowBlindButtons"))
|
||||||
else { buttonLabelArray[(*it_c)->getMyID()]->setPixmap(onePix); }
|
buttonLabelArray[(*it_c)->getMyID()]->setPixmap(smallblindButton);
|
||||||
|
else
|
||||||
|
buttonLabelArray[(*it_c)->getMyID()]->setPixmap(onePix);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 3 : {
|
case 3 : {
|
||||||
if (myConfig->readConfigInt("ShowBlindButtons")) buttonLabelArray[(*it_c)->getMyID()]->setPixmap(bigblindButton);
|
if(myConfig->readConfigInt("ShowBlindButtons"))
|
||||||
else { buttonLabelArray[(*it_c)->getMyID()]->setPixmap(onePix); }
|
buttonLabelArray[(*it_c)->getMyID()]->setPixmap(bigblindButton);
|
||||||
|
else
|
||||||
|
buttonLabelArray[(*it_c)->getMyID()]->setPixmap(onePix);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default: buttonLabelArray[(*it_c)->getMyID()]->setPixmap(onePix);
|
default: buttonLabelArray[(*it_c)->getMyID()]->setPixmap(onePix);
|
||||||
@@ -1276,8 +1282,10 @@ void mainWindowImpl::refreshButton() {
|
|||||||
case 2 : buttonLabelArray[(*it_c)->getMyID()]->setPixmap(dealerButton);
|
case 2 : buttonLabelArray[(*it_c)->getMyID()]->setPixmap(dealerButton);
|
||||||
break;
|
break;
|
||||||
case 3 : {
|
case 3 : {
|
||||||
if (myConfig->readConfigInt("ShowBlindButtons")) buttonLabelArray[(*it_c)->getMyID()]->setPixmap(bigblindButton);
|
if(myConfig->readConfigInt("ShowBlindButtons"))
|
||||||
else { buttonLabelArray[(*it_c)->getMyID()]->setPixmap(onePix); }
|
buttonLabelArray[(*it_c)->getMyID()]->setPixmap(bigblindButton);
|
||||||
|
else
|
||||||
|
buttonLabelArray[(*it_c)->getMyID()]->setPixmap(onePix);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default: buttonLabelArray[(*it_c)->getMyID()]->setPixmap(onePix);
|
default: buttonLabelArray[(*it_c)->getMyID()]->setPixmap(onePix);
|
||||||
@@ -2452,7 +2460,8 @@ void mainWindowImpl::postRiverRunAnimation2() {
|
|||||||
int nonfoldPlayersCounter = 0;
|
int nonfoldPlayersCounter = 0;
|
||||||
PlayerListConstIterator it_c;
|
PlayerListConstIterator it_c;
|
||||||
for (it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
for (it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
|
||||||
if ((*it_c)->getMyAction() != PLAYER_ACTION_FOLD) nonfoldPlayersCounter++;
|
if ((*it_c)->getMyAction() != PLAYER_ACTION_FOLD)
|
||||||
|
nonfoldPlayersCounter++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user