diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-08-09 00:24:38 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-08-09 00:24:38 +0000 |
| commit | ab2ae6bd08a0ef13fc7462d51fc3a9ab15509b17 (patch) | |
| tree | b94d5d3a239ea2da3c22d021126eb9ee21e3ddd7 /skin.py | |
| parent | 3ca2b78837beec96423c733abafaf6ef2a720066 (diff) | |
| download | enigma2-ab2ae6bd08a0ef13fc7462d51fc3a9ab15509b17.tar.gz enigma2-ab2ae6bd08a0ef13fc7462d51fc3a9ab15509b17.zip | |
add possibility to have multiple windowstyles. LCD can have different colors now.
Diffstat (limited to 'skin.py')
| -rw-r--r-- | skin.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -228,6 +228,7 @@ def loadSingleSkinData(desktop, dom_skin, path_prefix): for windowstyle in elementsWithTag(skin.childNodes, "windowstyle"): style = eWindowStyleSkinned() + id = int(windowstyle.getAttribute("id") or "0") # defaults font = gFont("Regular", 20) @@ -263,7 +264,7 @@ def loadSingleSkinData(desktop, dom_skin, path_prefix): x = eWindowStyleManagerPtr() eWindowStyleManager.getInstance(x) - x.setStyle(style) + x.setStyle(id, style) def loadSkinData(desktop): skins = dom_skins[:] |
