mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
imageinfo_ni: add Lua-API version
Origin commit data
------------------
Branch: ni/coolstream
Commit: 49783579a3
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-03-03 (Fri, 03 Mar 2017)
Origin message was:
------------------
- imageinfo_ni: add Lua-API version
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -49,6 +49,10 @@
|
||||
#include <sstream>
|
||||
#include <gui/color_custom.h>
|
||||
#include <gui/components/cc.h>
|
||||
#ifdef ENABLE_LUA
|
||||
#include <gui/lua/lua_api_version.h>
|
||||
#endif
|
||||
#include <system/helpers.h>
|
||||
#include <system/debug.h>
|
||||
#include <cs_api.h>
|
||||
|
||||
@@ -311,8 +315,13 @@ void CImageInfoNI::paint()
|
||||
paintLine(xpos, font_info, "Kernel:");
|
||||
paintLine(xpos+offset, font_info, uname(&uts_info) < 0 ? "n/a" : uts_info.release);
|
||||
|
||||
#ifdef ENABLE_LUA
|
||||
ypos += iheight;
|
||||
paintLine(xpos, font_info, "Lua-API:");
|
||||
paintLine(xpos+offset, font_info, to_string(LUA_API_VERSION_MAJOR) + "." + to_string(LUA_API_VERSION_MINOR));
|
||||
#endif
|
||||
|
||||
ypos += iheight;
|
||||
paintLine(xpos, font_info, g_Locale->getText(LOCALE_IMAGEINFO_DATE));
|
||||
paintLine(xpos+offset, font_info, builddate );
|
||||
|
||||
|
Reference in New Issue
Block a user