mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
dboxinfo: use new marker icons
Origin commit data
------------------
Commit: f7da605281
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-04 (Thu, 04 Jan 2018)
Origin message was:
------------------
- dboxinfo: use new marker icons
This commit is contained in:
@@ -226,7 +226,7 @@ void CDBoxInfoWidget::paint()
|
||||
height += mheight * (frontend_count - 2);
|
||||
|
||||
int icon_w = 0, icon_h = 0;
|
||||
frameBuffer->getIconSize(NEUTRINO_ICON_REC, &icon_w, &icon_h);
|
||||
frameBuffer->getIconSize(NEUTRINO_ICON_MARKER_RECORD, &icon_w, &icon_h);
|
||||
|
||||
#define MEMINFO_TOTAL 0
|
||||
#define MEMINFO_USED 1
|
||||
@@ -592,7 +592,7 @@ void CDBoxInfoWidget::paint()
|
||||
}
|
||||
fm->RenderString(x + mpOffset + space, ypos+ mheight, _w, tmp, COL_MENUCONTENT_TEXT);
|
||||
if ((*it).second && icon_w>0 && icon_h>0)
|
||||
frameBuffer->paintIcon(crm->RecordingStatus() ? NEUTRINO_ICON_REC:NEUTRINO_ICON_REC_GRAY, x + nameWidth - icon_w + width_i/2, ypos + (mheight/2 - icon_h/2));
|
||||
frameBuffer->paintIcon(crm->RecordingStatus() ? NEUTRINO_ICON_MARKER_RECORD : NEUTRINO_ICON_MARKER_RECORD_GRAY, x + nameWidth - icon_w + width_i/2, ypos + (mheight/2 - icon_h/2));
|
||||
}
|
||||
if (pbw-pbw_fix > 8) /* smaller progressbar is not useful ;) */
|
||||
{
|
||||
|
Reference in New Issue
Block a user