mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-29 17:32:17 -07:00
[Settings] Shuffle some settings around
Took 21 minutes Took 1 hour 25 minutes
This commit is contained in:
parent
0d14fb77a0
commit
e37cb5dadf
47 changed files with 1019 additions and 724 deletions
|
|
@ -9,6 +9,7 @@ set(HEADERS
|
|||
libcockatrice/interfaces/interface_card_set_priority_controller.h
|
||||
libcockatrice/interfaces/interface_cards_display_settings_provider.h
|
||||
libcockatrice/interfaces/interface_chat_settings_provider.h
|
||||
libcockatrice/interfaces/interface_deck_editor_settings_provider.h
|
||||
libcockatrice/interfaces/interface_game_settings_provider.h
|
||||
libcockatrice/interfaces/interface_interface_settings_provider.h
|
||||
libcockatrice/interfaces/interface_network_settings_provider.h
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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