diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-11-11 00:50:17 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-11-15 19:45:49 +0100 |
commit | 41bd2a66345e670c3ff127584cae3f6766bac743 (patch) | |
tree | 8c136f8eca1d1c0b94049819466292839794b060 /gui/pages/global/MultiMCPage.h | |
parent | 5711b1be95a826daf0e11b64bec04c4b0d2ea5ef (diff) | |
download | PrismLauncher-41bd2a66345e670c3ff127584cae3f6766bac743.tar.gz PrismLauncher-41bd2a66345e670c3ff127584cae3f6766bac743.tar.bz2 PrismLauncher-41bd2a66345e670c3ff127584cae3f6766bac743.zip |
Add console font size setting and a preview\
Also moves the console settings from the minecraft page.
Diffstat (limited to 'gui/pages/global/MultiMCPage.h')
-rw-r--r-- | gui/pages/global/MultiMCPage.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gui/pages/global/MultiMCPage.h b/gui/pages/global/MultiMCPage.h index e892aa94..c19f65a9 100644 --- a/gui/pages/global/MultiMCPage.h +++ b/gui/pages/global/MultiMCPage.h @@ -21,6 +21,7 @@ #include "logic/java/JavaChecker.h" #include "gui/pages/BasePage.h" +class QTextCharFormat; class SettingsObject; namespace Ui @@ -78,7 +79,12 @@ slots: */ void refreshUpdateChannelDesc(); - void updateChannelSelectionChanged(int index); + /*! + * Updates the font preview + */ + void refreshFontPreview(); + + void updateChannelSelectionChanged(int index); private: Ui::MultiMCPage *ui; @@ -87,4 +93,7 @@ private: * Stores the currently selected update channel. */ QString m_currentUpdateChannel; + + // default format for the font preview... + QTextCharFormat *defaultFormat; }; |