mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
-tiny change
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@629 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -197,7 +197,7 @@ void CDBoxInfoWidget::paint()
|
|||||||
|
|
||||||
sysinfo(&info);
|
sysinfo(&info);
|
||||||
|
|
||||||
snprintf( ubuf,buf_size, "%2d:%02d%s up ",
|
snprintf( ubuf,buf_size, "Uptime: %2d:%02d%s up ",
|
||||||
current_time->tm_hour%12 ? current_time->tm_hour%12 : 12,
|
current_time->tm_hour%12 ? current_time->tm_hour%12 : 12,
|
||||||
current_time->tm_min, current_time->tm_hour > 11 ? "pm" : "am");
|
current_time->tm_min, current_time->tm_hour > 11 ? "pm" : "am");
|
||||||
strcat(sbuf, ubuf);
|
strcat(sbuf, ubuf);
|
||||||
@@ -220,8 +220,8 @@ void CDBoxInfoWidget::paint()
|
|||||||
LOAD_INT(info.loads[1]), LOAD_FRAC(info.loads[1]),
|
LOAD_INT(info.loads[1]), LOAD_FRAC(info.loads[1]),
|
||||||
LOAD_INT(info.loads[2]), LOAD_FRAC(info.loads[2]));
|
LOAD_INT(info.loads[2]), LOAD_FRAC(info.loads[2]));
|
||||||
strcat(sbuf, ubuf);
|
strcat(sbuf, ubuf);
|
||||||
ypos+= mheight/2;
|
|
||||||
g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(x+ 10, ypos+ mheight, width - 10, sbuf, COL_MENUCONTENT);
|
g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(x+ 10, ypos+ mheight, width - 10, sbuf, COL_MENUCONTENT);
|
||||||
|
ypos+= mheight/2;
|
||||||
ypos+= mheight;
|
ypos+= mheight;
|
||||||
int headOffset=0;
|
int headOffset=0;
|
||||||
int mpOffset=0;
|
int mpOffset=0;
|
||||||
|
Reference in New Issue
Block a user