Und noch die Schrift in der 5-Tage-Übersicht... Die Ausrichtung ist an KravenVB angepasst aber unabhängig davon
class PicViewx(Screen):
def __init__(self, session, filelist, index, startslide, plaats=None):
self.session = session
self.bgcolor = config.plugins.foreca.bgcolor.value
self.textcolor = config.plugins.foreca.textcolor.value
space = config.plugins.foreca.framesize.value
space = space + 5
self.skin = "<screen name=\"PicView\" title=\"PicView\" position=\"0,0\" size=\"" + str(size_w) + "," + str(size_h) + "\" > \
<!-- <eLabel position=\"0,0\" zPosition=\"-1\" size=\"" + str(size_w) + "," + str(size_h) + "\" backgroundColor=\"" + self.bgcolor + "\" /> --> \
<widget name=\"pic\" position=\"" + str(space) + ", 50" + "\" size=\"" + str(size_w - (space * 2)) + "," + str(size_h - (space * 2)) + "\" zPosition=\"1\" alphatest=\"blend\" /> \
<widget name=\"city\" position=\"" + str(space) + ", 68" + "\" font=\"Regular2;24\" size=\"" + str(size_w) + "," + str(size_h) + "\" backgroundColor=\"" + self.bgcolor + "\" foregroundColor=\"" + self.textcolor + "\" zPosition=\"10\" transparent=\"1\" /> \
</screen>"