summaryrefslogtreecommitdiff
path: root/text2skin.c
diff options
context:
space:
mode:
authorAndreas Brugger <brougs78@gmx.net>2005-11-19 12:00:00 +0100
committerThomas Günther <tom@toms-cafe.de>2009-06-03 01:03:47 +0200
commit662dd62488f6f842fe5d940e986f798abe1c7691 (patch)
tree0406592c45332e6ba26ed63f3bff91ab42d30b4a /text2skin.c
parent71023584dc849dc3705c6db303878fd27e8704c7 (diff)
downloadvdr-plugin-text2skin-662dd62488f6f842fe5d940e986f798abe1c7691.tar.gz
vdr-plugin-text2skin-662dd62488f6f842fe5d940e986f798abe1c7691.tar.bz2
2005-11-19: Version 1.1-cvs_ext-0.2 (vdr-text2skin-1.1-cvs_ext-0.2.diff)
- removed the previously introduced tokens NextTimerName, NextTimerStart, NextTimerChannel, CurrentRecordingsCount and added tokens for the next 3 timers: CurrentEventsTitle[123], CurrentEventsStartDateTime[123], CurrentEventsStopDateTime[123], CurrentEventsChannelNumber[123], CurrentEventsChannelName[123], CurrentEventsIsRecording[123] - added audio- and video-tokens: PresentLanguageCode, PresentLanguageDescription, PresentVideoAR and implemented the missing code for the Language-token - added tokens for replay: ReplayName, ReplayDateTime, ReplayShortText, ReplayDescription, ReplayLanguageCode, ReplayLanguageDescription, ReplayVideoAR (not activated yet) - additional recording-tokens: RecordingVideoAR, RecordingSize - added a reset for scrolling text (configurable) - included Text2skin.diff from the rotor-plugin
Diffstat (limited to 'text2skin.c')
-rw-r--r--text2skin.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/text2skin.c b/text2skin.c
index be63af4..6ca80d0 100644
--- a/text2skin.c
+++ b/text2skin.c
@@ -12,6 +12,7 @@
#include "i18n.h"
#include "loader.h"
#include "status.h"
+#include "xml/object.h"
const char *cText2SkinPlugin::VERSION = "1.1-cvs";
const char *cText2SkinPlugin::SKINVERSION = "1.0";
@@ -23,6 +24,17 @@ cText2SkinPlugin::cText2SkinPlugin(void) {
cText2SkinPlugin::~cText2SkinPlugin() {
}
+bool cText2SkinPlugin::Service(const char *Id, void *Data)
+{
+ if (strcmp(Id,"Text2Skin-TTF") == 0) {
+ if (Data == NULL)
+ return true;
+ cxObject::UseTTF = *(int*)Data;
+ return true;
+ }
+ return false;
+}
+
bool cText2SkinPlugin::Start(void) {
RegisterI18n(Phrases);
Text2SkinStatus.SetLanguage(Setup.OSDLanguage);