| 281 | } |
| 282 | |
| 283 | void MultiListBox::redrawButtons() |
| 284 | { |
| 285 | size_t pos = 0; |
| 286 | for (auto& iter : mVectorColumnInfo) |
| 287 | { |
| 288 | if (pos == mSortColumnIndex) |
| 289 | { |
| 290 | if (mSortUp) |
| 291 | iter.button->setImageName("Up"); |
| 292 | else |
| 293 | iter.button->setImageName("Down"); |
| 294 | } |
| 295 | else |
| 296 | iter.button->setImageName("None"); |
| 297 | |
| 298 | iter.button->setCaption(iter.name); |
| 299 | pos++; |
| 300 | } |
| 301 | } |
| 302 | |
| 303 | void MultiListBox::frameEntered(float _frame) |
| 304 | { |
nothing calls this directly
no test coverage detected