highlightRoundLabel --> refreshGameLabels

This commit is contained in:
doitux
2007-05-29 18:37:49 +00:00
parent 41b0a0129a
commit ccb339be04
12 changed files with 147 additions and 171 deletions
-1
View File
@@ -76,7 +76,6 @@ public:
virtual void setLastPlayersTurn(const int& theValue) =0;
virtual int getLastPlayersTurn() const =0;
virtual void highlightRoundLabel() =0;
virtual void switchRounds() =0;
};
+1 -25
View File
@@ -353,7 +353,7 @@ void LocalHand::switchRounds() {
//unhighlight actual players groupbox
if(playerArray[lastPlayersTurn]->getMyActiveStatus() == 1) myGui->refreshGroupbox(lastPlayersTurn,1);
highlightRoundLabel();
myGui->refreshGameLabels(actualRound);
// /*/*/*/*cout <<*/*/*/*/ "NextPlayerSpeed1 stop" << endl;
//
// cout << "NextPlayerSpeed2 start" << endl;
@@ -388,27 +388,3 @@ void LocalHand::switchRounds() {
}
}
void LocalHand::highlightRoundLabel() {
switch(actualRound) {
case 0: {
myGui->highlightRoundLabel("Preflop");
} break;
case 1: {
myGui->highlightRoundLabel("Flop");
} break;
case 2: {
myGui->highlightRoundLabel("Turn");
} break;
case 3: {
myGui->highlightRoundLabel("River");
} break;
case 4: {
myGui->highlightRoundLabel("");
} break;
default: {
myGui->highlightRoundLabel("!!! FEHLER !!!");
}
}
}
-1
View File
@@ -82,7 +82,6 @@ public:
void assignButtons();
void highlightRoundLabel();
void switchRounds();
+1 -4
View File
@@ -74,8 +74,5 @@ ClientHand::switchRounds()
{
}
void
ClientHand::highlightRoundLabel()
{
}
-2
View File
@@ -79,8 +79,6 @@ public:
void setLastPlayersTurn(const int& theValue) { lastPlayersTurn = theValue; }
int getLastPlayersTurn() const { return lastPlayersTurn; }
void highlightRoundLabel();
void switchRounds();