summaryrefslogtreecommitdiffstats
path: root/gui/pages/global/MultiMCPage.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-11-11 00:50:17 +0100
committerPetr Mrázek <peterix@gmail.com>2014-11-15 19:45:49 +0100
commit41bd2a66345e670c3ff127584cae3f6766bac743 (patch)
tree8c136f8eca1d1c0b94049819466292839794b060 /gui/pages/global/MultiMCPage.h
parent5711b1be95a826daf0e11b64bec04c4b0d2ea5ef (diff)
downloadMultiMC-41bd2a66345e670c3ff127584cae3f6766bac743.tar
MultiMC-41bd2a66345e670c3ff127584cae3f6766bac743.tar.gz
MultiMC-41bd2a66345e670c3ff127584cae3f6766bac743.tar.lz
MultiMC-41bd2a66345e670c3ff127584cae3f6766bac743.tar.xz
MultiMC-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.h11
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;
};