projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27a9db5
)
allow skin elements to use alphablend. *BE CAREFUL:* This is a major performance...
author
Felix Domke
<tmbinc@elitedvb.net>
Thu, 13 Dec 2007 01:09:02 +0000
(
01:09
+0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Thu, 13 Dec 2007 01:09:02 +0000
(
01:09
+0000)
skin.py
patch
|
blob
|
history
diff --git
a/skin.py
b/skin.py
index
ed48546
..
8de161d
100644
(file)
--- a/
skin.py
+++ b/
skin.py
@@
-130,8
+130,9
@@
def applySingleAttribute(guiObject, desktop, attrib, value):
# guiObject.setPixmapFromFile(value)
elif attrib == "alphatest": # used by ePixmap
guiObject.setAlphatest(
- { "on": True,
- "off": False
+ { "on": 1,
+ "off": 0,
+ "blend": 2,
}[value])
elif attrib == "orientation": # used by eSlider
try: