mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
-add svn rev. to imageinfo
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@538 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -37,6 +37,8 @@
|
||||
#include <system/flashtool.h>
|
||||
#include <video_cs.h>
|
||||
|
||||
#include "svn_version.h"
|
||||
#define SVN_REV "SVN Rev.:"
|
||||
extern cVideo * videoDecoder;
|
||||
|
||||
extern CRemoteControl * g_RemoteControl; /* neutrino.cpp */
|
||||
@@ -87,7 +89,10 @@ void CImageInfo::Init(void)
|
||||
offset = tmpoffset;
|
||||
}
|
||||
}
|
||||
|
||||
int off_tmp = g_Font[font_info]->getRenderWidth(SVN_REV);
|
||||
if(off_tmp > offset)
|
||||
offset = off_tmp;
|
||||
|
||||
offset = offset + 15;
|
||||
}
|
||||
|
||||
@@ -175,7 +180,6 @@ void CImageInfo::paint()
|
||||
ypos += hheight;
|
||||
ypos += (iheight >>1);
|
||||
|
||||
|
||||
CConfigFile config('\t');
|
||||
config.loadConfig("/.version");
|
||||
|
||||
@@ -191,7 +195,6 @@ void CImageInfo::paint()
|
||||
sprintf((char*) imagedate, "%s %s", versionInfo.getDate(), versionInfo.getTime());
|
||||
|
||||
ypos += iheight;
|
||||
|
||||
paintLine(xpos , font_info, g_Locale->getText(LOCALE_IMAGEINFO_IMAGE));
|
||||
paintLine(xpos+offset, font_info, imagename);
|
||||
|
||||
@@ -203,6 +206,10 @@ void CImageInfo::paint()
|
||||
paintLine(xpos , font_info, g_Locale->getText(LOCALE_IMAGEINFO_VERSION));
|
||||
paintLine(xpos+offset, font_info, releaseCycle);
|
||||
|
||||
ypos += iheight;
|
||||
paintLine(xpos , font_info, SVN_REV);
|
||||
paintLine(xpos+offset, font_info, SVNVERSION );
|
||||
|
||||
ypos += iheight;
|
||||
paintLine(xpos , font_info, g_Locale->getText(LOCALE_IMAGEINFO_CREATOR));
|
||||
paintLine(xpos+offset, font_info, creator);
|
||||
|
Reference in New Issue
Block a user