epgview: use OFFSET define instead of fixed value

Origin commit data
------------------
Branch: ni/coolstream
Commit: da603e85be
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-04-29 (Sun, 29 Apr 2018)

Origin message was:
------------------
- epgview: use OFFSET define instead of fixed value

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-04-29 03:13:08 +02:00
parent 65e5c41667
commit 93796e04fd

View File

@@ -304,7 +304,7 @@ void CEpgData::showText(int startPos, int ypos, bool has_cover, bool fullClear)
stars = imdb_stars / max_stars; // recalculate stars value for starbar
//create and paint ranking banner
CEPGRateBanner rate_bar(sx+10+cover_offset, y+OFFSET_INNER_MID, (size_t)stars, (size_t)max_stars, provider_logo);
CEPGRateBanner rate_bar(sx+OFFSET_INNER_MID+cover_offset, y+OFFSET_INNER_MID, (size_t)stars, (size_t)max_stars, provider_logo);
rate_bar.paint();
if (imdb_active) //TODO: unify imdb and tmdb