infoviewer_bb: show resolution in livestream mode on color button

Origin commit data
------------------
Branch: ni/coolstream
Commit: 07b1f6f849
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-03-03 (Thu, 03 Mar 2016)

Origin message was:
------------------
- infoviewer_bb: show resolution in livestream mode on color button

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-03-03 09:03:56 +01:00
committed by Michael Liebmann
parent 8180e49811
commit fe7c215286
2 changed files with 9 additions and 28 deletions

View File

@@ -525,6 +525,15 @@ const char *CUserMenu::getUserMenuButtonName(int button, bool &active, bool retu
case SNeutrinoSettings::ITEM_NONE:
case SNeutrinoSettings::ITEM_BAR:
case SNeutrinoSettings::ITEM_LIVESTREAM_RESOLUTION:
if(loc == NONEXISTANT_LOCALE && !text) {
/* TODO
get const char *valname from struct
keyval_ext LIVESTREAM_RESOLUTION_OPTIONS
*/
text = to_string(g_settings.livestreamResolution).c_str();
} else
return_title = true;
active = true;
continue;
case SNeutrinoSettings::ITEM_EPG_MISC:
return_title = true;