summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-15 16:43:19 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-15 16:43:19 +0300
commitac9f689d24e754a181dcb9f8537c50e57d608c35 (patch)
tree2dc265579db10891611d855ef926856a95175127 /src/gui/widgets
parent2ea0e67f1fac993f8bc175c1a1bcef8fbdadef74 (diff)
downloadmv-ac9f689d24e754a181dcb9f8537c50e57d608c35.tar.gz
mv-ac9f689d24e754a181dcb9f8537c50e57d608c35.tar.bz2
mv-ac9f689d24e754a181dcb9f8537c50e57d608c35.tar.xz
mv-ac9f689d24e754a181dcb9f8537c50e57d608c35.zip
Add useButton option to skills.xml.
This allow to change use button for different skills.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/skillinfo.cpp1
-rw-r--r--src/gui/widgets/skillinfo.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/skillinfo.cpp b/src/gui/widgets/skillinfo.cpp
index a009d623a..683854ce8 100644
--- a/src/gui/widgets/skillinfo.cpp
+++ b/src/gui/widgets/skillinfo.cpp
@@ -38,6 +38,7 @@
SkillInfo::SkillInfo() :
skillLevel(),
skillExp(),
+ useButton(),
progress(0.0F),
color(),
dataMap(),
diff --git a/src/gui/widgets/skillinfo.h b/src/gui/widgets/skillinfo.h
index 06e3b3583..7570feca5 100644
--- a/src/gui/widgets/skillinfo.h
+++ b/src/gui/widgets/skillinfo.h
@@ -43,6 +43,7 @@ struct SkillInfo final
{
std::string skillLevel;
std::string skillExp;
+ std::string useButton;
float progress;
Color color;
SkillDataMap dataMap;