update cryptsystems

Origin commit data
------------------
Commit: ac696e9ba3
Author: TangoCash <eric@loxat.de>
Date: 2017-12-11 (Mon, 11 Dec 2017)
This commit is contained in:
TangoCash
2017-12-11 21:00:17 +01:00
committed by Thilo Graf
parent a772976c71
commit 95d1ddd7be
3 changed files with 20 additions and 9 deletions

View File

@@ -717,10 +717,12 @@ void CInfoViewerBB::paint_ca_icons(int caid, const char *icon, int &icon_space_o
int py = g_InfoViewer->BoxEndY + OFFSET_INNER_SMALL;
int px = 0;
static std::map<int, std::pair<int,const char*> > icon_map;
const int icon_space = OFFSET_INNER_SMALL, icon_number = 10;
static int icon_offset[icon_number] = {0,0,0,0,0,0,0,0,0,0};
static int icon_sizeW [icon_number] = {0,0,0,0,0,0,0,0,0,0};
const int icon_space = OFFSET_INNER_SMALL, icon_number = 11;
static int icon_offset[icon_number] = {0,0,0,0,0,0,0,0,0,0,0};
static int icon_sizeW [icon_number] = {0,0,0,0,0,0,0,0,0,0,0};
static bool init_flag = false;
if (!init_flag) {
@@ -737,7 +739,8 @@ void CInfoViewerBB::paint_ca_icons(int caid, const char *icon, int &icon_space_o
icon_map[0x1800] = std::make_pair(index++,"nagra");
icon_map[0x0B00] = std::make_pair(index++,"conax");
icon_map[0x0D00] = std::make_pair(index++,"cw");
icon_map[0x0900] = std::make_pair(index ,"nds");
icon_map[0x0900] = std::make_pair(index++,"nds");
icon_map[0x1000] = std::make_pair(index ,"tan");
for (it=icon_map.begin(); it!=icon_map.end(); ++it) {
snprintf(buf, sizeof(buf), "%s_%s", (*it).second.second, icon);
@@ -785,7 +788,9 @@ void CInfoViewerBB::showIcon_CA_Status(int notfirst)
return;
}
int caids[] = { 0x900, 0xD00, 0xB00, 0x1800, 0x0500, 0x0100, 0x600, 0x2600, 0x4a00, 0x0E00 };
int caids[] = { 0x1000, 0x900, 0xD00, 0xB00, 0x1800, 0x0500, 0x0100, 0x600, 0x2600, 0x4a00, 0x0E00};
// const char *green = "green"; // unused
const char *white = "white";
const char *yellow = "yellow";
int icon_space_offset = 0;