From 32c211a5487e0148a438b8c9d109e918e69e1ffa Mon Sep 17 00:00:00 2001 From: John Fultz Date: Mon, 30 Dec 2013 03:15:50 -0600 Subject: 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. --- quacker/graphicalboard.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'quacker/graphicalboard.h') 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; -- cgit v1.2.3