ni-imageinfo: show version of libstb-hal

Origin commit data
------------------
Commit: 182f5c54f7
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-01-01 (Tue, 01 Jan 2019)

Origin message was:
------------------
- ni-imageinfo: show version of libstb-hal
This commit is contained in:
vanhofen
2019-01-01 23:33:32 +01:00
parent 20be48b9a3
commit df8167d257

View File

@@ -26,6 +26,10 @@
#include <config.h>
#endif
#if HAVE_CONFIG_HAL_H
#include <version_hal.h>
#endif
#include <gui/imageinfo_ni.h>
#include <global.h>
@@ -82,11 +86,12 @@ static const neutrino_locale_t info_items[] =
{
LOCALE_IMAGEINFO_IMAGE,
LOCALE_IMAGEINFO_VERSION,
LOCALE_IMAGEINFO_DATE,
LOCALE_IMAGEINFO_KERNEL,
LOCALE_IMAGEINFO_GUI,
/* libstb-hal: */
/* Lua-API: */
/* yWeb: */
LOCALE_IMAGEINFO_DATE,
LOCALE_IMAGEINFO_CREATOR,
LOCALE_IMAGEINFO_HOMEPAGE
};
@@ -341,6 +346,12 @@ void CImageInfoNI::paint()
paintLine(xpos, font_info, g_Locale->getText(LOCALE_IMAGEINFO_GUI));
paintLine(xpos+offset, font_info, guiversion.str());
#if HAVE_CONFIG_HAL_H
ypos += iheight;
paintLine(xpos, font_info, "libstb-hal:");
paintLine(xpos+offset, font_info, getPackageVersion());
#endif
#ifdef ENABLE_LUA
ypos += iheight;
paintLine(xpos, font_info, "Lua-API:");