2 ## P(icture)i(n)g(raphics) renderer
4 from Renderer import Renderer
5 from enigma import eVideoWidget, eSize, ePoint, getDesktop
9 Renderer.__init__(self)
10 self.Position = self.Size = None
12 GUI_WIDGET = eVideoWidget
14 def postWidgetCreate(self, instance):
16 instance.setDecoder(0)
17 instance.setFBSize(desk.size())
19 def applySkin(self, desktop, parent):
20 ret = Renderer.applySkin(self, desktop, parent)
22 self.Position = self.instance.position() # fixme, scaling!
23 self.Size = self.instance.size()
29 self.instance.resize(self.Size)
31 self.instance.move(self.Position)
35 self.preWidgetRemove(self.instance)