mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
src/gui/streaminfo2.cpp add show channel realname, thx Janus
Origin commit data
------------------
Commit: c08a339484
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-12-16 (Wed, 16 Dec 2015)
This commit is contained in:
@@ -665,7 +665,8 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
|
|||||||
ypos += iheight;
|
ypos += iheight;
|
||||||
sprintf (buf, "%s:",g_Locale->getText (LOCALE_TIMERLIST_CHANNEL));//swiped locale
|
sprintf (buf, "%s:",g_Locale->getText (LOCALE_TIMERLIST_CHANNEL));//swiped locale
|
||||||
g_Font[font_info]->RenderString(xpos, ypos, box_width, buf , COL_INFOBAR_TEXT);
|
g_Font[font_info]->RenderString(xpos, ypos, box_width, buf , COL_INFOBAR_TEXT);
|
||||||
sprintf(buf, "%s", channel->getName().c_str());
|
// process additional RealName if UserName exists >> uname.empty() ? realname : uname + realname
|
||||||
|
sprintf(buf, "%s", (channel->getName()==channel->getRealname()) ? channel->getRealname().c_str():(channel->getName()+" << "+channel->getRealname()).c_str());
|
||||||
g_Font[font_info]->RenderString (xpos+spaceoffset, ypos, box_width, buf, COL_INFOBAR_TEXT);
|
g_Font[font_info]->RenderString (xpos+spaceoffset, ypos, box_width, buf, COL_INFOBAR_TEXT);
|
||||||
|
|
||||||
//tsfrequenz
|
//tsfrequenz
|
||||||
|
Reference in New Issue
Block a user