channellist: use OFFSET defines in showdescription() function

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6948c9424e
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-03-05 (Tue, 05 Mar 2019)

Origin message was:
------------------
- channellist: use OFFSET defines in showdescription() function

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-03-05 22:23:11 +01:00
parent 04a40d8bdf
commit d6ce4edc1c

View File

@@ -2639,7 +2639,7 @@ void CChannelList::showdescription(int index)
frameBuffer->paintBoxRel(x+ width,y+ theight+pig_height, infozone_width, infozone_height,COL_MENUCONTENT_PLUS_0); frameBuffer->paintBoxRel(x+ width,y+ theight+pig_height, infozone_width, infozone_height,COL_MENUCONTENT_PLUS_0);
for (int i = 1; (i < (int)epgText.size()+1) && ((y+ theight+ pig_height + i*ffheight) < (y+ theight+ pig_height + infozone_height)); i++) for (int i = 1; (i < (int)epgText.size()+1) && ((y+ theight+ pig_height + i*ffheight) < (y+ theight+ pig_height + infozone_height)); i++)
g_Font[eventFont]->RenderString(x+ width+5, y+ theight+ pig_height + i*ffheight, infozone_width - 20, epgText[i-1].first, COL_MENUCONTENTDARK_TEXT); g_Font[eventFont]->RenderString(x+ width + OFFSET_INNER_MID, y+ theight+ pig_height + i*ffheight, infozone_width - 2*OFFSET_INNER_MID, epgText[i-1].first, COL_MENUCONTENTDARK_TEXT);
} }
void CChannelList::addTextToArray(const std::string & text, int screening) // UTF-8 void CChannelList::addTextToArray(const std::string & text, int screening) // UTF-8