mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
[Settings] Shuffle some settings around (#7084)
* [Settings] Shuffle some settings around Took 21 minutes Took 1 hour 25 minutes * [Settings] Camel case everything * Revert debug schema change * Add new classes * Fix card counters writing to global * Fix CI tests * Fix Windows CI * interface() is a protected keyword for MSVC Took 5 minutes Took 5 seconds * [Settings] Keep menu settings on the appearance settings page Leave the 'Menu settings' group box on the appearance settings page for now; relocating it to the user interface settings page will be done in a separate PR. Took 6 minutes --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
bf6b2a90bc
commit
adf574e038
79 changed files with 1899 additions and 1123 deletions
|
|
@ -14,15 +14,17 @@ public:
|
|||
[[nodiscard]] virtual int getPrintingSelectorCardSize() const = 0;
|
||||
[[nodiscard]] virtual bool getIncludeRebalancedCards() const = 0;
|
||||
[[nodiscard]] virtual bool getPrintingSelectorNavigationButtonsVisible() const = 0;
|
||||
[[nodiscard]] virtual bool getDeckEditorBannerCardComboBoxVisible() const = 0;
|
||||
[[nodiscard]] virtual bool getDeckEditorTagsWidgetVisible() const = 0;
|
||||
[[nodiscard]] virtual bool getTapAnimation() const = 0;
|
||||
[[nodiscard]] virtual bool getAutoRotateSidewaysLayoutCards() const = 0;
|
||||
[[nodiscard]] virtual bool getScaleCards() const = 0;
|
||||
[[nodiscard]] virtual int getStackCardOverlapPercent() const = 0;
|
||||
[[nodiscard]] virtual int getCardInfoViewMode() const = 0;
|
||||
[[nodiscard]] virtual bool getShowShortcuts() const = 0;
|
||||
[[nodiscard]] virtual bool getShowGameSelectorFilterToolbar() const = 0;
|
||||
[[nodiscard]] virtual int getVisualDeckStorageCardSize() const = 0;
|
||||
[[nodiscard]] virtual int getVisualDatabaseDisplayCardSize() const = 0;
|
||||
[[nodiscard]] virtual int getVisualDeckEditorCardSize() const = 0;
|
||||
[[nodiscard]] virtual int getEDHRecCardSize() const = 0;
|
||||
[[nodiscard]] virtual int getArchidektPreviewSize() const = 0;
|
||||
[[nodiscard]] virtual int getSampleHandSize() const = 0;
|
||||
};
|
||||
|
||||
#endif // COCKATRICE_INTERFACE_CARDS_DISPLAY_SETTINGS_PROVIDER_H
|
||||
|
|
|
|||
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef COCKATRICE_INTERFACE_DECK_EDITOR_SETTINGS_PROVIDER_H
|
||||
#define COCKATRICE_INTERFACE_DECK_EDITOR_SETTINGS_PROVIDER_H
|
||||
|
||||
class IDeckEditorSettingsProvider
|
||||
{
|
||||
public:
|
||||
virtual ~IDeckEditorSettingsProvider() = default;
|
||||
|
||||
[[nodiscard]] virtual bool getOpenDeckInNewTab() const = 0;
|
||||
[[nodiscard]] virtual bool getBannerCardComboBoxVisible() const = 0;
|
||||
[[nodiscard]] virtual bool getTagsWidgetVisible() const = 0;
|
||||
[[nodiscard]] virtual int getDefaultDeckEditorType() const = 0;
|
||||
};
|
||||
|
||||
#endif // COCKATRICE_INTERFACE_DECK_EDITOR_SETTINGS_PROVIDER_H
|
||||
|
|
@ -29,15 +29,15 @@ public:
|
|||
[[nodiscard]] virtual bool getHorizontalHand() const = 0;
|
||||
[[nodiscard]] virtual bool getInvertVerticalCoordinate() const = 0;
|
||||
[[nodiscard]] virtual int getMinPlayersForMultiColumnLayout() const = 0;
|
||||
[[nodiscard]] virtual bool getOpenDeckInNewTab() const = 0;
|
||||
[[nodiscard]] virtual int getRewindBufferingMs() const = 0;
|
||||
[[nodiscard]] virtual qreal getFastForwardSpeed() const = 0;
|
||||
[[nodiscard]] virtual bool getStyleUserList() const = 0;
|
||||
[[nodiscard]] virtual bool getLeftJustified() const = 0;
|
||||
[[nodiscard]] virtual int getZoneViewGroupByIndex() const = 0;
|
||||
[[nodiscard]] virtual int getZoneViewSortByIndex() const = 0;
|
||||
[[nodiscard]] virtual bool getZoneViewPileView() const = 0;
|
||||
[[nodiscard]] virtual QString getKnownMissingFeatures() = 0;
|
||||
[[nodiscard]] virtual bool getShowStatusBar() const = 0;
|
||||
[[nodiscard]] virtual bool getShowShortcuts() const = 0;
|
||||
[[nodiscard]] virtual bool getShowGameSelectorFilterToolbar() const = 0;
|
||||
};
|
||||
|
||||
#endif // COCKATRICE_INTERFACE_INTERFACE_SETTINGS_PROVIDER_H
|
||||
|
|
|
|||
|
|
@ -11,20 +11,8 @@ public:
|
|||
virtual ~IPersonalSettingsProvider() = default;
|
||||
|
||||
[[nodiscard]] virtual QString getLang() const = 0;
|
||||
[[nodiscard]] virtual QString getClientID() = 0;
|
||||
[[nodiscard]] virtual QString getClientVersion() = 0;
|
||||
[[nodiscard]] virtual int getKeepAlive() const = 0;
|
||||
[[nodiscard]] virtual int getTimeOut() const = 0;
|
||||
[[nodiscard]] virtual bool getPicDownload() const = 0;
|
||||
[[nodiscard]] virtual bool getShowStatusBar() const = 0;
|
||||
[[nodiscard]] virtual int getMaxFontSize() const = 0;
|
||||
[[nodiscard]] virtual QString getHighlightWords() const = 0;
|
||||
[[nodiscard]] virtual QString getHomeTabBackgroundSource() const = 0;
|
||||
[[nodiscard]] virtual int getHomeTabBackgroundShuffleFrequency() const = 0;
|
||||
[[nodiscard]] virtual bool getHomeTabDisplayCardName() const = 0;
|
||||
[[nodiscard]] virtual bool getShowTipsOnStartup() const = 0;
|
||||
[[nodiscard]] virtual QList<int> getSeenTips() const = 0;
|
||||
[[nodiscard]] virtual bool getDownloadSpoilersStatus() const = 0;
|
||||
};
|
||||
|
||||
#endif // COCKATRICE_INTERFACE_PERSONAL_SETTINGS_PROVIDER_H
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ public:
|
|||
[[nodiscard]] virtual bool getVisualDeckStorageShowColorIdentity() const = 0;
|
||||
[[nodiscard]] virtual bool getVisualDeckStorageShowBannerCardComboBox() const = 0;
|
||||
[[nodiscard]] virtual bool getVisualDeckStorageShowTagsOnDeckPreviews() const = 0;
|
||||
[[nodiscard]] virtual int getVisualDeckStorageCardSize() const = 0;
|
||||
[[nodiscard]] virtual bool getVisualDeckStorageDrawUnusedColorIdentities() const = 0;
|
||||
[[nodiscard]] virtual int getVisualDeckStorageUnusedColorIdentitiesOpacity() const = 0;
|
||||
[[nodiscard]] virtual int getVisualDeckStorageTooltipType() const = 0;
|
||||
|
|
@ -24,14 +23,8 @@ public:
|
|||
[[nodiscard]] virtual bool getVisualDeckStorageAlwaysConvert() const = 0;
|
||||
[[nodiscard]] virtual bool getVisualDeckStorageInGame() const = 0;
|
||||
[[nodiscard]] virtual bool getVisualDeckStorageSelectionAnimation() const = 0;
|
||||
[[nodiscard]] virtual int getVisualDeckEditorCardSize() const = 0;
|
||||
[[nodiscard]] virtual int getVisualDeckEditorSampleHandSize() const = 0;
|
||||
[[nodiscard]] virtual int getVisualDatabaseDisplayCardSize() const = 0;
|
||||
[[nodiscard]] virtual bool getVisualDatabaseDisplayFilterToMostRecentSetsEnabled() const = 0;
|
||||
[[nodiscard]] virtual int getVisualDatabaseDisplayFilterToMostRecentSetsAmount() const = 0;
|
||||
[[nodiscard]] virtual int getEDHRecCardSize() const = 0;
|
||||
[[nodiscard]] virtual int getArchidektPreviewSize() const = 0;
|
||||
[[nodiscard]] virtual int getDefaultDeckEditorType() const = 0;
|
||||
};
|
||||
|
||||
#endif // COCKATRICE_INTERFACE_VISUAL_DECK_STORAGE_SETTINGS_PROVIDER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue