summaryrefslogtreecommitdiff
path: root/xml/object.c
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-12-28 02:03:00 +0000
committerlordjaxom <lordjaxom>2004-12-28 02:03:00 +0000
commitf5f6a0feabe56d37c7228aebbec83f93d03c6bc9 (patch)
treeb8ce755aae8c3975400852504ca5388c3753fd46 /xml/object.c
parent839a89afdf54d0f6cc319af7d5d38be62ff424a9 (diff)
downloadvdr-plugin-text2skin-f5f6a0feabe56d37c7228aebbec83f93d03c6bc9.tar.gz
vdr-plugin-text2skin-f5f6a0feabe56d37c7228aebbec83f93d03c6bc9.tar.bz2
- first try to enable marquees and blinks in menu items
Diffstat (limited to 'xml/object.c')
-rw-r--r--xml/object.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/xml/object.c b/xml/object.c
index 1b8ac04..a9fb044 100644
--- a/xml/object.c
+++ b/xml/object.c
@@ -1,5 +1,5 @@
/*
- * $Id: object.c,v 1.3 2004/12/28 01:24:35 lordjaxom Exp $
+ * $Id: object.c,v 1.4 2004/12/28 02:03:00 lordjaxom Exp $
*/
#include "xml/object.h"
@@ -111,7 +111,16 @@ bool cxObject::ParseFontFace(const std::string &Text)
mFontSize = size;
return true;
}
-
+
+void cxObject::SetListIndex(uint Index, int Tab)
+{
+ mIndex = mDisplay->Objects() + (Index * cSkinDisplayMenu::MaxTabs + Tab);
+ mText.SetListIndex(Index, Tab);
+ mPath.SetListIndex(Index, Tab);
+ if (mCondition != NULL)
+ mCondition->SetListIndex(Index, Tab);
+}
+
const std::string &cxObject::TypeName(void) const
{
return ObjectNames[mType];