highlightRoundLabel --> refreshGameLabels
This commit is contained in:
@@ -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;
|
||||
|
||||
};
|
||||
|
||||
@@ -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 !!!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -82,7 +82,6 @@ public:
|
||||
|
||||
void assignButtons();
|
||||
|
||||
void highlightRoundLabel();
|
||||
void switchRounds();
|
||||
|
||||
|
||||
|
||||
@@ -74,8 +74,5 @@ ClientHand::switchRounds()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
ClientHand::highlightRoundLabel()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -79,8 +79,6 @@ public:
|
||||
void setLastPlayersTurn(const int& theValue) { lastPlayersTurn = theValue; }
|
||||
int getLastPlayersTurn() const { return lastPlayersTurn; }
|
||||
|
||||
|
||||
void highlightRoundLabel();
|
||||
void switchRounds();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user