mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
gui/channellist: make displaying channel numbers optional
Conflicts:
data/locale/deutsch.locale
src/gui/channellist.cpp
src/gui/osd_setup.cpp
Origin commit data
------------------
Branch: ni/coolstream
Commit: 94e6cf9a25
Author: martii <m4rtii@gmx.de>
Date: 2014-07-19 (Sat, 19 Jul 2014)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2023,9 +2023,12 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
|
||||
|
||||
int icon_space = r_icon_w+s_icon_w;
|
||||
|
||||
//number
|
||||
int numpos = x+5+numwidth- g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->getRenderWidth(tmp);
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->RenderString(numpos,ypos+fheight, numwidth+5, tmp, color, fheight);
|
||||
//channel numbers
|
||||
if (g_settings.channellist_show_numbers) {
|
||||
int numpos = x+5+numwidth- g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->getRenderWidth(tmp);
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->RenderString(numpos,ypos+fheight, numwidth+5, tmp, color, fheight);
|
||||
} else
|
||||
numwidth = -5;
|
||||
|
||||
int l=0;
|
||||
if (this->historyMode)
|
||||
|
Reference in New Issue
Block a user