------------------------------------------------------------------------------
| 1579 | |
| 1580 | //------------------------------------------------------------------------------ |
| 1581 | void GuiPopUpMenuCtrlEx::reverseTextList() |
| 1582 | { |
| 1583 | mTl->clear(); |
| 1584 | for ( S32 i = mEntries.size()-1; i >= 0; --i ) |
| 1585 | mTl->addEntry( mEntries[i].id, mEntries[i].buf ); |
| 1586 | |
| 1587 | // Don't lose the selected cell: |
| 1588 | if ( mSelIndex >= 0 ) |
| 1589 | mTl->setSelectedCell( Point2I( 0, mEntries.size() - mSelIndex - 1 ) ); |
| 1590 | |
| 1591 | mRevNum = mEntries.size() - 1; |
| 1592 | } |
| 1593 | |
| 1594 | //------------------------------------------------------------------------------ |
| 1595 | bool GuiPopUpMenuCtrlEx::getFontColor( ColorI &fontColor, S32 id, bool selected, bool mouseOver ) |
nothing calls this directly
no test coverage detected