mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
- dboxinfo: use new marker icons
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -226,7 +226,7 @@ void CDBoxInfoWidget::paint()
|
|||||||
height += mheight * (frontend_count - 2);
|
height += mheight * (frontend_count - 2);
|
||||||
|
|
||||||
int icon_w = 0, icon_h = 0;
|
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_TOTAL 0
|
||||||
#define MEMINFO_USED 1
|
#define MEMINFO_USED 1
|
||||||
@@ -592,7 +592,7 @@ void CDBoxInfoWidget::paint()
|
|||||||
}
|
}
|
||||||
fm->RenderString(x + mpOffset + space, ypos+ mheight, _w, tmp, COL_MENUCONTENT_TEXT);
|
fm->RenderString(x + mpOffset + space, ypos+ mheight, _w, tmp, COL_MENUCONTENT_TEXT);
|
||||||
if ((*it).second && icon_w>0 && icon_h>0)
|
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 ;) */
|
if (pbw-pbw_fix > 8) /* smaller progressbar is not useful ;) */
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user