summaryrefslogtreecommitdiff
path: root/quacker/graphicalboard.h
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2013-12-30 03:15:50 -0600
committerJohn Fultz <jfultz@wolfram.com>2013-12-30 03:15:50 -0600
commit32c211a5487e0148a438b8c9d109e918e69e1ffa (patch)
tree5fef6001ff965ff887fdc429f1afdea6fbd414ac /quacker/graphicalboard.h
parentf3f60195ba3500c7d12b73f18343273e364025a1 (diff)
Add color theme feature.
This allows you to choose between preset themes stored in .ini files in the layout. While I was at it, I changed other things in the Settings panel to auto-populate from the layout rather than have hard-coded versions. So there's no longer a need to recompile Quackle to add new languages or alphabets to get it to show up in the popup menu.
Diffstat (limited to 'quacker/graphicalboard.h')
-rw-r--r--quacker/graphicalboard.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/quacker/graphicalboard.h b/quacker/graphicalboard.h
index 433bafc..312d4f3 100644
--- a/quacker/graphicalboard.h
+++ b/quacker/graphicalboard.h
@@ -55,6 +55,8 @@ public:
// deletes self and resets
static void cleanUp();
+ void readTheme(const QString& themeFile);
+
QColor arrowColor;
QColor letterColor;
QColor britishLetterColor;
@@ -62,9 +64,9 @@ public:
QColor TLSColor;
QColor DWSColor;
QColor TWSColor;
-
QColor QLSColor;
QColor QWSColor;
+ QColor bonusTextColor;
QColor nothingColor;
QColor rackColor;