summaryrefslogtreecommitdiff
path: root/loader.c
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-06-05 18:06:22 +0000
committerlordjaxom <lordjaxom>2004-06-05 18:06:22 +0000
commit6094765d94e4caaf0813039dff826b731f277753 (patch)
treefed79334167f26d5a81a6cae9be3f1341375a36f /loader.c
parente0c2ee1d37c0f213f22a04df71710bebe3526f85 (diff)
downloadvdr-plugin-text2skin-6094765d94e4caaf0813039dff826b731f277753.tar.gz
vdr-plugin-text2skin-6094765d94e4caaf0813039dff826b731f277753.tar.bz2
- added scrollable texts and "SymbolScrollUp" and "SymbolScrollDown"v0.0.1
- added "MenuText", "MenuEventTitle", "MenuEventShortText", "MenuEventDescription", "MenuEventTime", "MenuRecording", "SymbolEventRunning", "SymbolEventTimer" and "SymbolEventVPS" - implemented image caching - added english and german README - removed some workarounds, and added a patch to vdr to the tree (will be included in 1.3.10) - fixed two bugs when displaying replay symbols - implemented tabbed texts in menu
Diffstat (limited to 'loader.c')
-rw-r--r--loader.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/loader.c b/loader.c
index 3ec9052..3523bf9 100644
--- a/loader.c
+++ b/loader.c
@@ -1,5 +1,5 @@
/*
- * $Id: loader.c,v 1.6 2004/06/02 20:43:05 lordjaxom Exp $
+ * $Id: loader.c,v 1.8 2004/06/05 16:52:44 lordjaxom Exp $
*/
#include "loader.h"
@@ -34,9 +34,8 @@ void cText2SkinLoader::Load(const char *Skin) {
string transfile = (string)SkinPath() + "/" + Skin + "/" + Skin + ".trans";
if (access(transfile.c_str(), F_OK) == 0) {
translations = new cText2SkinI18n(Skin);
- if (!translations->Load(transfile)) {
+ if (!translations->Load(transfile))
DELETENULL(translations);
- }
}
cText2SkinTheme *theme = new cText2SkinTheme(Skin);
@@ -74,7 +73,7 @@ cText2SkinLoader::~cText2SkinLoader() {
}
cSkinDisplayChannel *cText2SkinLoader::DisplayChannel(bool WithInfo) {
- printf("WithInfo: %d\n", WithInfo);
+ Dprintf("WithInfo: %d\n", WithInfo);
return new cText2SkinDisplayChannel(mData, mI18n, mTheme, WithInfo);
}