diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/skillinfo.cpp | 16 | ||||
-rw-r--r-- | src/gui/widgets/skillinfo.h | 17 |
2 files changed, 16 insertions, 17 deletions
diff --git a/src/gui/widgets/skillinfo.cpp b/src/gui/widgets/skillinfo.cpp index 2b7060c31..809e34b0d 100644 --- a/src/gui/widgets/skillinfo.cpp +++ b/src/gui/widgets/skillinfo.cpp @@ -29,19 +29,19 @@ #include "debug.h" SkillInfo::SkillInfo() : - level(0), skillLevel(), - skillLevelWidth(0), - id(0), - modifiable(false), - visible(false), - model(nullptr), skillExp(), progress(0.0f), - range(0), color(), + dataMap(), + model(nullptr), data(nullptr), - dataMap() + level(0), + skillLevelWidth(0), + id(0), + range(0), + modifiable(false), + visible(false) { dataMap[0] = new SkillData(); data = dataMap[0]; diff --git a/src/gui/widgets/skillinfo.h b/src/gui/widgets/skillinfo.h index cfc55d053..343d74781 100644 --- a/src/gui/widgets/skillinfo.h +++ b/src/gui/widgets/skillinfo.h @@ -35,20 +35,19 @@ typedef SkillDataMap::const_iterator SkillDataMapCIter; struct SkillInfo final { - int level; std::string skillLevel; - int skillLevelWidth; - unsigned int id; - bool modifiable; - bool visible; - SkillModel *model; std::string skillExp; float progress; - int range; gcn::Color color; - - SkillData *data; SkillDataMap dataMap; + SkillModel *model; + SkillData *data; + int level; + int skillLevelWidth; + unsigned int id; + int range; + bool modifiable; + bool visible; SkillInfo(); A_DELETE_COPY(SkillInfo) |