diff options
| author | louis <louis.braun@gmx.de> | 2015-03-31 07:14:18 +0200 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2015-03-31 07:14:18 +0200 |
| commit | a0f86bdc0d4e61338ede7ebd53da56563f2998bf (patch) | |
| tree | 44c4399603044513e40e89bb98e6ad0ebedfde45 /libtemplate/templateview.c | |
| parent | 3d43200af00372dd54abe2b86b00ca15a4fc6d82 (diff) | |
| download | vdr-plugin-skindesigner-a0f86bdc0d4e61338ede7ebd53da56563f2998bf.tar.gz vdr-plugin-skindesigner-a0f86bdc0d4e61338ede7ebd53da56563f2998bf.tar.bz2 | |
translate drawtextvertical
Diffstat (limited to 'libtemplate/templateview.c')
| -rw-r--r-- | libtemplate/templateview.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libtemplate/templateview.c b/libtemplate/templateview.c index a111d70..d475b2d 100644 --- a/libtemplate/templateview.c +++ b/libtemplate/templateview.c @@ -313,7 +313,7 @@ void cTemplateView::Translate(void) { pix->InitIterator(); cTemplateFunction *func = NULL; while(func = pix->GetNextFunction()) { - if (func->GetType() == ftDrawText || func->GetType() == ftDrawTextBox) { + if (func->GetType() == ftDrawText || func->GetType() == ftDrawTextBox || func->GetType() == ftDrawTextVertical) { string text = func->GetParameter(ptText); string translation; bool translated = globals->Translate(text, translation); @@ -326,7 +326,7 @@ void cTemplateView::Translate(void) { funcsLoop->InitIterator(); cTemplateFunction *loopFunc = NULL; while(loopFunc = funcsLoop->GetNextFunction()) { - if (loopFunc->GetType() == ftDrawText || loopFunc->GetType() == ftDrawTextBox) { + if (loopFunc->GetType() == ftDrawText || loopFunc->GetType() == ftDrawTextBox || func->GetType() == ftDrawTextVertical) { string text = loopFunc->GetParameter(ptText); string translation; bool translated = globals->Translate(text, translation); @@ -349,7 +349,7 @@ void cTemplateView::Translate(void) { pix->InitIterator(); cTemplateFunction *func = NULL; while(func = pix->GetNextFunction()) { - if (func->GetType() == ftDrawText || func->GetType() == ftDrawTextBox) { + if (func->GetType() == ftDrawText || func->GetType() == ftDrawTextBox || func->GetType() == ftDrawTextVertical) { string text = func->GetParameter(ptText); string translation; bool translated = globals->Translate(text, translation); @@ -365,7 +365,7 @@ void cTemplateView::Translate(void) { pix->InitIterator(); cTemplateFunction *func = NULL; while(func = pix->GetNextFunction()) { - if (func->GetType() == ftDrawText || func->GetType() == ftDrawTextBox) { + if (func->GetType() == ftDrawText || func->GetType() == ftDrawTextBox || func->GetType() == ftDrawTextVertical) { string text = func->GetParameter(ptText); string translation; bool translated = globals->Translate(text, translation); @@ -383,7 +383,7 @@ void cTemplateView::Translate(void) { pix->InitIterator(); cTemplateFunction *func = NULL; while(func = pix->GetNextFunction()) { - if (func->GetType() == ftDrawText || func->GetType() == ftDrawTextBox) { + if (func->GetType() == ftDrawText || func->GetType() == ftDrawTextBox || func->GetType() == ftDrawTextVertical) { string text = func->GetParameter(ptText); string translation; bool translated = globals->Translate(text, translation); @@ -409,7 +409,7 @@ void cTemplateView::Translate(void) { viewTab->InitIterator(); cTemplateFunction *func = NULL; while(func = viewTab->GetNextFunction()) { - if (func->GetType() == ftDrawText || func->GetType() == ftDrawTextBox) { + if (func->GetType() == ftDrawText || func->GetType() == ftDrawTextBox || func->GetType() == ftDrawTextVertical) { string text = func->GetParameter(ptText); string translation; translated = globals->Translate(text, translation); @@ -422,7 +422,7 @@ void cTemplateView::Translate(void) { funcsLoop->InitIterator(); cTemplateFunction *loopFunc = NULL; while(loopFunc = funcsLoop->GetNextFunction()) { - if (loopFunc->GetType() == ftDrawText || loopFunc->GetType() == ftDrawTextBox) { + if (loopFunc->GetType() == ftDrawText || loopFunc->GetType() == ftDrawTextBox || func->GetType() == ftDrawTextVertical) { string text = loopFunc->GetParameter(ptText); string translation; bool translated = globals->Translate(text, translation); @@ -445,7 +445,7 @@ void cTemplateView::Translate(void) { pix->InitIterator(); cTemplateFunction *func = NULL; while(func = pix->GetNextFunction()) { - if (func->GetType() == ftDrawText || func->GetType() == ftDrawTextBox) { + if (func->GetType() == ftDrawText || func->GetType() == ftDrawTextBox || func->GetType() == ftDrawTextVertical) { string text = func->GetParameter(ptText); string translation; bool translated = globals->Translate(text, translation); @@ -458,7 +458,7 @@ void cTemplateView::Translate(void) { funcsLoop->InitIterator(); cTemplateFunction *loopFunc = NULL; while(loopFunc = funcsLoop->GetNextFunction()) { - if (loopFunc->GetType() == ftDrawText || loopFunc->GetType() == ftDrawTextBox) { + if (loopFunc->GetType() == ftDrawText || loopFunc->GetType() == ftDrawTextBox || func->GetType() == ftDrawTextVertical) { string text = loopFunc->GetParameter(ptText); string translation; bool translated = globals->Translate(text, translation); |
