From b7f24e7a5e6564ac9c24f074bfcdad8f1d6b5bdf Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 8 Feb 2010 19:53:54 +0000 Subject: [PATCH] show freq for cabel git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@306 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/629c91063fbf978f9abe1f77d28d22f1848139a3 Author: Jacek Jendrzej Date: 2010-02-08 (Mon, 08 Feb 2010) --- src/gui/streaminfo2.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index fabf173c9..bb604afb2 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -595,6 +595,11 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos) g_Font[font_info]->RenderString(xpos, ypos, width*2/3-10, "Tp. Freq.:" , COL_MENUCONTENTDARK, 0, true); // UTF-8 g_Font[font_info]->RenderString(xpos+spaceoffset, ypos, width*2/3-10, buf, COL_MENUCONTENTDARK, 0, true); // UTF-8 } + else if(frontend->getInfo()->type == FE_QAM) { + sprintf((char*) buf, "%d.%d MHz", si.tsfrequency/1000000, si.tsfrequency%1000); + g_Font[font_info]->RenderString(xpos, ypos, width*2/3-10, "Tp. Freq.:" , COL_MENUCONTENTDARK, 0, true); // UTF-8 + g_Font[font_info]->RenderString(xpos+spaceoffset, ypos, width*2/3-10, buf, COL_MENUCONTENTDARK, 0, true); // UTF-8 + } // paint labels spaceoffset = g_Font[font_info]->getRenderWidth("VTXTpid:");