channellist: show choosen channelnumber on vfd while numeric zapping

Origin commit data
------------------
Branch: ni/coolstream
Commit: efa5621cc5
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-03-12 (Mon, 12 Mar 2018)

Origin message was:
------------------
- channellist: show choosen channelnumber on vfd while numeric zapping

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-03-12 00:53:21 +01:00
parent b628f6d4de
commit 59bcbddb83

View File

@@ -1326,6 +1326,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;
@@ -1384,6 +1387,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) {