mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 11:38:49 -07:00
counters menu
This commit is contained in:
parent
7baff1ab62
commit
85319ecc28
6 changed files with 258 additions and 200 deletions
|
|
@ -37,9 +37,6 @@ signals:
|
|||
void sizeChanged();
|
||||
public slots:
|
||||
void actUntapAll();
|
||||
void actIncLife();
|
||||
void actDecLife();
|
||||
void actSetLife();
|
||||
void actRollDie();
|
||||
void actCreateToken();
|
||||
|
||||
|
|
@ -57,11 +54,11 @@ private slots:
|
|||
void actViewRfg();
|
||||
void actViewSideboard();
|
||||
private:
|
||||
QMenu *playerMenu, *handMenu, *graveMenu, *rfgMenu, *libraryMenu, *sbMenu, *sayMenu;
|
||||
QMenu *playerMenu, *handMenu, *graveMenu, *rfgMenu, *libraryMenu, *sbMenu, *countersMenu, *sayMenu;
|
||||
QAction *aMoveToTopLibrary, *aMoveToBottomLibrary, *aMoveToHand, *aMoveToGraveyard, *aMoveToRfg,
|
||||
*aViewLibrary, *aViewTopCards, *aViewGraveyard, *aViewRfg, *aViewSideboard,
|
||||
*aDrawCard, *aDrawCards, *aShuffle,
|
||||
*aUntapAll, *aDecLife, *aIncLife, *aSetLife, *aRollDie, *aCreateToken;
|
||||
*aUntapAll, *aRollDie, *aCreateToken;
|
||||
|
||||
int defaultNumberTopCards;
|
||||
QString name;
|
||||
|
|
@ -80,9 +77,8 @@ private:
|
|||
QRectF bRect;
|
||||
|
||||
QMap<int, Counter *> counters;
|
||||
Counter *lifeCounter;
|
||||
|
||||
void rearrangeCounters();
|
||||
|
||||
void initSayMenu();
|
||||
public:
|
||||
static const int counterAreaWidth = 65;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue