diff options
author | lordjaxom <lordjaxom> | 2005-01-02 19:58:30 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2005-01-02 19:58:30 +0000 |
commit | fa9208788e74c6931bf7bd47186f727028830da1 (patch) | |
tree | 9eaaa61c19f62c74f92d30670d8c5fa3fa71c55b | |
parent | 46ba77217dfda28268497602a0a3f9892bec96fe (diff) | |
download | vdr-plugin-text2skin-fa9208788e74c6931bf7bd47186f727028830da1.tar.gz vdr-plugin-text2skin-fa9208788e74c6931bf7bd47186f727028830da1.tar.bz2 |
- changed some macros in preparation for 1.3.18
- moved translation to cxSkin
-rw-r--r-- | render.c | 19 |
1 files changed, 4 insertions, 15 deletions
@@ -1,5 +1,5 @@ /* - * $Id: render.c,v 1.12 2005/01/01 23:44:36 lordjaxom Exp $ + * $Id: render.c,v 1.13 2005/01/02 19:58:30 lordjaxom Exp $ */ #include "render.h" @@ -141,8 +141,8 @@ void cText2SkinRender::Update(void) Dbench(flush); mScreen->Flush(); - Dprintf("flush only took %ld ms\n", Ddiff(flush)); - Dprintf("complete flush took %ld ms\n", Ddiff(update)); + Dprintf("flush only took %llu ms\n", Ddiff(flush)); + Dprintf("complete flush took %llu ms\n", Ddiff(update)); } void cText2SkinRender::DrawObject(const cxObject *Object) @@ -203,6 +203,7 @@ void cText2SkinRender::DrawObject(const cxObject *Object) break; case cxObject::list: { + Dprintf("list\n"); const cxObject *item = Object->GetObject(0); if (item && item->Type() == cxObject::item) { txSize areasize = Object->Size(); @@ -510,18 +511,6 @@ std::string cText2SkinRender::ImagePath(const std::string &Filename) return cxFunction::False; } -/*std::string cText2SkinRender::Translate(const std::string &Text) { - if (mRender != NULL) { - string result; - if (mRender->mI18n != NULL) - result = mRender->mI18n->Translate(Text); - else - result = Text; - return result; - } - return Text; -}*/ - cxType cText2SkinRender::GetToken(const txToken &Token) { if (mRender != NULL) { |