| 131 | {} |
| 132 | |
| 133 | void ArticleStateArmor::addStat(std::string label, int stat, bool plus) |
| 134 | { |
| 135 | if (stat != 0) |
| 136 | { |
| 137 | std::wostringstream ss; |
| 138 | if (plus && stat > 0) |
| 139 | ss << L"+"; |
| 140 | ss << stat; |
| 141 | _lstInfo->addRow(2, tr(label).c_str(), ss.str().c_str()); |
| 142 | _lstInfo->setCellColor(_row, 1, Palette::blockOffset(15)+4); |
| 143 | ++_row; |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | void ArticleStateArmor::addStat(std::string label, std::wstring stat) |
| 148 | { |
nothing calls this directly
no test coverage detected