diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-04 15:26:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-04 15:26:20 +0300 |
commit | 1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5 (patch) | |
tree | be78c40ec73443cc602c3363aa719065052cda85 /src/gui/equipmentwindow.cpp | |
parent | f54248ded370d95586e52b5fd8e14902fb5eec2b (diff) | |
download | ManaVerse-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.tar.gz ManaVerse-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.tar.bz2 ManaVerse-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.tar.xz ManaVerse-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.zip |
Add outline for label default color.
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r-- | src/gui/equipmentwindow.cpp | 2 |
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, |