Print performance number

print-performance-number
probonopd 1 year ago committed by GitHub
parent 375900b9ec
commit 29c3231966
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      src/uimenu.cpp

@ -1318,11 +1318,14 @@ void CUIMenu::PerformanceMenu (CUIMenu *pUIMenu, TMenuEvent Event)
{ {
Value = pUIMenu->m_pMiniDexed->GetPerformanceName(nValue); Value = pUIMenu->m_pMiniDexed->GetPerformanceName(nValue);
std::string nPSelected = ""; std::string nPSelected = "";
if(nValue == pUIMenu->m_pMiniDexed->GetActualPerformanceID()) if(nValue == pUIMenu->m_pMiniDexed->GetActualPerformanceID())
{ {
nPSelected= "[L]"; nPSelected = std::to_string(pUIMenu->m_pMiniDexed->GetActualPerformanceID()) + " [L]";
}
else
{
nPSelected = std::to_string(pUIMenu->m_pMiniDexed->GetActualPerformanceID());
} }
pUIMenu->m_pUI->DisplayWrite (pUIMenu->m_pParentMenu[pUIMenu->m_nCurrentMenuItem].Name, nPSelected.c_str(), pUIMenu->m_pUI->DisplayWrite (pUIMenu->m_pParentMenu[pUIMenu->m_nCurrentMenuItem].Name, nPSelected.c_str(),

Loading…
Cancel
Save