def MPanelEntryComponent(key, text, cell):
res = [ text ]
res.append((eListboxPythonMultiContent.TYPE_TEXT, 150, 17,450, 60, 0, RT_HALIGN_LEFT, text[0]))
if cell<5:
bpng = LoadPixmap('/usr/lib/enigma2/python/Plugins/Extensions/EasyMedia/key-' + str(cell) + ".png")
if bpng is not None:
res.append((eListboxPythonMultiContent.TYPE_PIXMAP_ALPHATEST, 0, 5, 5, 50, bpng))
png = LoadPixmap(EasyMedia.EMiconspath + key + '.png')
if png is not None:
res.append((eListboxPythonMultiContent.TYPE_PIXMAP_ALPHATEST, 25, 5, 100, 50, png))
else:
png = LoadPixmap(EasyMedia.EMiconspath + 'default.png')
if png is not None:
res.append((eListboxPythonMultiContent.TYPE_PIXMAP_ALPHATEST, 25, 5, 100, 50, png))
return res
class MPanelList(MenuList):
def __init__(self, list, selection = 0, enableWrapAround=True):
MenuList.__init__(self, list, enableWrapAround, eListboxPythonMultiContent)
self.l.setFont(0, gFont("Regular", 32))
self.l.setItemHeight(70)
self.selection = selection
def postWidgetCreate(self, instance):
MenuList.postWidgetCreate(self, instance)
self.moveToIndex(self.selection)
Is er al iemand die weet hoe ik deze waardes rood van kleur over kan nemen in mijn Skin of in OpenPli fullnight skin zodat deze dus groter is in de skin!
Normaal vul ik dit in de plugin.py van EasyMedia plugin, maar na een update is dit weer normaal.
Normale waardes zijn:300;28;60