Ignore:
Timestamp:
Sep 12, 2010, 7:31:51 PM (16 years ago)
Author:
civer
Message:

[IPK /mayhemIII Kingsize/HD ]

  • rm unneded code
  • added new screen
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/source/mediacenter_mayhemIIIHD_3_1/usr/lib/enigma2/python/Plugins/Extensions/MediaCenter/skins/mayhemIIIHD/skin.xml

    r3919 r3946  
    190190                        <widget name="thumb9" position="1000,385" size="190,204" zPosition="4" transparent="1" alphatest="on" />"
    191191                        <widget name="thumbreal9" position="1045,385" size="190,204" zPosition="4" transparent="1" alphatest="on" />"
    192                                         <applet type="onLayoutFinish">
    193 from Components.config import *
    194 currentview = config.plugins.mc_vp_view.enabled.getValue()
    195 print "[Mediacenter] VideoPlayer mayhemIII-HD 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 = 25
    209 self.picY = 230
    210 self.thumbsX = 5 # thumbnails in X
    211 self.thumbsY = 2 # thumbnails in Y
    212 self.thumbsC = 10 # 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))
     192                </screen>
     193
     194                <!--MC GlobalFunctions IMDB Info Screen-->
     195                <screen name="MC_VideoImdbView" position="0,0" size="1280,720" title="Imdbfile Info" backgroundColor="#42000000" >
     196                        <widget name="thumbCoverBig" position="735,35" size="515,650" zPosition="2" transparent="1" alphatest="on" />
     197                        <widget name="thumbPosterMid" position="735,35" size="515,650" zPosition="3" transparent="1" alphatest="on" />
     198                        <widget name="imdbinfo" font="Regular;18" position="50,35" size="680,650" zPosition="4" transparent="1" />
     199                        <eLabel backgroundColor="green" position="406,689" size="140,3" zPosition="5"/>
     200                        <eLabel backgroundColor="red" position="133,689" size="140,3" zPosition="5"/>
     201                        <widget name="key_red" position="133,660" zPosition="5" size="140,40" font="Regular;18" valign="center" halign="center" transparent="1" />
     202                        <widget name="key_green" position="406,660" zPosition="5" size="140,40" font="Regular;18" valign="center" halign="center" transparent="1" />
     203                                <applet type="onLayoutFinish">
     204# here you can set the pictures sizes
     205self.picX = 515
     206self.picY = 650
     207# start showing the screen
     208self.showPic()
    225209                                </applet>
    226210                </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))
    230211
    231212                <!--MC MoviePlayer Infobar-->
     
    314295                        <widget name="thumb9" position="1000,385" size="190,204" zPosition="4" transparent="1" alphatest="on" />"
    315296                        <widget name="thumbreal9" position="1045,385" size="190,204" zPosition="4" transparent="1" alphatest="on" />"
    316                                         <applet type="onLayoutFinish">
    317 from Components.config import *
    318 currentview = config.plugins.mc_vp_view.enabled.getValue()
    319 print "[Mediacenter] VideoPlayer mayhemIII-HD FLASH currentview:", currentview
    320 
    321 from Components.AVSwitch import AVSwitch
    322 self.FramebufferScale = AVSwitch().getFramebufferScale()
    323 
    324 self.spaceTop = 100
    325 self.spaceLeft = 25
    326 
    327 self.textcolor = "#FFFFFF"
    328 self.color = "#000000"
    329 textsize = 18
    330 self.spaceX = 35
    331 self.picX = 200
    332 self.spaceY = 25
    333 self.picY = 230
    334 self.thumbsX = 5 # thumbnails in X
    335 self.thumbsY = 2 # thumbnails in Y
    336 self.thumbsC = 10 # all thumbnails
    337 thumbsC = self.thumbsC
    338 self.positionlist = []
    339 skincontent = ""
    340 posX = -1
    341 for x in range(self.thumbsC):
    342         posY = x / self.thumbsX
    343         posX += 1
    344         if posX >= self.thumbsX:
    345                 posX = 0
    346         absX = self.spaceLeft + self.spaceX + (posX*(self.spaceX + self.picX))
    347         absY = self.spaceTop + self.spaceY + (posY*(self.spaceY + self.picY))
    348         self.positionlist.append((absX, absY))
    349                                 </applet>
    350                 </screen>
    351 #       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))
    352 #       print "thump(%s)     pos: %s,%s size: %s,%s" % (x,str(absX),str(absY+5),self.picX-10,  str(self.picY - (textsize*2) + 10))
    353 #       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))
     297                </screen>
    354298
    355299                <!-- MC Radio Player -->
Note: See TracChangeset for help on using the changeset viewer.