add VideoWindow Component
authorFelix Domke <tmbinc@elitedvb.net>
Sat, 8 Apr 2006 00:58:50 +0000 (00:58 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Sat, 8 Apr 2006 00:58:50 +0000 (00:58 +0000)
lib/python/Components/Makefile.am
lib/python/Components/VideoWindow.py [new file with mode: 0644]

index 8f43cae1acb656b3eaf7ab83231e64cabcb97778..efb81c37fd9048eca413d7f5d01654efb1916c8d 100644 (file)
@@ -13,6 +13,4 @@ install_PYTHON = \
        BlinkingPixmap.py Pixmap.py ConditionalWidget.py Slider.py LanguageList.py \
        PluginList.py PluginComponent.py RecordingConfig.py About.py UsageConfig.py \
        FIFOList.py ServiceEventTracker.py Input.py TimerSanityCheck.py FileList.py \
-       MultiContent.py MediaPlayer.py TunerInfo.py
-
-
+       MultiContent.py MediaPlayer.py TunerInfo.py VideoWindow.py
diff --git a/lib/python/Components/VideoWindow.py b/lib/python/Components/VideoWindow.py
new file mode 100644 (file)
index 0000000..db24798
--- /dev/null
@@ -0,0 +1,12 @@
+from GUIComponent import GUIComponent
+from enigma import eVideoWidget
+
+class VideoWindow(GUIComponent):
+       def __init__(self):
+               GUIComponent.__init__(self)
+       
+       def GUIcreate(self, parent):
+               self.instance = eVideoWidget(parent)
+
+       def GUIdelete(self):
+               self.instance = None