From 46e26cd20cdfaa15f38708a5e938c7df83d293a6 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Tue, 12 Dec 2017 20:33:03 +0100 Subject: [PATCH] fix icon alignment Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/198c8f4f379a477e408dd2c4120292a9443bcd1d Author: TangoCash Date: 2017-12-12 (Tue, 12 Dec 2017) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/infoviewer_bb.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/infoviewer_bb.cpp b/src/gui/infoviewer_bb.cpp index 4dbf6bdf5..51a834d5e 100644 --- a/src/gui/infoviewer_bb.cpp +++ b/src/gui/infoviewer_bb.cpp @@ -755,16 +755,16 @@ void CInfoViewerBB::paint_ca_icons(int caid, const char *icon, int &icon_space_o icon_map[0x0000] = std::make_pair(index++,"dec"); //NI icon_map[0x0E00] = std::make_pair(index++,"powervu"); - icon_map[0x4A00] = std::make_pair(index++,"d"); + icon_map[0x1000] = std::make_pair(index++,"tan"); icon_map[0x2600] = std::make_pair(index++,"biss"); + icon_map[0x4A00] = std::make_pair(index++,"d"); icon_map[0x0600] = std::make_pair(index++,"ird"); icon_map[0x0100] = std::make_pair(index++,"seca"); icon_map[0x0500] = std::make_pair(index++,"via"); 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[0x1000] = std::make_pair(index ,"tan"); + icon_map[0x0900] = std::make_pair(index ,"nds"); for (it=icon_map.begin(); it!=icon_map.end(); ++it) { snprintf(buf, sizeof(buf), "%s_%s", (*it).second.second, (*it).second.first==0 ? "na" : "white"); //NI @@ -817,7 +817,7 @@ void CInfoViewerBB::showIcon_CA_Status(int notfirst) return; } - int caids[] = { 0x1000, 0x900, 0xD00, 0xB00, 0x1800, 0x0500, 0x0100, 0x600, 0x2600, 0x4a00, 0x0E00, 0x0000 }; + int caids[] = { 0x900, 0xD00, 0xB00, 0x1800, 0x0500, 0x0100, 0x600, 0x4a00, 0x2600, 0x1000, 0x0E00, 0x0000 }; const char *green = "green"; //NI const char *white = "white"; const char *yellow = "yellow";