"off": 0,
"blend": 2,
}[value])
+ elif attrib == "scale":
+ guiObject.setScale(1)
elif attrib == "orientation": # used by eSlider
try:
guiObject.setOrientation(*
else:
shadowColor = gRGB(0)
shadowOffset = parsePosition(get_attr("shadowOffset"), scale)
- face = eval("eSubtitleWidget.%s" % get_attr("name"))
+ face = eSubtitleWidget.__dict__[get_attr("name")]
eSubtitleWidget.setFontStyle(face, font, haveColor, foregroundColor, shadowColor, shadowOffset)
for windowstyle in skin.findall("windowstyle"):