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


Origin commit data
------------------
Commit: 3fb6607ba0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-02-05 (Fri, 05 Feb 2010)
This commit is contained in:
[CST] Focus
2010-02-05 15:26:57 +00:00
parent a8160d1e91
commit e7fb4b55fd
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;