From ae86c8f54291c0e6dc01a930f8a1063e709353cf Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 29 May 2017 14:50:57 +0200 Subject: [PATCH] epgview: fix starbar/rating position Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/c6e559559f878c0d66c03fd07250f6faf6a307c4 Author: vanhofen Date: 2017-05-29 (Mon, 29 May 2017) Origin message was: ------------------ - epgview: fix starbar/rating position --- src/gui/epgview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index a98c80ecc..29409e9a3 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -321,7 +321,7 @@ void CEpgData::showText(int startPos, int ypos, bool has_cover, bool fullClear) stars *= 10; // recalculate stars value for starbar int stars_w = 0, stars_h = 0; - g_PicViewer->getSize(NEUTRINO_ICON_STARS_BG, &stars_w, &stars_h); + frameBuffer->getIconSize(NEUTRINO_ICON_STARS_BG, &icon_w, &icon_h); //create starbar item CProgressBar *cc_starbar = new CProgressBar();