enigma2
2.6
|
Classes | |
class | additionalWidget |
class | ComponentSizes |
class | Layouts |
class | SkinError |
class | TemplatedColors |
class | TemplatedListFonts |
class | WidgetGroup |
Functions | |
def | dump (x, i=0) |
def | getSkinYRes (dom) |
def | loadSkin (name, scope=SCOPE_SKIN) |
def | parsePercent (val, base) |
def | evalPos (pos, wsize, ssize, scale) |
def | getParentSize (desktop, guiObject) |
def | translateVariable (value) |
def | parsePosition (value, scale, desktop=None, guiObject=None) |
def | parseSize (value, scale, desktop=None, guiObject=None) |
def | parseFont (str, scale) |
def | parseColor (str) |
def | parseValue (str) |
def | collectAttributes (skinAttributes, node, skin_path_prefix=None, ignore=[]) |
def | loadPixmap (path, desktop, size=eSize()) |
def | applySingleAttribute (guiObject, desktop, attrib, value, scale=((1, 1),(1, 1))) |
def | applyAllAttributes (guiObject, desktop, attributes, scale, skipZPosition=False) |
def | loadSingleSkinData (desktop, skin, path_prefix) |
def | loadSkinData (desktop) |
def | lookupScreen (name, style_id) |
def | readSkin (screen, skin, names, desktop) |
def | parseWidgets (name, node, screen, skin_path_prefix, visited_components, group=None) |
def | parseWidget (name, widget, screen, skin_path_prefix, visited_components, group) |
Variables | |
bool | HAS_SKIN_USER_DISPLAY = True |
colorNames = dict() | |
skinGlobals = dict() | |
list | dom_skins = [ ] |
value | |
def | yres = getSkinYRes(dom_skins[-1][1]) |
string | skin_default_specific = 'skin_default_%s.xml' %yres |
layouts = Layouts() | |
componentSizes = ComponentSizes() | |
def skin.applyAllAttributes | ( | guiObject, | |
desktop, | |||
attributes, | |||
scale, | |||
skipZPosition = False |
|||
) |
def skin.applySingleAttribute | ( | guiObject, | |
desktop, | |||
attrib, | |||
value, | |||
scale = ((1,1),(1,1)) |
|||
) |
def skin.collectAttributes | ( | skinAttributes, | |
node, | |||
skin_path_prefix = None , |
|||
ignore = [] |
|||
) |
def skin.dump | ( | x, | |
i = 0 |
|||
) |
def skin.evalPos | ( | pos, | |
wsize, | |||
ssize, | |||
scale | |||
) |
def skin.getParentSize | ( | desktop, | |
guiObject | |||
) |
def skin.getSkinYRes | ( | dom | ) |
def skin.loadPixmap | ( | path, | |
desktop, | |||
size = eSize() |
|||
) |
def skin.loadSingleSkinData | ( | desktop, | |
skin, | |||
path_prefix | |||
) |
loads skin data like colors, windowstyle etc.
def skin.loadSkin | ( | name, | |
scope = SCOPE_SKIN |
|||
) |
def skin.loadSkinData | ( | desktop | ) |
def skin.lookupScreen | ( | name, | |
style_id | |||
) |
def skin.parseColor | ( | str | ) |
def skin.parseFont | ( | str, | |
scale | |||
) |
def skin.parsePercent | ( | val, | |
base | |||
) |
def skin.parsePosition | ( | value, | |
scale, | |||
desktop = None , |
|||
guiObject = None |
|||
) |
def skin.parseSize | ( | value, | |
scale, | |||
desktop = None , |
|||
guiObject = None |
|||
) |
def skin.parseValue | ( | str | ) |
def skin.parseWidget | ( | name, | |
widget, | |||
screen, | |||
skin_path_prefix, | |||
visited_components, | |||
group | |||
) |
def skin.parseWidgets | ( | name, | |
node, | |||
screen, | |||
skin_path_prefix, | |||
visited_components, | |||
group = None |
|||
) |
def skin.readSkin | ( | screen, | |
skin, | |||
names, | |||
desktop | |||
) |
def skin.translateVariable | ( | value | ) |
skin.colorNames = dict() |
skin.componentSizes = ComponentSizes() |
list skin.dom_skins = [ ] |
bool skin.HAS_SKIN_USER_DISPLAY = True |
skin.layouts = Layouts() |
string skin.skin_default_specific = 'skin_default_%s.xml' %yres |
skin.skinGlobals = dict() |
skin.value |
def skin.yres = getSkinYRes(dom_skins[-1][1]) |