initial commit of my widget system. it is quite alpha, so please dont relay on the...
[enigma2-plugins.git] / widgets / src / widgets / serviceinfo / widget_skin.xml
1 <skin>
2                 <desktopwidget name="serviceinfo">
3                         <eLabel text=" " font="Regular;18" position="0,0" size="200,150" halign="center" zPosition="1" />
4                         <!-- resolution -->
5                         <widget source="session.CurrentService" render="Label" font="Regular;18" position="0,0" size="55,20" halign="right" zPosition="2">
6                                 <convert type="ServiceInfo">VideoWidth</convert>
7                         </widget>
8                         <eLabel text="x" font="Regular;18" position="55,0" size="15,20" halign="center" zPosition="2"/>
9                         <widget source="session.CurrentService" render="Label" font="Regular;18" position="70,0" size="55,20" halign="left" zPosition="2">
10                                 <convert type="ServiceInfo">VideoHeight</convert>
11                         </widget>
12                         
13                         <!-- frontend type -->
14                         <widget source="session.FrontendInfo" render="FixedLabel" text="DVB-S" position="135,0" size="60,20" font="Regular;18" halign="center" zPosition="2">
15                                 <convert type="FrontendInfo">TYPE</convert>
16                                 <convert type="ValueRange">0,0</convert>
17                                 <convert type="ConditionalShowHide" />
18                         </widget>
19                         <widget source="session.FrontendInfo" render="FixedLabel" text="DVB-C" position="135,0" size="60,20" font="Regular;18" halign="center" zPosition="2">
20                                 <convert type="FrontendInfo">TYPE</convert>
21                                 <convert type="ValueRange">1,1</convert>
22                                 <convert type="ConditionalShowHide" />
23                         </widget>
24                         <widget source="session.FrontendInfo" render="FixedLabel" text="DVB-T" position="135,0" size="60,20" font="Regular;18" halign="center" zPosition="2">
25                                 <convert type="FrontendInfo">TYPE</convert>
26                                 <convert type="ValueRange">2,2</convert>
27                                 <convert type="ConditionalShowHide" />
28                         </widget>
29                         
30                         <!-- used nims  -->
31                         <eLabel text="A" position="0,20" zPosition="1" size="20,20" font="Regular;18" halign="center" foregroundColor="#333333" backgroundColor="black" transparent="1" />
32                         <eLabel text="B" position="20,20" zPosition="1" size="20,20" font="Regular;18" halign="center" foregroundColor="#333333" backgroundColor="black" transparent="1" />
33                         <eLabel text="C" position="40,20" zPosition="1" size="20,20" font="Regular;18" halign="center" foregroundColor="#333333" backgroundColor="black" transparent="1" />
34                         <eLabel text="D" position="60,20" zPosition="1" size="20,20" font="Regular;18" halign="center" foregroundColor="#333333" backgroundColor="black" transparent="1" />
35                         
36                         <widget source="session.TunerInfo" render="FixedLabel" text="A" position="0,20" zPosition="2" size="20,20" font="Regular;18" halign="center" foregroundColor="yellow" backgroundColor="black" transparent="1">
37                                 <convert type="TunerInfo">TunerUseMask</convert>
38                                 <convert type="ValueBitTest">1</convert>
39                                 <convert type="ConditionalShowHide" />
40                         </widget>
41                         <widget source="session.TunerInfo" render="FixedLabel" text="B" position="20,20" zPosition="2" size="20,20" font="Regular;18" halign="center" foregroundColor="yellow" backgroundColor="black" transparent="1">
42                                 <convert type="TunerInfo">TunerUseMask</convert>
43                                 <convert type="ValueBitTest">2</convert>
44                                 <convert type="ConditionalShowHide" />
45                         </widget>
46                         <widget source="session.TunerInfo" render="FixedLabel" text="C" position="40,20" zPosition="2" size="20,20" font="Regular;18" halign="center" foregroundColor="yellow" backgroundColor="black" transparent="1">
47                                 <convert type="TunerInfo">TunerUseMask</convert>
48                                 <convert type="ValueBitTest">4</convert>
49                                 <convert type="ConditionalShowHide" />
50                         </widget>
51                         <widget source="session.TunerInfo" render="FixedLabel" text="D" position="60,20" zPosition="2" size="20,20" font="Regular;18" halign="center" foregroundColor="yellow" backgroundColor="black" transparent="1">
52                                 <convert type="TunerInfo">TunerUseMask</convert>
53                                 <convert type="ValueBitTest">8</convert>
54                                 <convert type="ConditionalShowHide" />
55                         </widget>
56                         <widget source="session.FrontendInfo" render="FixedLabel" text="A" position="0,20" zPosition="3" size="20,20" font="Regular;18" halign="center" foregroundColor="green" backgroundColor="black" transparent="1">
57                                 <convert type="FrontendInfo">NUMBER</convert>
58                                 <convert type="ValueRange">0,0</convert>
59                                 <convert type="ConditionalShowHide" />
60                         </widget>
61                         <widget source="session.FrontendInfo" render="FixedLabel" text="B" position="20,20" zPosition="3" size="20,20" font="Regular;18" halign="center" foregroundColor="green" backgroundColor="black" transparent="1">
62                                 <convert type="FrontendInfo">NUMBER</convert>
63                                 <convert type="ValueRange">1,1</convert>
64                                 <convert type="ConditionalShowHide" />
65                         </widget>
66                         <widget source="session.FrontendInfo" render="FixedLabel" text="C" position="40,20" zPosition="3" size="20,20" font="Regular;18" halign="center" foregroundColor="green" backgroundColor="black" transparent="1">
67                                 <convert type="FrontendInfo">NUMBER</convert>
68                                 <convert type="ValueRange">2,2</convert>
69                                 <convert type="ConditionalShowHide" />
70                         </widget>
71                         <widget source="session.FrontendInfo" render="FixedLabel" text="D" position="60,20" zPosition="3" size="20,20" font="Regular;18" halign="center" foregroundColor="green" backgroundColor="black" transparent="1">
72                                 <convert type="FrontendInfo">NUMBER</convert>
73                                 <convert type="ValueRange">3,3</convert>
74                                 <convert type="ConditionalShowHide" />
75                         </widget>
76                                         
77                         <!--  -->
78                         <widget source="session.CurrentService"  render="Pixmap" pixmap="skin_default/icons/icon_format.png"  position="70,20" size="30,20" zPosition="2">
79                                 <convert type="ServiceInfo">SubservicesAvailable</convert>
80                                 <convert type="ConditionalShowHide" />
81                         </widget>                       
82                         <widget source="session.CurrentService"  render="Pixmap" pixmap="skin_default/icons/icon_format.png"  position="100,20" size="30,20" zPosition="2">
83                                 <convert type="ServiceInfo">IsWidescreen</convert>
84                                 <convert type="ConditionalShowHide" />
85                         </widget>                       
86                         <widget source="session.CurrentService"  render="Pixmap" pixmap="skin_default/icons/icon_txt.png"  position="130,20" size="30,20" zPosition="2">
87                                 <convert type="ServiceInfo">HasTelext</convert>
88                                 <convert type="ConditionalShowHide" />
89                         </widget>                       
90                         <widget source="session.CurrentService"  render="Pixmap" pixmap="skin_default/icons/icon_crypt.png"  position="160,20" size="20,20" zPosition="2">
91                                 <convert type="ServiceInfo">IsMultichannel</convert>
92                                 <convert type="ConditionalShowHide" />
93                         </widget>                       
94                         <widget source="session.CurrentService"  render="Pixmap" pixmap="skin_default/icons/icon_crypt.png"  position="180,20" size="20,20" zPosition="2">
95                                 <convert type="ServiceInfo">IsCrypted</convert>
96                                 <convert type="ConditionalShowHide" />
97                         </widget>
98                         
99                         <!-- PIDs -->
100                         <eLabel text="APid:" font="Regular;18" position="0,50" size="65,20" halign="right" zPosition="2"/>
101                         <widget source="session.CurrentService" render="Label" position="65,50" size="40,20" font="Regular;18" halign="left" zPosition="2">
102                                 <convert type="ServiceInfo">AudioPid</convert>                          
103                         </widget>
104                         
105                         <eLabel text="VPid:" font="Regular;18" position="0,70" size="65,20" halign="right" zPosition="2"/>
106                         <widget source="session.CurrentService" render="Label" position="65,70" size="40,20" font="Regular;18" halign="left" zPosition="2">
107                                 <convert type="ServiceInfo">VideoPid</convert>                          
108                         </widget>
109                         <eLabel text="PcrPid:" font="Regular;18" position="0,90" size="65,20" halign="right" zPosition="2"/>
110                         <widget source="session.CurrentService" render="Label" position="65,90" size="40,20" font="Regular;18" halign="left" zPosition="2">
111                                 <convert type="ServiceInfo">PcrPid</convert>                            
112                         </widget>
113                         <eLabel text="PmtPid:" font="Regular;18" position="0,110" size="65,20" halign="right" zPosition="2"/>
114                         <widget source="session.CurrentService" render="Label" position="65,110" size="40,20" font="Regular;18" halign="left" zPosition="2">
115                                 <convert type="ServiceInfo">PmtPid</convert>                            
116                         </widget>
117                         <eLabel text="TxtPid:" font="Regular;18" position="0,130" size="65,20" halign="right" zPosition="2"/>
118                         <widget source="session.CurrentService" render="Label" position="65,130" size="40,20" font="Regular;18" halign="left" zPosition="2">
119                                 <convert type="ServiceInfo">TxtPid</convert>                            
120                         </widget>
121                         
122                         <eLabel text="TsId:" font="Regular;18" position="105,50" size="55,20" halign="right" zPosition="2"/>
123                         <widget source="session.CurrentService" render="Label" position="160,50" size="40,20" font="Regular;18" halign="left" zPosition="2">
124                                 <convert type="ServiceInfo">TxtPid</convert>                            
125                         </widget>
126                         <eLabel text="OnId:" font="Regular;18" position="105,70" size="55,20" halign="right" zPosition="2"/>
127                         <widget source="session.CurrentService" render="Label" position="160,70" size="40,20" font="Regular;18" halign="left" zPosition="2">
128                                 <convert type="ServiceInfo">OnId</convert>                              
129                         </widget>
130                         <eLabel text="Sid:" font="Regular;18" position="105,90" size="55,20" halign="right" zPosition="2"/>
131                         <widget source="session.CurrentService" render="Label" position="160,90" size="40,20" font="Regular;18" halign="left" zPosition="2">
132                                 <convert type="ServiceInfo">Sid</convert>                               
133                         </widget>
134                         
135                                                 
136                 </desktopwidget>
137 </skin>