From ed40f6f85c9c07c3c1224ae20601082c0309a631 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Tue, 19 Dec 2006 02:12:57 +0000 Subject: some python import cleanups lesser swig overhead --- lib/python/Components/ChoiceList.py | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'lib/python/Components/ChoiceList.py') diff --git a/lib/python/Components/ChoiceList.py b/lib/python/Components/ChoiceList.py index a0fbde54..a2070c7d 100644 --- a/lib/python/Components/ChoiceList.py +++ b/lib/python/Components/ChoiceList.py @@ -1,20 +1,8 @@ from HTMLComponent import * from GUIComponent import * - from MenuList import MenuList - -from Tools.Directories import * - -from enigma import * - -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 +from Tools.Directories import SCOPE_SKIN_IMAGE, resolveFilename +from enigma import RT_HALIGN_LEFT, eListboxPythonMultiContent, eListbox, gFont, loadPNG def ChoiceEntryComponent(key, text): res = [ text ] -- cgit v1.2.3