diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-04 17:00:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-04 17:30:17 +0300 |
commit | 7a7f5905cf19f6a773dcf9bab762b54c16e325f2 (patch) | |
tree | 4c891cfaa2eadeecd0685782d8cf561c2a79dbf8 /src/gui/skilldialog.cpp | |
parent | 0c7a1466e8c2c2dd6e15779368c87b62b2da601f (diff) | |
download | manaverse-7a7f5905cf19f6a773dcf9bab762b54c16e325f2.tar.gz manaverse-7a7f5905cf19f6a773dcf9bab762b54c16e325f2.tar.bz2 manaverse-7a7f5905cf19f6a773dcf9bab762b54c16e325f2.tar.xz manaverse-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.cpp | 7 |
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) |