summaryrefslogtreecommitdiff
path: root/src/gui/setup_colors.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-13 01:16:21 -0600
committerIra Rice <irarice@gmail.com>2009-03-13 01:16:21 -0600
commit90e29d12a044030c140382c038c4b01e722113e7 (patch)
treef5b19307bb6e15738ce4c37face98675b7b649c9 /src/gui/setup_colors.cpp
parent011133ef09dd4340c7649100cea170e2595b6b2f (diff)
downloadmana-90e29d12a044030c140382c038c4b01e722113e7.tar.gz
mana-90e29d12a044030c140382c038c4b01e722113e7.tar.bz2
mana-90e29d12a044030c140382c038c4b01e722113e7.tar.xz
mana-90e29d12a044030c140382c038c4b01e722113e7.zip
Added item types to the palette class.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/setup_colors.cpp')
-rw-r--r--src/gui/setup_colors.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gui/setup_colors.cpp b/src/gui/setup_colors.cpp
index 038b21c6..0dfaf7a6 100644
--- a/src/gui/setup_colors.cpp
+++ b/src/gui/setup_colors.cpp
@@ -225,6 +225,22 @@ void Setup_Colors::action(const gcn::ActionEvent &event)
}
mPreview->addRow(msg);
break;
+ case Palette::UNKNOWN_ITEM:
+ case Palette::GENERIC:
+ case Palette::HEAD:
+ case Palette::USABLE:
+ case Palette::TORSO:
+ case Palette::ONEHAND:
+ case Palette::LEGS:
+ case Palette::FEET:
+ case Palette::TWOHAND:
+ case Palette::SHIELD:
+ case Palette::RING:
+ case Palette::ARMS:
+ case Palette::AMMO:
+ mTextPreview->setFont(boldFont);
+ mTextPreview->setOutline(false);
+ mTextPreview->setShadow(false);
case Palette::PARTICLE:
case Palette::EXP_INFO:
case Palette::PICKUP_INFO:
@@ -241,6 +257,7 @@ void Setup_Colors::action(const gcn::ActionEvent &event)
case Palette::MONSTER:
mTextPreview->setFont(boldFont);
mTextPreview->setTextColor(col);
+ case Palette::TYPE_COUNT:
break;
}