Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 14.26 KB | None | 0 0
  1.     skin = """
  2.         <screen name="PluginManager" position="center,center" size="560,470" title="Pluginmanager" >
  3.             <ePixmap pixmap="skin_default/buttons/red.png" position="0,0" size="140,40" alphatest="on" />
  4.             <ePixmap pixmap="skin_default/buttons/green.png" position="140,0" size="140,40" alphatest="on" />
  5.             <ePixmap pixmap="skin_default/buttons/yellow.png" position="280,0" size="140,40" alphatest="on" />
  6.             <ePixmap pixmap="skin_default/buttons/blue.png" position="420,0" size="140,40" alphatest="on" />
  7.             <widget source="key_red" render="Label" position="0,0" zPosition="1" size="140,40" font="Regular;20" halign="center" valign="center" backgroundColor="#9f1313" transparent="1" />
  8.             <widget source="key_green" render="Label" position="140,0" zPosition="1" size="140,40" font="Regular;20" halign="center" valign="center" backgroundColor="#1f771f" transparent="1" />
  9.             <widget source="key_yellow" render="Label" position="280,0" zPosition="1" size="140,40" font="Regular;20" halign="center" valign="center" backgroundColor="#a08500" transparent="1" />
  10.             <widget source="key_blue" render="Label" position="420,0" zPosition="1" size="140,40" font="Regular;20" halign="center" valign="center" backgroundColor="#18188b" transparent="1" />
  11.             <widget source="list" render="Listbox" position="5,45" size="550,364" scrollbarMode="showOnDemand" transparent="1">
  12.                 <convert type="TemplatedMultiContent">
  13.                 {"templates":
  14.                     {"default": (52,[
  15.                             MultiContentEntryPixmapAlphaTest(pos = (0, 1), size = (68, 48), png = 8), # index 8 is the Thumbnail
  16.                             MultiContentEntryPixmapAlphaBlend(pos = (11, 1), size = (46, 48), png = 18), # index 18 is the Thumbnail overlay for installed plugins
  17.                             MultiContentEntryText(pos = (70, 1), size = (420, 24), font=0, flags = RT_HALIGN_LEFT, text = 12), # index 10 is the name, not installed, not marked for install
  18.                             MultiContentEntryText(pos = (70, 1), size = (420, 24), font=0, flags = RT_HALIGN_LEFT, text = 14, color=0x8A8787, color_sel=0x8A8787), #index 8 is the name in grey for installed plugins(idx 12,13,14,15)
  19.                             MultiContentEntryText(pos = (70, 1), size = (420, 24), font=0, flags = RT_HALIGN_LEFT, text = 16), # index 10 is the name in green for marked plugins
  20.                             MultiContentEntryText(pos = (70, 25), size = (420, 24), font=4, flags = RT_HALIGN_LEFT, text = 13), # index 2 is the description, not installed, not marked for install
  21.                             MultiContentEntryText(pos = (70, 25), size = (420, 24), font=4, flags = RT_HALIGN_LEFT, text = 15, color=0x8A8787, color_sel=0x8A8787), # index 9 is the description in grey for installed plugins
  22.                             MultiContentEntryText(pos = (70, 25), size = (420, 24), font=4, flags = RT_HALIGN_LEFT, text = 17), # index 11 is the description in green for marked plugins
  23.                             MultiContentEntryPixmapAlphaTest(pos = (500, 12), size = (25, 25), png = 10), # index 9 is the selection pixmap
  24.                             MultiContentEntryPixmapAlphaTest(pos = (0, 50), size = (550, 2), png = 11), # index 6 is the div pixmap
  25.                         ],True),
  26.                     "category": (60,[
  27.                             MultiContentEntryText(pos = (0, 0), size = (550, 30), font=3, flags = RT_HALIGN_LEFT, text = 0), # index 0 is the name
  28.                             MultiContentEntryText(pos = (0, 32), size = (550, 22), font=1, flags = RT_HALIGN_LEFT, text = 1), # index 1 is the description
  29.                             MultiContentEntryPixmapAlphaTest(pos = (0, 58), size = (560, 2), png = 3), # index 3 is the div pixmap
  30.                         ],True),
  31.                     "update": (110,[
  32.                             MultiContentEntryPixmapAlphaTest(pos = (0, 6), size = (48, 48), png = 2), # index 2 is the status pixmap
  33.                             MultiContentEntryText(pos = (50, 1), size = (500, 28), font=3, flags = RT_HALIGN_CENTER|RT_VALIGN_CENTER, text = 0), # index 0 is the main status
  34.                             MultiContentEntryText(pos = (50, 30), size = (500, 50), font=4, flags = RT_HALIGN_CENTER|RT_VALIGN_CENTER|RT_WRAP, text = 1), # index 1 is the status description
  35.                             MultiContentEntryProgress(pos = (00, 85), size = (550, 20), percent = - 4, borderWidth = 2, foreColor=0xCCCCCC ), # index 4 is the progress percent
  36.                             MultiContentEntryPixmapAlphaTest(pos = (0, 108), size = (550, 2), png = 3), # index 3 is the div pixmap
  37.                         ],False),
  38.                     "status": (364,[
  39.                             MultiContentEntryText(pos = (0, 0), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 0), # index 0 is the name
  40.                             MultiContentEntryText(pos = (0, 30), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 1), # index 0 is the name
  41.                             MultiContentEntryText(pos = (0, 60), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 2), # index 0 is the name
  42.                             MultiContentEntryText(pos = (0, 90), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 3), # index 0 is the name
  43.                             MultiContentEntryText(pos = (0, 120), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 4), # index 0 is the name
  44.                             MultiContentEntryPixmapAlphaTest(pos = (0, 155), size = (550, 2), png = 5), # index 3 is the div pixmap
  45.                             MultiContentEntryText(pos = (0, 160), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 6), # index 0 is the name
  46.                             MultiContentEntryText(pos = (0, 190), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 7), # index 0 is the name
  47.                             MultiContentEntryText(pos = (0, 220), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 8, color=0xFF0000), # index 0 is the name
  48.                         ],False, "showNever"),
  49.                     "detail": (364,[
  50.                             MultiContentEntryText(pos = (0, 0), size = (280, 44), font=0, flags = RT_HALIGN_LEFT|RT_WRAP|RT_VALIGN_TOP, text = 11), # index 11 is the name, not installed, not marked for install
  51.                             MultiContentEntryText(pos = (0, 0), size = (280, 44), font=0, flags = RT_HALIGN_LEFT|RT_WRAP|RT_VALIGN_TOP, text = 14, color=0x8A8787, color_sel=0x8A8787), #is the name in grey for installed plugins
  52.                             MultiContentEntryText(pos = (0, 0), size = (280, 44), font=0, flags = RT_HALIGN_LEFT|RT_WRAP|RT_VALIGN_TOP, text = 17), #index 17 is the name for marked plugins
  53.                             MultiContentEntryText(pos = (0, 50), size = (280, 280), font=2, flags = RT_HALIGN_LEFT|RT_WRAP, text = 12), # index 12 is the description, not installed, not marked for install
  54.                             MultiContentEntryText(pos = (0, 50), size = (280, 280), font=2, flags = RT_HALIGN_LEFT|RT_WRAP, text = 15, color=0x8A8787, color_sel=0x8A8787), # index 8 is the name in grey for installed plugins
  55.                             MultiContentEntryText(pos = (0, 50), size = (280, 280), font=2, flags = RT_HALIGN_LEFT|RT_WRAP, text = 18), # index 10 is the name in green for marked plugins
  56.                             MultiContentEntryPixmapAlphaTest(pos = (270, 3), size = (290,290), png = 8 ), # index 8 is the DetailThumbnail
  57.                             MultiContentEntryPixmapAlphaBlend(pos = (310, 3), size = (240,270), png = 20 ), # index 8 is the Overlaypic
  58.                             MultiContentEntryPixmapAlphaTest(pos = (280, 0), size = (25, 25), png = 9), # index 9 is the selected png
  59.                             MultiContentEntryText(pos = (312, 275), size = (255, 20), font=2, flags = RT_HALIGN_LEFT, text = 13), # index 0 is the name, not installed, not marked for install
  60.                             MultiContentEntryText(pos = (312, 275), size = (255, 20), font=2, flags = RT_HALIGN_LEFT, text = 16, color=0x8A8787, color_sel=0x8A8787), # index 8 is the name in grey for installed plugins
  61.                             MultiContentEntryText(pos = (312, 275), size = (255, 20), font=2, flags = RT_HALIGN_LEFT, text = 19), # index 10 is the name in green for marked plugins
  62.                             MultiContentEntryText(pos = (312, 295), size = (255, 20), font=2, flags = RT_HALIGN_LEFT, text = 21), # index 0 is the size, not installed, not marked for install
  63.                             MultiContentEntryText(pos = (312, 295), size = (255, 20), font=2, flags = RT_HALIGN_LEFT, text = 22, color=0x8A8787, color_sel=0x8A8787), # index 8 is the size in grey for installed plugins
  64.                             MultiContentEntryText(pos = (312, 295), size = (255, 20), font=2, flags = RT_HALIGN_LEFT, text = 23), # index 10 is the size in green for marked plugins
  65.                             MultiContentEntryText(pos = (312, 315), size = (255, 20), font=2, flags = RT_HALIGN_LEFT, text = 24), # index 0 is the size, not installed, not marked for install
  66.                             MultiContentEntryText(pos = (312, 315), size = (255, 20), font=2, flags = RT_HALIGN_LEFT, text = 25, color=0x8A8787, color_sel=0x8A8787), # index 8 is the size in grey for installed plugins
  67.                             MultiContentEntryText(pos = (312, 315), size = (255, 20), font=2, flags = RT_HALIGN_LEFT, text = 26), # index 10 is the size in green for marked plugins
  68.                             MultiContentEntryText(pos = (312, 335), size = (255, 20), font=2, flags = RT_HALIGN_LEFT, text = 27), # index 0 is the size, not installed, not marked for install
  69.                             MultiContentEntryText(pos = (312, 335), size = (255, 20), font=2, flags = RT_HALIGN_LEFT, text = 28, color=0x8A8787, color_sel=0x8A8787), # index 8 is the size in grey for installed plugins
  70.                             MultiContentEntryText(pos = (312, 335), size = (255, 20), font=2, flags = RT_HALIGN_LEFT, text = 29), # index 10 is the size in green for marked plugins
  71.                         ],False, "showNever"),                     
  72.                     "install": (52,[
  73.                             MultiContentEntryPixmapAlphaTest(pos = (0, 1), size = (68, 48), png = 8), # index 8 is the Thumbnail
  74.                             MultiContentEntryText(pos = (70, 1), size = (420, 24), font=0, flags = RT_HALIGN_LEFT, text = 12), # index 10 is the name, not installed, not marked for install
  75.                             MultiContentEntryText(pos = (70, 1), size = (420, 24), font=0, flags = RT_HALIGN_LEFT, text = 14, color=0x8A8787, color_sel=0x8A8787), #index 8 is the name in grey for installed plugins(idx 12,13,14,15)
  76.                             MultiContentEntryText(pos = (70, 1), size = (420, 24), font=0, flags = RT_HALIGN_LEFT, text = 16), # index 10 is the name in green for marked plugins
  77.                             MultiContentEntryText(pos = (70, 25), size = (420, 24), font=4, flags = RT_HALIGN_LEFT, text = 13), # index 2 is the description, not installed, not marked for install
  78.                             MultiContentEntryText(pos = (70, 25), size = (420, 24), font=4, flags = RT_HALIGN_LEFT, text = 15, color=0x8A8787, color_sel=0x8A8787), # index 9 is the description in grey for installed plugins
  79.                             MultiContentEntryText(pos = (70, 25), size = (420, 24), font=4, flags = RT_HALIGN_LEFT, text = 17), # index 11 is the description in green for marked plugins
  80.                             MultiContentEntryPixmapAlphaTest(pos = (500, 12), size = (25, 25), png = 10), # index 9 is the selection pixmap
  81.                             MultiContentEntryPixmapAlphaTest(pos = (0, 50), size = (550, 2), png = 11), # index 6 is the div pixmap
  82.                         ],True),
  83.                     "plugins": (52,[
  84.                             MultiContentEntryPixmapAlphaTest(pos = (0, 1), size = (68, 48), png = 8), # index 8 is the Thumbnail
  85.                             MultiContentEntryPixmapAlphaBlend(pos = (11, 1), size = (46, 48), png = 18), # index 18 is the Thumbnail overlay for installed plugins
  86.                             MultiContentEntryText(pos = (70, 1), size = (420, 24), font=0, flags = RT_HALIGN_LEFT, text = 12), # index 10 is the name, not installed, not marked for install
  87.                             MultiContentEntryText(pos = (70, 1), size = (420, 24), font=0, flags = RT_HALIGN_LEFT, text = 14, color=0x8A8787, color_sel=0x8A8787), #index 8 is the name in grey for installed plugins(idx 12,13,14,15)
  88.                             MultiContentEntryText(pos = (70, 1), size = (420, 24), font=0, flags = RT_HALIGN_LEFT, text = 16), # index 10 is the name in green for marked plugins
  89.                             MultiContentEntryText(pos = (70, 25), size = (420, 24), font=4, flags = RT_HALIGN_LEFT, text = 13), # index 2 is the description, not installed, not marked for install
  90.                             MultiContentEntryText(pos = (70, 25), size = (420, 24), font=4, flags = RT_HALIGN_LEFT, text = 15, color=0x8A8787, color_sel=0x8A8787), # index 9 is the description in grey for installed plugins
  91.                             MultiContentEntryText(pos = (70, 25), size = (420, 24), font=4, flags = RT_HALIGN_LEFT, text = 17), # index 11 is the description in green for marked plugins
  92.                             MultiContentEntryPixmapAlphaTest(pos = (500, 12), size = (25, 25), png = 10), # index 9 is the selection pixmap
  93.                             MultiContentEntryPixmapAlphaTest(pos = (0, 50), size = (550, 2), png = 11), # index 6 is the div pixmap
  94.                         ],True),                       
  95.                     },
  96.                     "fonts": [gFont("Regular", 22),gFont("Regular", 20),gFont("Regular", 16),gFont("Regular", 26),gFont("Regular", 18)],
  97.                     "itemHeight": 52,
  98.                 }
  99.                 </convert>
  100.             </widget>
  101.             <widget source="prevIcon" render="Pixmap" pixmap="~/key_left.png" position="0,392" zPosition="11" size="30,30" transparent="1" alphatest="on" >
  102.                 <convert type="ConditionalShowHide" />
  103.             </widget>
  104.             <widget source="prevPlugin" render="Label" position="30,400" zPosition="10" size="170,19" halign="left" valign="top" font="Regular;18" transparent="1" shadowColor="black" shadowOffset="-1,-1" />
  105.             <widget source="PluginCount" render="Label" position="0,400" zPosition="10" size="560,19" halign="center" valign="top" font="Regular;18" transparent="1" shadowColor="black" shadowOffset="-1,-1" />
  106.             <widget source="nextPlugin" render="Label" position="360,400" zPosition="10" size="170,19" halign="right" valign="top" font="Regular;18" transparent="1" shadowColor="black" shadowOffset="-1,-1" />
  107.             <widget source="nextIcon" render="Pixmap" pixmap="~/key_right.png" position="530,392" zPosition="11" size="30,30" transparent="1" alphatest="on" >
  108.                 <convert type="ConditionalShowHide" />
  109.             </widget>
  110.  
  111.             <widget source="div" render="Pixmap" pixmap="skin_default/div-h.png" position="0,407" zPosition="9" size="560,2" transparent="1" alphatest="on" >
  112.                 <convert type="ConditionalShowHide" />
  113.             </widget>
  114.             <widget source="div2" render="Pixmap" pixmap="skin_default/div-h.png" position="0,422" zPosition="9" size="560,2" transparent="1" alphatest="on" >
  115.                 <convert type="ConditionalShowHide" />
  116.             </widget>
  117.             <widget source="status" render="Label" position="5,410" zPosition="10" size="540,19" halign="left" valign="top" font="Regular;18" transparent="1" />
  118.             <widget source="status2" render="Label" position="5,429" zPosition="10" size="540,19" halign="left" valign="top" font="Regular;18" transparent="1" />
  119.             <widget source="status3" render="Label" position="5,448" zPosition="10" size="540,25" halign="left" valign="bottom" font="Regular;20" transparent="1" />
  120.             <widget name="thumbnail" position="0,0" size="68,48" alphatest="on"/> # fake entry for dynamic thumbnail resizing (listviewthumb), currently there is no other way doing this.
  121.             <widget name="detailthumbnail" position="0,0" size="320,270" alphatest="on"/> # fake entry for dynamic thumbnail resizing (detailsthumb), currently there is no other way doing this.
  122.         </screen>"""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement