From 41bd2a66345e670c3ff127584cae3f6766bac743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 11 Nov 2014 00:50:17 +0100 Subject: Add console font size setting and a preview\ Also moves the console settings from the minecraft page. --- gui/pages/global/MultiMCPage.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'gui/pages/global/MultiMCPage.h') 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; }; -- cgit v1.2.3