git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small fix
[enigma2.git]
/
lib
/
python
/
Components
/
MultiContent.py
diff --git
a/lib/python/Components/MultiContent.py
b/lib/python/Components/MultiContent.py
index 691152b4f35d5a3ee20d7a7a07030648524ba00e..3031fb3ab605a7234fe020bc30560ad52b3d54bd 100644
(file)
--- a/
lib/python/Components/MultiContent.py
+++ b/
lib/python/Components/MultiContent.py
@@
-1,15
+1,4
@@
-RT_HALIGN_LEFT = 0
-RT_HALIGN_RIGHT = 1
-RT_HALIGN_CENTER = 2
-RT_HALIGN_BLOCK = 4
-
-RT_VALIGN_TOP = 0
-RT_VALIGN_CENTER = 8
-RT_VALIGN_BOTTOM = 16
-
-RT_WRAP = 32
-
-from enigma import eListboxPythonMultiContent
+from enigma import eListboxPythonMultiContent, RT_HALIGN_LEFT, RT_VALIGN_TOP
def MultiContentEntryText(pos = (0, 0), size = (0, 0), font = 0, flags = RT_HALIGN_LEFT | RT_VALIGN_TOP, text = "", color = None):
add = ()
def MultiContentEntryText(pos = (0, 0), size = (0, 0), font = 0, flags = RT_HALIGN_LEFT | RT_VALIGN_TOP, text = "", color = None):
add = ()
@@
-19,3
+8,8
@@
def MultiContentEntryText(pos = (0, 0), size = (0, 0), font = 0, flags = RT_HALI
def MultiContentEntryPixmap(pos = (0, 0), size = (0, 0), png = None):
return (eListboxPythonMultiContent.TYPE_PIXMAP, pos[0], pos[1], size[0], size[1], png)
def MultiContentEntryPixmap(pos = (0, 0), size = (0, 0), png = None):
return (eListboxPythonMultiContent.TYPE_PIXMAP, pos[0], pos[1], size[0], size[1], png)
+
+def MultiContentEntryPixmapAlphaTest(pos = (0, 0), size = (0, 0), png = None):
+ return (eListboxPythonMultiContent.TYPE_PIXMAP_ALPHATEST, pos[0], pos[1], size[0], size[1], png)
+
+
\ No newline at end of file