summaryrefslogtreecommitdiff
path: root/src/osdxmlitem.cpp
diff options
context:
space:
mode:
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)