summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-04 15:26:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-04 15:26:20 +0300
commit1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5 (patch)
treebe78c40ec73443cc602c3363aa719065052cda85 /src/gui/equipmentwindow.cpp
parentf54248ded370d95586e52b5fd8e14902fb5eec2b (diff)
downloadplus-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.tar.gz
plus-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.tar.bz2
plus-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.tar.xz
plus-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.zip
Add outline for label default color.
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r--src/gui/equipmentwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index 964181c10..db082e3be 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -69,6 +69,7 @@ EquipmentWindow::EquipmentWindow(Equipment *const equipment,
mHighlightColor(getThemeColor(Theme::HIGHLIGHT)),
mBorderColor(getThemeColor(Theme::BORDER)),
mLabelsColor(getThemeColor(Theme::LABEL)),
+ mLabelsColor2(getThemeColor(Theme::LABEL_OUTLINE)),
mSlotBackground(),
mSlotHighlightedBackground(),
mVertexes(new ImageCollection),
@@ -224,6 +225,7 @@ void EquipmentWindow::draw(gcn::Graphics *graphics)
if (i == EQUIP_PROJECTILE_SLOT)
{
g->setColor(mLabelsColor);
+ g->setColor2(mLabelsColor2);
const std::string str = toString(item->getQuantity());
font->drawString(g, str,
box->x + (mBoxSize - font->getWidth(str)) / 2,