mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 10:33:54 -07:00
Add setting to hide visual deck storage in game lobby (#5570)
This commit is contained in:
parent
1ee0e87ba7
commit
d951b082c4
10 changed files with 56 additions and 5 deletions
|
|
@ -109,7 +109,6 @@ private:
|
|||
DeckList *deck;
|
||||
QMap<QString, DeckViewCardContainer *> cardContainers;
|
||||
qreal optimalAspectRatio;
|
||||
void clearContents();
|
||||
void rebuildTree();
|
||||
|
||||
public:
|
||||
|
|
@ -123,6 +122,7 @@ public:
|
|||
{
|
||||
return locked;
|
||||
}
|
||||
void clearContents();
|
||||
void setDeck(const DeckList &_deck);
|
||||
void setOptimalAspectRatio(qreal _optimalAspectRatio)
|
||||
{
|
||||
|
|
@ -152,6 +152,7 @@ signals:
|
|||
public:
|
||||
explicit DeckView(QWidget *parent = nullptr);
|
||||
void setDeck(const DeckList &_deck);
|
||||
void clearDeck();
|
||||
void setLocked(bool _locked)
|
||||
{
|
||||
deckViewScene->setLocked(_locked);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue