mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 11:33:55 -07:00
Add setting for which deck editor tab to open deck in (#5895)
* Create new setting * Update settings dlg * implement functionality * Make setting into an enum
This commit is contained in:
parent
24e27d3c31
commit
57c6f2716f
10 changed files with 70 additions and 5 deletions
|
|
@ -153,6 +153,7 @@ private:
|
|||
bool visualDeckStorageAlwaysConvert;
|
||||
bool visualDeckStorageInGame;
|
||||
bool visualDeckStorageSelectionAnimation;
|
||||
int defaultDeckEditorType;
|
||||
bool visualDatabaseDisplayFilterToMostRecentSetsEnabled;
|
||||
int visualDatabaseDisplayFilterToMostRecentSetsAmount;
|
||||
bool horizontalHand;
|
||||
|
|
@ -488,6 +489,10 @@ public:
|
|||
{
|
||||
return visualDeckStorageSelectionAnimation;
|
||||
}
|
||||
int getDefaultDeckEditorType() const
|
||||
{
|
||||
return defaultDeckEditorType;
|
||||
}
|
||||
bool getVisualDatabaseDisplayFilterToMostRecentSetsEnabled() const
|
||||
{
|
||||
return visualDatabaseDisplayFilterToMostRecentSetsEnabled;
|
||||
|
|
@ -839,6 +844,7 @@ public slots:
|
|||
void setVisualDeckStorageAlwaysConvert(bool _visualDeckStorageAlwaysConvert);
|
||||
void setVisualDeckStorageInGame(QT_STATE_CHANGED_T value);
|
||||
void setVisualDeckStorageSelectionAnimation(QT_STATE_CHANGED_T value);
|
||||
void setDefaultDeckEditorType(int value);
|
||||
void setVisualDatabaseDisplayFilterToMostRecentSetsEnabled(QT_STATE_CHANGED_T _enabled);
|
||||
void setVisualDatabaseDisplayFilterToMostRecentSetsAmount(int _amount);
|
||||
void setHorizontalHand(QT_STATE_CHANGED_T _horizontalHand);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue