summaryrefslogtreecommitdiff
path: root/src/osdxmlitem.cpp
diff options
context:
space:
mode:
authorsvntcreutz <svntcreutz@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f>2007-08-28 22:38:14 +0000
committersvntcreutz <svntcreutz@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f>2007-08-28 22:38:14 +0000
commitd229d301c540c8e9daa44eeb8dae861ebbcec07d (patch)
tree5e9db69cc6c7c89fbd841d7c8f950609d1d853e6 /src/osdxmlitem.cpp
parent538ca14f790c64bb793dd5cc29c013410c0a555e (diff)
downloadvdr-plugin-menuorg-d229d301c540c8e9daa44eeb8dae861ebbcec07d.tar.gz
vdr-plugin-menuorg-d229d301c540c8e9daa44eeb8dae861ebbcec07d.tar.bz2
many bugs fixed.. but some left
git-svn-id: file:///home/tobias/sandbox/vdr/--/vdr-pkg/vdr-pkg/menuorg/trunk@6104 cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f
Diffstat (limited to 'src/osdxmlitem.cpp')
-rw-r--r--src/osdxmlitem.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/osdxmlitem.cpp b/src/osdxmlitem.cpp
index 653f932..f42139c 100644
--- a/src/osdxmlitem.cpp
+++ b/src/osdxmlitem.cpp
@@ -20,19 +20,18 @@
*
*/
+#include <string>
#include <vdr/menu.h>
#include <libxml++/libxml++.h>
+#include "osdxmlitem.h"
+
+using namespace std;
cOsdXmlItem::cOsdXmlItem(const char* Text, const xmlpp::Element* xmlElement, eOSState State=osUnknown)
+: cOsdItem()
{
- text = NULL;
- offset = -1;
- state = State;
- selectable = true;
- fresh = true;
_xmlElement = xmlElement;
parseXmlElement();
- SetText(Text);
}
void cOsdXmlItem::parseXmlElement(void)