add Console font
[enigma2.git] / data / skin.xml
index 6c9861adbf7c90599c33695246fbcb9f143a57bb..dd6cca9788a5901157380e8c917f3445041d7061 100644 (file)
@@ -1,5 +1,8 @@
 <skin>
        <!-- Screwed Stone II skin (skin.xml) /Nemesis -->
 <skin>
        <!-- Screwed Stone II skin (skin.xml) /Nemesis -->
+       <output id="0">
+               <resolution xres="720" yres="576" bpp="32" />
+       </output>
        <!-- Colors (#AARRGGBB) -->
        <colors>
                <color name="white"     value="#ffffff" />
        <!-- Colors (#AARRGGBB) -->
        <colors>
                <color name="white"     value="#ffffff" />
@@ -16,7 +19,7 @@
                <color name="background" value="#25062748" />
                <color name="foreground" value="#ffffff" />
        </colors>
                <color name="background" value="#25062748" />
                <color name="foreground" value="#ffffff" />
        </colors>
-       <!-- Main screen colors (id=0 for Menu's, id=1 for LCD) -->
+       <!-- Main screen colors (id=0 for Framebuffer, id=1 for LCD) -->
        <windowstyle type="skinned" id="0">
                <title offset="33,14" font="Regular;20" />
                <color name="Background" color="#25062748" />
        <windowstyle type="skinned" id="0">
                <title offset="33,14" font="Regular;20" />
                <color name="Background" color="#25062748" />
@@ -48,6 +51,7 @@
                <font filename="nmsbd.ttf" name="Regular" scale="90" />
                <font filename="lcd.ttf" name="LCD" scale="100" />
                <font filename="ae_AlMateen.ttf" name="Replacement" scale="90" replacement="1" />
                <font filename="nmsbd.ttf" name="Regular" scale="90" />
                <font filename="lcd.ttf" name="LCD" scale="100" />
                <font filename="ae_AlMateen.ttf" name="Replacement" scale="90" replacement="1" />
+               <font filename="tuxtxt.ttf" name="Console" scale="100" />
        </fonts>
        <!-- Main infobar -->
        <screen name="InfoBar" flags="wfNoBorder" position="0,380" size="720,160" title="InfoBar" backgroundColor="transparent" >
        </fonts>
        <!-- Main infobar -->
        <screen name="InfoBar" flags="wfNoBorder" position="0,380" size="720,160" title="InfoBar" backgroundColor="transparent" >
                        <convert type="ClockToText">Default</convert>
                </widget>
                <!-- tuners in use? -->
                        <convert type="ClockToText">Default</convert>
                </widget>
                <!-- tuners in use? -->
-               <widget name="NimA_Active" position="129,6" zPosition="1" size="9,9" pixmap="skin_default/nim_a.png" alphatest="on" />
-               <widget name="NimB_Active" position="129,20" zPosition="1" size="9,9" pixmap="skin_default/nim_b.png" alphatest="on" />
-               <widget name="NimA" position="142,6" zPosition="1" size="8,9" pixmap="skin_default/nim_active.png" alphatest="on" />
-               <widget name="NimB" position="142,20" zPosition="1" size="8,9" pixmap="skin_default/nim_active.png" alphatest="on" />           
+               <widget source="session.FrontendInfo" render="Pixmap" position="129,6" zPosition="1" size="9,9" pixmap="skin_default/nim_a.png" alphatest="on" >
+                       <convert type="FrontendInfo">NUMBER</convert>
+                       <convert type="ValueRange">0,0</convert>
+                       <convert type="ConditionalShowHide" />
+               </widget>
+               <widget source="session.FrontendInfo" render="Pixmap" position="129,20" zPosition="1" size="9,9" pixmap="skin_default/nim_b.png" alphatest="on" >
+                       <convert type="FrontendInfo">NUMBER</convert>
+                       <convert type="ValueRange">1,1</convert>
+                       <convert type="ConditionalShowHide" />
+               </widget>
+               <widget source="session.TunerInfo" render="Pixmap" position="142,6" zPosition="1" size="8,9" pixmap="skin_default/nim_active.png" alphatest="on" >
+                       <convert type="TunerInfo">TunerUseMask</convert>
+                       <convert type="ValueBitTest">1</convert>
+                       <convert type="ConditionalShowHide" />
+               </widget>
+               <widget source="session.TunerInfo" render="Pixmap" position="142,20" zPosition="1" size="8,9" pixmap="skin_default/nim_active.png" alphatest="on" >
+                       <convert type="TunerInfo">TunerUseMask</convert>
+                       <convert type="ValueBitTest">2</convert>
+                       <convert type="ConditionalShowHide" />
+               </widget>
                <!-- Crypt icon (encrypted service?) -->
                <ePixmap position="563,48" zPosition="0" size="107,15" pixmap="skin_default/icons_off.png" alphatest="off"/>
                <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icon_crypt.png" position="563,48" zPosition="1" size="12,16" alphatest="on" >
                <!-- Crypt icon (encrypted service?) -->
                <ePixmap position="563,48" zPosition="0" size="107,15" pixmap="skin_default/icons_off.png" alphatest="off"/>
                <widget source="session.CurrentService" render="Pixmap" pixmap="skin_default/icon_crypt.png" position="563,48" zPosition="1" size="12,16" alphatest="on" >
                        <convert type="EventTime">Progress</convert>
                </widget>
                <!-- Blinking pixmap (recording in progress?) -->
                        <convert type="EventTime">Progress</convert>
                </widget>
                <!-- Blinking pixmap (recording in progress?) -->
-               <widget name="BlinkingPoint" pixmap="skin_default/icon_rec.png" position="561,21" zPosition="2" size="34,21" alphatest="off" />
+               <widget source="session.RecordState" render="Pixmap" pixmap="skin_default/icon_rec.png" position="561,21" zPosition="2" size="34,21" alphatest="off">
+                       <convert type="ConditionalShowHide">Blink</convert>
+               </widget>
                <!-- Event (now) -->
                <ePixmap pixmap="skin_default/icon_event.png" position="182,78" zPosition="1" size="15,10" alphatest="on" />
                <widget source="session.Event_Now" render="Label" position="205,73" size="60,24" font="Regular;20" backgroundColor="#34406f" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1" >
                <!-- Event (now) -->
                <ePixmap pixmap="skin_default/icon_event.png" position="182,78" zPosition="1" size="15,10" alphatest="on" />
                <widget source="session.Event_Now" render="Label" position="205,73" size="60,24" font="Regular;20" backgroundColor="#34406f" shadowColor="#1d354c" shadowOffset="-1,-1" transparent="1" >