diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-28 23:41:36 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-28 23:41:36 -0700 |
commit | 5a3c174a53ed90224dc4fc49744c656eb9d358fa (patch) | |
tree | 2ce68b58ba1f10d9b54d9f1de168a9a9c78ad5f4 /src/gui/itempopup.h | |
parent | 0e2a2f39a2137ea1caae96256431c7d35fc2e6ec (diff) | |
download | mana-5a3c174a53ed90224dc4fc49744c656eb9d358fa.tar.gz mana-5a3c174a53ed90224dc4fc49744c656eb9d358fa.tar.bz2 mana-5a3c174a53ed90224dc4fc49744c656eb9d358fa.tar.xz mana-5a3c174a53ed90224dc4fc49744c656eb9d358fa.zip |
Added coloring of item names by type. TODO: Allow this to be
customizable through the color interface so that if someone is
colorblind to a certain color and it doesn't show up well, they can
change it (or even people who just don't like the default color).
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/itempopup.h')
-rw-r--r-- | src/gui/itempopup.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/itempopup.h b/src/gui/itempopup.h index 0c729231..3c8f575d 100644 --- a/src/gui/itempopup.h +++ b/src/gui/itempopup.h @@ -27,6 +27,7 @@ #include "textbox.h" #include "window.h" +#include "../guichanfwd.h" #include "../item.h" class ItemPopup : public Window @@ -46,6 +47,8 @@ class ItemPopup : public Window ScrollArea *mItemDescScroll; ScrollArea *mItemEffectScroll; ScrollArea *mItemWeightScroll; + + gcn::Color getColor(const std::string& type); }; #endif // ITEMPOPUP_H__ |