aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/aoapplication.h2
-rw-r--r--include/options.h3
-rw-r--r--include/widgets/aooptionsdialog.h1
3 files changed, 6 insertions, 0 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index 8ef2a12..72c3457 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -66,6 +66,8 @@ public:
Courtroom *w_courtroom;
AttorneyOnline::Discord *discord;
+ QFont default_font;
+
bool lobby_constructed = false;
bool courtroom_constructed = false;
diff --git a/include/options.h b/include/options.h
index aba346c..2beae23 100644
--- a/include/options.h
+++ b/include/options.h
@@ -48,6 +48,9 @@ public:
QString theme() const;
void setTheme(QString value);
+ int themeScalingFactor() const;
+ void setThemeScalingFactor(int value);
+
// Returns the value of oocname in config.ini
QString oocName() const;
void setOocName(QString value);
diff --git a/include/widgets/aooptionsdialog.h b/include/widgets/aooptionsdialog.h
index dcc66c1..ab36652 100644
--- a/include/widgets/aooptionsdialog.h
+++ b/include/widgets/aooptionsdialog.h
@@ -47,6 +47,7 @@ private:
QWidget *ui_settings_widget;
QComboBox *ui_theme_combobox;
QComboBox *ui_subtheme_combobox;
+ QSpinBox *ui_theme_scaling_factor_sb;
QPushButton *ui_theme_reload_button;
QPushButton *ui_theme_folder_button;
QCheckBox *ui_evidence_double_click_cb;