summaryrefslogtreecommitdiffstats
path: root/kcontrol/fonts/fonts.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-10-04 17:04:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-10-07 10:30:28 +0900
commite8d86645043847265b61825c9a1f20a6b93cc924 (patch)
tree36d0de030110787276cc4273758e671268104145 /kcontrol/fonts/fonts.h
parent6d39ea6ae8fffaa9419131d1b70f4d78f55bea44 (diff)
downloadtdebase-e8d86645043847265b61825c9a1f20a6b93cc924.tar.gz
tdebase-e8d86645043847265b61825c9a1f20a6b93cc924.zip
Added support for variable font DPI (range 64-512) in user session.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcontrol/fonts/fonts.h')
-rw-r--r--kcontrol/fonts/fonts.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/kcontrol/fonts/fonts.h b/kcontrol/fonts/fonts.h
index 65a1266cb..3d1e9643a 100644
--- a/kcontrol/fonts/fonts.h
+++ b/kcontrol/fonts/fonts.h
@@ -20,6 +20,7 @@
class TQCheckBox;
class TQComboBox;
class KDoubleNumInput;
+class KIntSpinBox;
class FontAASettings;
class FontUseItem : public TDEFontRequester
@@ -107,15 +108,18 @@ protected slots:
void slotApplyFontDiff();
void slotUseAntiAliasing();
void slotCfgAa();
+ void slotUseFontDPI();
private:
enum AASetting { AAEnabled, AASystem, AADisabled };
- enum DPISetting { DPINone, DPI96, DPI120 };
+ enum DPISetting { DPINone, DPIValue };
AASetting useAA, useAA_original;
DPISetting dpi_original;
+ int dpi_value_original;
TQComboBox *cbAA;
TQComboBox* comboForceDpi;
TQPushButton *aaSettingsButton;
+ KIntSpinBox *sbDpiValue;
TQPtrList <FontUseItem> fontUseList;
FontAASettings *aaSettings;
};