mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
gui/channellist: make displaying channel numbers optional
Conflicts: data/locale/deutsch.locale src/gui/channellist.cpp src/gui/osd_setup.cpp
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