summaryrefslogtreecommitdiff
path: root/src/gui/setup_colors.h
diff options
context:
space:
mode:
authorsniper <sniper@livecd.janhome.net>2009-03-11 15:35:54 +0100
committerJared Adams <jaxad0127@gmail.com>2009-03-12 18:53:16 -0600
commit4260cb92571842c6336537bf0d0c47c4f011ac0f (patch)
tree6c9ce9d69dc6914bb9948b152171d216a801f7c9 /src/gui/setup_colors.h
parentf3796c231d5bcac6850fb9afc8db652361e3fceb (diff)
downloadMana-4260cb92571842c6336537bf0d0c47c4f011ac0f.tar.gz
Mana-4260cb92571842c6336537bf0d0c47c4f011ac0f.tar.bz2
Mana-4260cb92571842c6336537bf0d0c47c4f011ac0f.tar.xz
Mana-4260cb92571842c6336537bf0d0c47c4f011ac0f.zip
Extending the internal handling of colors
The internal storage for colors was in the file color.h/color.cpp. It mainly managed the colors in the chat. The Color class was extended to be more generic now and it stores gcn::Color objects instead of integers now. A lot of new colortypes are now available, though not many of them are used for now, that will come in the next patches. The Color class was renamed to Palette and color.{h,cpp} to palette.{h,cpp} to better describe its purpose. The color config gui now lists the new colors, even changes them, but the result is not displayed properly for now.
Diffstat (limited to 'src/gui/setup_colors.h')
-rw-r--r--src/gui/setup_colors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/setup_colors.h b/src/gui/setup_colors.h
index 2831297f..050ea638 100644
--- a/src/gui/setup_colors.h
+++ b/src/gui/setup_colors.h
@@ -48,6 +48,8 @@ class Setup_Colors : public SetupTab, public gcn::ActionListener,
void listen(const TextField *tf);
private:
+ static const std::string rawmsg;
+
gcn::ListBox *mColorBox;
gcn::ScrollArea *mScroll;
BrowserBox *mPreview;