fold for human player display in network game
This commit is contained in:
@@ -83,7 +83,7 @@ void LocalPreflop::preflopRun() {
|
|||||||
|
|
||||||
myHand->getGuiInterface()->refreshSet();
|
myHand->getGuiInterface()->refreshSet();
|
||||||
myHand->getGuiInterface()->refreshCash();
|
myHand->getGuiInterface()->refreshCash();
|
||||||
myHand->getGuiInterface()->refreshAction();
|
for(i=0; i<MAX_NUMBER_OF_PLAYERS; i++) { myHand->getGuiInterface()->refreshAction(i,0); }
|
||||||
|
|
||||||
myHand->switchRounds();
|
myHand->switchRounds();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1044,11 +1044,10 @@ void mainWindowImpl::refreshAction(int playerID, int playerAction) {
|
|||||||
actionLabelArray[i]->setPixmap(onePix);
|
actionLabelArray[i]->setPixmap(onePix);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(i!=0 || ( i==0 && currentHand->getPlayerArray()[0]->getMyAction() != 1) ) {
|
// if(i!=0 || ( i==0 && currentHand->getPlayerArray()[0]->getMyAction() != 1) ) {
|
||||||
//paint action pixmap
|
//paint action pixmap
|
||||||
actionLabelArray[i]->setPixmap(QPixmap(":/actions/resources/graphics/actions/action_"+actionArray[currentHand->getPlayerArray()[i]->getMyAction()]+".png"));
|
actionLabelArray[i]->setPixmap(QPixmap(":/actions/resources/graphics/actions/action_"+actionArray[currentHand->getPlayerArray()[i]->getMyAction()]+".png"));
|
||||||
}
|
// }
|
||||||
// actionLabelArray[i]->setStyleSheet("QLabel { background-image: url(:/actions/resources/graphics/actions/action_"+actionArray[currentHand->getPlayerArray()[i]->getMyAction()]+".png");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (currentHand->getPlayerArray()[i]->getMyAction()==1) {
|
if (currentHand->getPlayerArray()[i]->getMyAction()==1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user