summaryrefslogtreecommitdiff
path: root/src/gui/windows/skilldialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-18 18:10:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-18 18:12:01 +0300
commitcc16bd52b4bfd5b542deddfcb131f0a1ca15b2e0 (patch)
treeedb2a4a75e478cefd282909d1708dfc2d04816a5 /src/gui/windows/skilldialog.h
parent9d18345d84b0c294b0fe7743cb263259f8cc9447 (diff)
downloadmanaverse-cc16bd52b4bfd5b542deddfcb131f0a1ca15b2e0.tar.gz
manaverse-cc16bd52b4bfd5b542deddfcb131f0a1ca15b2e0.tar.bz2
manaverse-cc16bd52b4bfd5b542deddfcb131f0a1ca15b2e0.tar.xz
manaverse-cc16bd52b4bfd5b542deddfcb131f0a1ca15b2e0.zip
Draw cool down bar in skills window.
Diffstat (limited to 'src/gui/windows/skilldialog.h')
-rw-r--r--src/gui/windows/skilldialog.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/skilldialog.h b/src/gui/windows/skilldialog.h
index b01adcabd..fd9bca7c2 100644
--- a/src/gui/windows/skilldialog.h
+++ b/src/gui/windows/skilldialog.h
@@ -110,11 +110,16 @@ class SkillDialog final : public Window,
void playUpdateEffect(const int id) const;
+ void slowLogic();
+
static void useSkill(const SkillInfo *const info);
private:
+ void addSkillDuration(SkillInfo *const skill);
+
typedef std::map<int, SkillInfo*> SkillMap;
SkillMap mSkills;
+ std::vector<SkillInfo*> mDurations;
TabbedArea *mTabs;
std::list<Tab*> mDeleteTabs;
Label *mPointsLabel;