- Timestamp:
- Sep 12, 2010, 7:31:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source/mediacenter_mayhemIIIKS_3_1/usr/lib/enigma2/python/Plugins/Extensions/MediaCenter/skins/mayhemIIIKS/skin.xml
r3919 r3946 189 189 <widget name="thumb7" position="765,335" size="190,174" zPosition="4" transparent="1" alphatest="on" />" 190 190 <widget name="thumbreal7" position="810,335" size="190,174" zPosition="4" transparent="1" alphatest="on" />" 191 192 <applet type="onLayoutFinish"> 193 from Components.config import * 194 currentview = config.plugins.mc_vp_view.enabled.getValue() 195 print "[Mediacenter] VideoPlayer mayhemIII-KS FLASH currentview:", currentview 196 197 from Components.AVSwitch import AVSwitch 198 self.FramebufferScale = AVSwitch().getFramebufferScale() 199 200 self.spaceTop = 100 201 self.spaceLeft = 25 202 203 self.textcolor = "#FFFFFF" 204 self.color = "#000000" 205 textsize = 18 206 self.spaceX = 35 207 self.picX = 200 208 self.spaceY = 15 209 self.picY = 200 210 self.thumbsX = 4 # thumbnails in X 211 self.thumbsY = 2 # thumbnails in Y 212 self.thumbsC = 8 # all thumbnails 213 thumbsC = self.thumbsC 214 self.positionlist = [] 215 skincontent = "" 216 posX = -1 217 for x in range(self.thumbsC): 218 posY = x / self.thumbsX 219 posX += 1 220 if posX >= self.thumbsX: 221 posX = 0 222 absX = self.spaceLeft + self.spaceX + (posX*(self.spaceX + self.picX)) 223 absY = self.spaceTop + self.spaceY + (posY*(self.spaceY + self.picY)) 224 self.positionlist.append((absX, absY)) 225 </applet> 226 </screen> 227 # print "label(%s) pos: %s,%s size: %s,%s" % (x,str(absX+5),str(absY+self.picY-textsize-5),str(self.picX - 10),str(textsize)) 228 # print "thump(%s) pos: %s,%s size: %s,%s" % (x,str(absX),str(absY+5),self.picX-10, str(self.picY - (textsize*2) + 10)) 229 # print "thumpreal(%s) pos: %s,%s size: %s,%s" % (x,str(absX+45),str(absY+5),self.picX -10, str(self.picY - (textsize*2) + 10)) 191 </screen> 192 193 <!--MC GlobalFunctions IMDB Info Screen--> 194 <screen name="MC_VideoImdbView" position="0,0" size="1024,576" title="Imdbfile Info" backgroundColor="#42000000" > 195 <widget name="thumbCoverBig" position="518,20" size="471,536" zPosition="2" transparent="1" alphatest="on" /> 196 <widget name="thumbPosterMid" position="518,20" size="471,536" zPosition="3" transparent="1" alphatest="on" /> 197 <widget name="imdbinfo" font="Regular;18" position="35,30" size="480,500" zPosition="4" transparent="1" /> 198 <eLabel backgroundColor="green" position="326,555" size="140,3" zPosition="5"/> 199 <eLabel backgroundColor="red" position="93,555" size="140,3" zPosition="5"/> 200 <widget name="key_red" position="93,526" zPosition="5" size="140,40" font="Regular;18" valign="center" halign="center" transparent="1" /> 201 <widget name="key_green" position="326,526" zPosition="5" size="140,40" font="Regular;18" valign="center" halign="center" transparent="1" /> 202 <applet type="onLayoutFinish"> 203 # here you can set the pictures sizes 204 self.picX = 471 205 self.picY = 536 206 # start showing the screen 207 self.showPic() 208 </applet> 209 </screen> 230 210 231 211 <!--MC MoviePlayer Infobar--> … … 309 289 <widget name="thumb7" position="765,335" size="190,174" zPosition="4" transparent="1" alphatest="on" />" 310 290 <widget name="thumbreal7" position="810,335" size="190,174" zPosition="4" transparent="1" alphatest="on" />" 311 312 <applet type="onLayoutFinish"> 313 from Components.config import * 314 currentview = config.plugins.mc_vp_view.enabled.getValue() 315 print "[Mediacenter] VideoPlayer mayhemIII-KS FLASH currentview:", currentview 316 317 from Components.AVSwitch import AVSwitch 318 self.FramebufferScale = AVSwitch().getFramebufferScale() 319 320 self.spaceTop = 100 321 self.spaceLeft = 25 322 323 self.textcolor = "#FFFFFF" 324 self.color = "#000000" 325 textsize = 18 326 self.spaceX = 35 327 self.picX = 200 328 self.spaceY = 15 329 self.picY = 200 330 self.thumbsX = 4 # thumbnails in X 331 self.thumbsY = 2 # thumbnails in Y 332 self.thumbsC = 8 # all thumbnails 333 thumbsC = self.thumbsC 334 self.positionlist = [] 335 skincontent = "" 336 posX = -1 337 for x in range(self.thumbsC): 338 posY = x / self.thumbsX 339 posX += 1 340 if posX >= self.thumbsX: 341 posX = 0 342 absX = self.spaceLeft + self.spaceX + (posX*(self.spaceX + self.picX)) 343 absY = self.spaceTop + self.spaceY + (posY*(self.spaceY + self.picY)) 344 self.positionlist.append((absX, absY)) 345 </applet> 346 </screen> 347 # print "label(%s) pos: %s,%s size: %s,%s" % (x,str(absX+5),str(absY+self.picY-textsize-5),str(self.picX - 10),str(textsize)) 348 # print "thump(%s) pos: %s,%s size: %s,%s" % (x,str(absX),str(absY+5),self.picX-10, str(self.picY - (textsize*2) + 10)) 349 # print "thumpreal(%s) pos: %s,%s size: %s,%s" % (x,str(absX+45),str(absY+5),self.picX -10, str(self.picY - (textsize*2) + 10)) 291 </screen> 350 292 351 293 <!-- MC Radio Player -->
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)