git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'bug_387_small_spinner_fix' into experimental
[enigma2.git]
/
lib
/
python
/
Components
/
Renderer
/
Pig.py
diff --git
a/lib/python/Components/Renderer/Pig.py
b/lib/python/Components/Renderer/Pig.py
index 99488e4a242c48b80f443c1d712e285c26014b86..64ed6778b6c0b02393f988dc8bf8edb0bc8b63b5 100644
(file)
--- a/
lib/python/Components/Renderer/Pig.py
+++ b/
lib/python/Components/Renderer/Pig.py
@@
-2,7
+2,7
@@
## P(icture)i(n)g(raphics) renderer
##
from Renderer import Renderer
## P(icture)i(n)g(raphics) renderer
##
from Renderer import Renderer
-from enigma import eVideoWidget, eSize, ePoint
+from enigma import eVideoWidget, eSize, ePoint
, getDesktop
class Pig(Renderer):
def __init__(self):
class Pig(Renderer):
def __init__(self):
@@
-12,19
+12,17
@@
class Pig(Renderer):
GUI_WIDGET = eVideoWidget
def postWidgetCreate(self, instance):
GUI_WIDGET = eVideoWidget
def postWidgetCreate(self, instance):
+ desk = getDesktop(0)
instance.setDecoder(0)
instance.setDecoder(0)
+ instance.setFBSize(desk.size())
- def applySkin(self, desktop):
- ret = Renderer.applySkin(self, desktop)
+ def applySkin(self, desktop
, parent
):
+ ret = Renderer.applySkin(self, desktop
, parent
)
if ret:
if ret:
- self.Position = self.instance.position()
+ self.Position = self.instance.position()
# fixme, scaling!
self.Size = self.instance.size()
return ret
self.Size = self.instance.size()
return ret
- def preWidgetRemove(self, instance):
- instance.resize(eSize(720,576))
- instance.move(ePoint(0,0))
-
def onShow(self):
if self.instance:
if self.Size:
def onShow(self):
if self.instance:
if self.Size: