mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-15 09:23:37 +02:00
Merge branch 'cst-next' into nmp-cst-next
Conflicts: src/gui/dboxinfo.cpp
Origin commit data
------------------
Commit: 2175a0f327
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-29 (Fri, 29 Jan 2016)
This commit is contained in:
@@ -317,7 +317,6 @@ void CDBoxInfoWidget::paint()
|
||||
nameWidth += diff;
|
||||
}
|
||||
height = h_max(height, 0);
|
||||
x = getScreenStartX(width);
|
||||
y = getScreenStartY(height);
|
||||
|
||||
// fprintf(stderr, "CDBoxInfoWidget::CDBoxInfoWidget() x = %d, y = %d, width = %d height = %d\n", x, y, width, height);
|
||||
@@ -348,15 +347,23 @@ void CDBoxInfoWidget::paint()
|
||||
title += ": ";
|
||||
title + cpuinfo["machine"];
|
||||
}
|
||||
char ss[17];
|
||||
sprintf(ss, "%016llx", cs_get_serial());
|
||||
title += ", S/N ";
|
||||
title += ss;
|
||||
#endif
|
||||
title += ": ";
|
||||
title += g_info.hw_caps->boxvendor;
|
||||
title += " ";
|
||||
title += g_info.hw_caps->boxname;
|
||||
#if HAVE_COOL_HARDWARE
|
||||
title += " - ";
|
||||
title += " (";
|
||||
title += g_info.hw_caps->boxarch;
|
||||
title += ") - ";
|
||||
title += g_info.hw_caps->frontend;
|
||||
#endif
|
||||
width = max(width, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getRenderWidth(title, true) + 50);
|
||||
x = getScreenStartX(width);
|
||||
|
||||
CComponentsHeader header(x, ypos, width, hheight, title, NEUTRINO_ICON_SHELL);
|
||||
header.paint(CC_SAVE_SCREEN_NO);
|
||||
|
Reference in New Issue
Block a user