fold for human player display in network game

This commit is contained in:
doitux
2007-06-11 05:59:59 +00:00
parent ec841e0a3a
commit 2a346c91fa
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ void LocalPreflop::preflopRun() {
myHand->getGuiInterface()->refreshSet();
myHand->getGuiInterface()->refreshCash();
myHand->getGuiInterface()->refreshAction();
for(i=0; i<MAX_NUMBER_OF_PLAYERS; i++) { myHand->getGuiInterface()->refreshAction(i,0); }
myHand->switchRounds();
}
+2 -3
View File
@@ -1044,11 +1044,10 @@ void mainWindowImpl::refreshAction(int playerID, int playerAction) {
actionLabelArray[i]->setPixmap(onePix);
}
else {
if(i!=0 || ( i==0 && currentHand->getPlayerArray()[0]->getMyAction() != 1) ) {
// if(i!=0 || ( i==0 && currentHand->getPlayerArray()[0]->getMyAction() != 1) ) {
//paint action pixmap
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) {