add show Cryptsysteme

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@339 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9f1c391db6
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-02-15 (Mon, 15 Feb 2010)

Origin message was:
------------------
-add show Cryptsysteme

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@339 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2010-02-14 23:02:34 +00:00
parent 5acbb08f90
commit 007dd82791
8 changed files with 241 additions and 49 deletions

View File

@@ -1811,7 +1811,6 @@ void CInfoViewer::paint_ca_icons(int caid, char * icon)
static char * gray = (char *) "white";
//static char * green = (char *) "green";
static char * white = (char *) "yellow";
extern int pmt_caids[10];
void CInfoViewer::showIcon_CA_Status (int notfirst)
{
@@ -1822,12 +1821,13 @@ void CInfoViewer::showIcon_CA_Status (int notfirst)
int acaid = 0;
int py = BoxEndY - InfoHeightY_Info;
#endif
extern int pmt_caids[4][11];
int i;
int caids[] = { 0x1700, 0x0100, 0x0500, 0x1800, 0xB00, 0xD00, 0x900, 0x2600, 0x4a00, 0x0E00 };
if (!notfirst) {
for (i=0; i < (int)(sizeof(caids)/sizeof(int)); i++) {
paint_ca_icons(caids[i], (char *) (pmt_caids[i] ? white : gray));
paint_ca_icons(caids[i], (char *) (pmt_caids[0][i] ? white : gray));
}
}
}