mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 16:13:54 -07:00
allow max font size to be defined by user (#2488)
This commit is contained in:
parent
1cc50b2793
commit
a2a7561613
5 changed files with 25 additions and 4 deletions
|
|
@ -61,6 +61,7 @@ private:
|
|||
QString deckPath, replaysPath, picsPath, customPicsPath, cardDatabasePath, customCardDatabasePath, tokenDatabasePath, themeName;
|
||||
bool notifyAboutUpdates;
|
||||
int updateReleaseChannel;
|
||||
int maxFontSize;
|
||||
bool picDownload;
|
||||
bool notificationsEnabled;
|
||||
bool spectatorNotificationsEnabled;
|
||||
|
|
@ -187,6 +188,7 @@ public:
|
|||
bool getSpectatorsCanSeeEverything() const { return spectatorsCanSeeEverything; }
|
||||
bool getRememberGameSettings() const { return rememberGameSettings; }
|
||||
int getKeepAlive() const { return keepalive; }
|
||||
int getMaxFontSize() const { return (maxFontSize > 1) ? maxFontSize : 9; }
|
||||
void setClientID(QString clientID);
|
||||
void setKnownMissingFeatures(QString _knownMissingFeatures);
|
||||
QString getClientID() { return clientID; }
|
||||
|
|
@ -256,6 +258,7 @@ public slots:
|
|||
void setRememberGameSettings(const bool _rememberGameSettings);
|
||||
void setNotifyAboutUpdate(int _notifyaboutupdate);
|
||||
void setUpdateReleaseChannel(int _updateReleaseChannel);
|
||||
void setMaxFontSize(int _max);
|
||||
};
|
||||
|
||||
extern SettingsCache *settingsCache;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue