X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FScreens%2FPictureInPicture.py;h=e49eb36e65b788039b1f76b9fd276b7ef3233ddd;hb=3811e5e3780b79b1ddc459c971c2ddce5f021470;hp=bd340d8892f51a1c508fa58f44e465e012d0d2ad;hpb=2b557e7ef4b0518736c5162a501cd9bc743930b3;p=vuplus_dvbapp diff --git a/lib/python/Screens/PictureInPicture.py b/lib/python/Screens/PictureInPicture.py index bd340d8..e49eb36 100644 --- a/lib/python/Screens/PictureInPicture.py +++ b/lib/python/Screens/PictureInPicture.py @@ -31,20 +31,20 @@ class PictureInPicture(Screen): config.av.pip.value[1] = y config.av.pip.save() self.instance.move(ePoint(x, y)) - + def resize(self, w, h): config.av.pip.value[2] = w config.av.pip.value[3] = h config.av.pip.save() self.instance.resize(eSize(*(w, h))) self["video"].instance.resize(eSize(*(w, h))) - + def getPosition(self): return ((self.instance.position().x(), self.instance.position().y())) - + def getSize(self): return (self.instance.size().width(), self.instance.size().height()) - + def playService(self, service): if service and (service.flags & eServiceReference.isGroup): ref = getBestPlayableServiceReference(service, eServiceReference()) @@ -59,7 +59,7 @@ class PictureInPicture(Screen): else: self.pipservice = None return False - + def getCurrentService(self): return self.currentService - +