Mode fb and picviewer cleanup; unify channel logo display code

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@259 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2010-02-05 15:26:57 +00:00
parent 2f6462c65d
commit 3fb6607ba0
16 changed files with 498 additions and 405 deletions

View File

@@ -122,8 +122,8 @@ void CProgressBar::realpaint(const int pos_x, const int pos_y,
frame_widht = 0;
// get icon size
int icon_w = 0, icon_h = 0;
icon_w = iconfile != NULL ? frameBuffer->getIconWidth(iconfile) : 0;
icon_h = iconfile != NULL ? frameBuffer->getIconHeight(iconfile) : 0;
if(iconfile != NULL)
frameBuffer->getIconSize(iconfile, &icon_w, &icon_h);
// start positions x/y active bar
int start_x = icon_w != 0 ? pos_x + icon_w + 2*frame_widht : pos_x + frame_widht;