Clean up, fix, and tweak the spellcasting dialog

- Includes new status effect images for the forcecage and for hypothetical inverses of dumbfound and magic resistance, as well as icons for the whole-party statuses.
This commit is contained in:
2014-12-10 17:47:33 -05:00
parent 34be9a0233
commit 869ca7b2d7
8 changed files with 166 additions and 64 deletions

View File

@@ -1217,6 +1217,7 @@ bool cDialog::addLabelFor(std::string key, std::string label, eLabelPos where, s
if(bg == BG_DARK && dynamic_cast<cButton*>(&ctrl) != NULL)
labelCtrl->setColour(defTextClr);
else labelCtrl->setColour(ctrl.getColour());
ctrl.setLabelCtrl(labelCtrl);
return add(labelCtrl, labelRect, key);
}