|
|
@ -244,8 +244,6 @@ namespace MWGui
|
|
|
|
nameWidget->setSize(nameWidget->getWidth() - (widthAfter-widthBefore), nameWidget->getHeight());
|
|
|
|
nameWidget->setSize(nameWidget->getWidth() - (widthAfter-widthBefore), nameWidget->getHeight());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (value.getBase() < 100)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
nameWidget->setUserString("Visible_SkillMaxed", "false");
|
|
|
|
nameWidget->setUserString("Visible_SkillMaxed", "false");
|
|
|
|
nameWidget->setUserString("UserData^Hidden_SkillMaxed", "true");
|
|
|
|
nameWidget->setUserString("UserData^Hidden_SkillMaxed", "true");
|
|
|
|
nameWidget->setUserString("Visible_SkillProgressVBox", "true");
|
|
|
|
nameWidget->setUserString("Visible_SkillProgressVBox", "true");
|
|
|
@ -259,19 +257,6 @@ namespace MWGui
|
|
|
|
setSkillProgress(nameWidget, value.getProgress(), parSkill);
|
|
|
|
setSkillProgress(nameWidget, value.getProgress(), parSkill);
|
|
|
|
setSkillProgress(valueWidget, value.getProgress(), parSkill);
|
|
|
|
setSkillProgress(valueWidget, value.getProgress(), parSkill);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
nameWidget->setUserString("Visible_SkillMaxed", "true");
|
|
|
|
|
|
|
|
nameWidget->setUserString("UserData^Hidden_SkillMaxed", "false");
|
|
|
|
|
|
|
|
nameWidget->setUserString("Visible_SkillProgressVBox", "false");
|
|
|
|
|
|
|
|
nameWidget->setUserString("UserData^Hidden_SkillProgressVBox", "true");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
valueWidget->setUserString("Visible_SkillMaxed", "true");
|
|
|
|
|
|
|
|
valueWidget->setUserString("UserData^Hidden_SkillMaxed", "false");
|
|
|
|
|
|
|
|
valueWidget->setUserString("Visible_SkillProgressVBox", "false");
|
|
|
|
|
|
|
|
valueWidget->setUserString("UserData^Hidden_SkillProgressVBox", "true");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void StatsWindow::configureSkills (const std::vector<int>& major, const std::vector<int>& minor)
|
|
|
|
void StatsWindow::configureSkills (const std::vector<int>& major, const std::vector<int>& minor)
|
|
|
|