diff options
author | svntcreutz <svntcreutz@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f> | 2007-08-28 23:11:26 +0000 |
---|---|---|
committer | svntcreutz <svntcreutz@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f> | 2007-08-28 23:11:26 +0000 |
commit | bf8c71c5cf4efc261b3fb39875c85c4d07bb316b (patch) | |
tree | c831d746b4710894b6ab39201318b3379ef34ba9 /src/menuitemsetup.cpp | |
parent | 97e0594e9621ca3f2acab81378e5ab691e12783b (diff) | |
download | vdr-plugin-menuorg-bf8c71c5cf4efc261b3fb39875c85c4d07bb316b.tar.gz vdr-plugin-menuorg-bf8c71c5cf4efc261b3fb39875c85c4d07bb316b.tar.bz2 |
now get the item and can do thinks with it in cMenuItemSetup
git-svn-id: file:///home/tobias/sandbox/vdr/--/vdr-pkg/vdr-pkg/menuorg/trunk@6106 cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f
Diffstat (limited to 'src/menuitemsetup.cpp')
-rw-r--r-- | src/menuitemsetup.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/menuitemsetup.cpp b/src/menuitemsetup.cpp index 7b485ba..3fac29b 100644 --- a/src/menuitemsetup.cpp +++ b/src/menuitemsetup.cpp @@ -32,6 +32,11 @@ cMenuItemSetup::cMenuItemSetup(cOsdXmlItem* osdXmlItem) itemTypeText[2] = "Submenu"; itemTypeText[3] = "Command"; + _osdXmlItem = osdXmlItem; + _newItemType = _osdXmlItem->getItemType(); + + esyslog("menuorg: _newItemType=%d", _newItemType); + Add(new cMenuEditStraItem(tr("Item Type"), (int*) &_newItemType, 4, itemTypeText)); switch(_newItemType) |