mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 11:03:54 -07:00
converted phases toolbar to graphics item
This commit is contained in:
parent
20194617bc
commit
78e5068e39
24 changed files with 274 additions and 159 deletions
|
|
@ -93,6 +93,7 @@ private:
|
|||
QMap<int, QString> spectators;
|
||||
bool started;
|
||||
bool resuming;
|
||||
QStringList phasesList;
|
||||
int currentPhase;
|
||||
int activePlayer;
|
||||
|
||||
|
|
@ -111,8 +112,9 @@ private:
|
|||
QHBoxLayout *mainLayout;
|
||||
ZoneViewLayout *zoneLayout;
|
||||
QAction *playersSeparator;
|
||||
QMenu *playersMenu;
|
||||
QMenu *phasesMenu;
|
||||
QAction *aConcede, *aLeaveGame, *aNextPhase, *aNextTurn, *aRemoveLocalArrows;
|
||||
QList<QAction *> phaseActions;
|
||||
|
||||
Player *addPlayer(int playerId, ServerInfo_User *info);
|
||||
|
||||
|
|
@ -145,6 +147,7 @@ private slots:
|
|||
void actLeaveGame();
|
||||
void actRemoveLocalArrows();
|
||||
void actSay();
|
||||
void actPhaseAction();
|
||||
void actNextPhase();
|
||||
void actNextTurn();
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue