------------------------------------------------------------------------------
| 1387 | |
| 1388 | //------------------------------------------------------------------------------ |
| 1389 | void GuiPopUpMenuCtrl::reverseTextList() |
| 1390 | { |
| 1391 | mTl->clear(); |
| 1392 | for ( S32 i = mEntries.size()-1; i >= 0; --i ) |
| 1393 | mTl->addEntry( mEntries[i].id, mEntries[i].buf ); |
| 1394 | |
| 1395 | // Don't lose the selected cell: |
| 1396 | if ( mSelIndex >= 0 ) |
| 1397 | mTl->setSelectedCell( Point2I( 0, mEntries.size() - mSelIndex - 1 ) ); |
| 1398 | |
| 1399 | mRevNum = mEntries.size() - 1; |
| 1400 | } |
| 1401 | |
| 1402 | //------------------------------------------------------------------------------ |
| 1403 | bool GuiPopUpMenuCtrl::getFontColor( ColorI &fontColor, S32 id, bool selected, bool mouseOver ) |
nothing calls this directly
no test coverage detected