- channellist: show choosen channelnumber on vfd while numeric zapping

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-03-12 00:53:21 +01:00
committed by Thilo Graf
parent 82ac230c6a
commit f26175a8b4

View File

@@ -1309,6 +1309,9 @@ int CChannelList::numericZap(int key)
while(strlen(valstr) < maxchansize)
strcat(valstr,"-"); //"_"
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8);
CVFD::getInstance()->showMenuText(0, valstr, -1, true);
PaintBoxRel(ox, oy, sx, sy, COL_INFOBAR_PLUS_0, RADIUS_LARGE, CORNER_ALL, CC_SHADOW_ON);
for (int i = maxchansize-1; i >= 0; i--) {
valstr[i+ 1] = 0;
@@ -1367,6 +1370,7 @@ int CChannelList::numericZap(int key)
}
ClearBoxRel(ox, oy, sx, sy, CC_SHADOW_ON);
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
CZapitChannel* chan = getChannel(chn);
if (doZap) {