diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-02-24 22:31:00 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-02-24 22:31:00 +0000 |
| commit | 2e7756545fac96085253c4f669d12e5665cecae3 (patch) | |
| tree | bb8afb2443c563827ce1ab5327b05de0702c9f68 /lib/python/Components/MultiContent.py | |
| parent | f995ffff71d819416a89c1bec3ceb69d121daa4e (diff) | |
| download | enigma2-2e7756545fac96085253c4f669d12e5665cecae3.tar.gz enigma2-2e7756545fac96085253c4f669d12e5665cecae3.zip | |
turn magic into python
Diffstat (limited to 'lib/python/Components/MultiContent.py')
| -rw-r--r-- | lib/python/Components/MultiContent.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/python/Components/MultiContent.py b/lib/python/Components/MultiContent.py new file mode 100644 index 00000000..a7283419 --- /dev/null +++ b/lib/python/Components/MultiContent.py @@ -0,0 +1,15 @@ +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 + +def MultiContentEntryText(pos = (0, 0), size = (0, 0), font = 0, flags = 0, text = "", private = ()): + return (eListboxPythonMultiContent.TYPE_TEXT, pos[0], pos[1], size[0], size[1], font, flags, text) + private |
