| 240 | } |
| 241 | |
| 242 | void ModuleSaveDataPanel::DrawModule() |
| 243 | { |
| 244 | if (Minimized() || mAppearAmount < 1) |
| 245 | return; |
| 246 | |
| 247 | int x = mAlignmentX - 5; |
| 248 | int y = 5; |
| 249 | |
| 250 | DrawTextRightJustify("type", x, y + 12); |
| 251 | DrawTextBold(mSaveModule->GetTypeName(), mAlignmentX, y + 12); |
| 252 | y += kItemSpacing; |
| 253 | |
| 254 | DrawTextRightJustify("name", x, y + 12); |
| 255 | y += kItemSpacing; |
| 256 | |
| 257 | DrawTextRightJustify("preset", x, y + 12); |
| 258 | y += kItemSpacing; |
| 259 | |
| 260 | for (auto iter = mLabels.begin(); iter != mLabels.end(); ++iter) |
| 261 | { |
| 262 | DrawTextRightJustify(*iter, x, y + 12); |
| 263 | y += kItemSpacing; |
| 264 | } |
| 265 | |
| 266 | for (auto iter = mSaveDataControls.begin(); iter != mSaveDataControls.end(); ++iter) |
| 267 | (*iter)->Draw(); |
| 268 | } |
| 269 | |
| 270 | void ModuleSaveDataPanel::UpdatePosition() |
| 271 | { |
nothing calls this directly
no test coverage detected