fix window title a bit
authorFelix Domke <tmbinc@elitedvb.net>
Tue, 15 Nov 2005 04:24:27 +0000 (04:24 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Tue, 15 Nov 2005 04:24:27 +0000 (04:24 +0000)
data/skin.xml
skin.py

index d85d1735add90ab3d6b6da85c2e32326f202288d..991a137e9f17fe74f0a681c3ad5d137aac330d45 100644 (file)
@@ -19,6 +19,9 @@
                        <color name="ListboxSelectedForeground" color="#ffffff" />
                        <color name="ListboxMarkedBackground" color="#ff0000" />
                        <color name="ListboxMarkedForeground" color="#ffffff" />
+                       
+                       <color name="WindowTitleForeground" color="#ffffff" />
+                       <color name="WindowTitleBackground" color="#33294a6b" />
                        <borderset name="bsWindow">
                                <pixmap pos="bpTopLeft"     filename="/usr/share/enigma2/b_w_tl.png" />
                                <pixmap pos="bpTop"         filename="/usr/share/enigma2/b_w_t.png"  />
                </screen>
 
                <screen name="MoviePlayer" flags="wfNoBorder" position="0,380" size="720,148" title="InfoBar">
-                       <ePixmap position="0,0" size="720,148" pixmap="/usr/share/enigma2/info-bg.png" />
+<!--                   <ePixmap position="0,0" size="720,148" pixmap="/usr/share/enigma2/info-bg.png" />
+-->
                        <widget name="ServiceName" position="69,25" size="427,26" valign="center" font="Arial;22" backgroundColor="#101258" />
                        <widget name="CurrentTime" position="575,10" size="90,30" backgroundColor="dark" font="Arial;19" />
                        <eLabel position="70,0" size="300,30" text=".oO skin Oo." font="Arial;20" />
diff --git a/skin.py b/skin.py
index f31d637bb8a15ff43b31ccb54c2669f893f502bf..b8ec2124c69a3e4ccc2c313420c6ea0ec0c50f3e 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -154,8 +154,8 @@ def loadSkin(desktop):
        for windowstyle in elementsWithTag(skin.childNodes, "windowstyle"):
                style = eWindowStyleSkinned()
                
-               style.setTitleFont(gFont("Arial", 13));
-               style.setTitleOffset(eSize(3, 3));
+               style.setTitleFont(gFont("Arial", 20));
+               style.setTitleOffset(eSize(20, 5));
                
                for borderset in elementsWithTag(windowstyle.childNodes, "borderset"):
                        bsName = str(borderset.getAttribute("name"))