summaryrefslogtreecommitdiff
path: root/src/gui/skilldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-04 17:00:40 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-04 17:30:17 +0300
commit7a7f5905cf19f6a773dcf9bab762b54c16e325f2 (patch)
tree4c891cfaa2eadeecd0685782d8cf561c2a79dbf8 /src/gui/skilldialog.cpp
parent0c7a1466e8c2c2dd6e15779368c87b62b2da601f (diff)
downloadmanaplus-7a7f5905cf19f6a773dcf9bab762b54c16e325f2.tar.gz
manaplus-7a7f5905cf19f6a773dcf9bab762b54c16e325f2.tar.bz2
manaplus-7a7f5905cf19f6a773dcf9bab762b54c16e325f2.tar.xz
manaplus-7a7f5905cf19f6a773dcf9bab762b54c16e325f2.zip
Add support for padding in progress bars.
Also fixed progress bars size. New progress bar attributes: fillPadding - padding for will rectangle padding - normal padding for bar
Diffstat (limited to 'src/gui/skilldialog.cpp')
-rw-r--r--src/gui/skilldialog.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp
index e3316486f..78282ec46 100644
--- a/src/gui/skilldialog.cpp
+++ b/src/gui/skilldialog.cpp
@@ -629,13 +629,6 @@ void SkillInfo::draw(Graphics *const graphics, const int y, const int width)
}
graphics->drawText(skillLevel, width - skillLevelWidth, y);
-
- if (!skillExp.empty())
- {
- gcn::Rectangle rect(33, y + 15, width - 33, 17);
-
- ProgressBar::render(graphics, rect, color, progress, skillExp);
- }
}
SkillInfo* SkillDialog::getSkill(int id)