mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-15 01:13:36 +02:00
Merge branch 'ni/mp' into ni/cst-next
Conflicts:
data/icons/shutdown.jpg
data/icons/start.jpg
data/locale/Makefile.am
data/locale/deutsch.locale
data/locale/english.locale
lib/libdvbsub/dvbsub.cpp
lib/libdvbsub/dvbsubtitle.cpp
lib/libtuxtxt/tuxtxt.cpp
lib/libtuxtxt/tuxtxt.h
src/gui/dboxinfo.cpp
src/gui/movieplayer.cpp
src/gui/streaminfo2.cpp
src/gui/themes.cpp
src/neutrino.cpp
src/neutrino_menue.cpp
src/nhttpd/Makefile.am
src/system/flashtool.cpp
Origin commit data
------------------
Commit: 161347db29
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-26 (Fri, 26 Aug 2016)
This commit is contained in:
@@ -4,13 +4,7 @@
|
||||
Copyright (C) 2001 Steffen Hehn 'McClean'
|
||||
Homepage: http://dbox.cyberphoria.org/
|
||||
|
||||
Kommentar:
|
||||
|
||||
Diese GUI wurde von Grund auf neu programmiert und sollte nun vom
|
||||
Aufbau und auch den Ausbaumoeglichkeiten gut aussehen. Neutrino basiert
|
||||
auf der Client-Server Idee, diese GUI ist also von der direkten DBox-
|
||||
Steuerung getrennt. Diese wird dann von Daemons uebernommen.
|
||||
|
||||
(C) 2009-2011, 2013-2014 Stefan Seyfried
|
||||
|
||||
License: GPL
|
||||
|
||||
@@ -339,6 +333,7 @@ void CDBoxInfoWidget::paint()
|
||||
|
||||
//paint head
|
||||
std::string title(g_Locale->getText(LOCALE_EXTRA_DBOXINFO));
|
||||
#if 0
|
||||
std::map<std::string,std::string> cpuinfo;
|
||||
in.open("/proc/cpuinfo");
|
||||
if (in.is_open()) {
|
||||
@@ -366,6 +361,17 @@ void CDBoxInfoWidget::paint()
|
||||
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 += 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);
|
||||
#endif
|
||||
x = getScreenStartX(width);
|
||||
@@ -495,7 +501,6 @@ void CDBoxInfoWidget::paint()
|
||||
const int headSize = 5;
|
||||
int maxWidth[headSize];
|
||||
memset(maxWidth, 0, headSize * sizeof(int));
|
||||
|
||||
int ypos_mem_head = ypos;
|
||||
ypos += mheight;
|
||||
|
||||
@@ -571,7 +576,7 @@ void CDBoxInfoWidget::paint()
|
||||
tmp = basename((char *)mnt);
|
||||
_w = nameWidth - mpOffset;
|
||||
if ((*it).second)
|
||||
_w -= icon_w + 10;
|
||||
_w -= icon_w;
|
||||
_w += width_i/2;
|
||||
break;
|
||||
case 1:
|
||||
|
Reference in New Issue
Block a user