mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user