Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- skin = """
- <screen name="PluginManager" position="center,center" size="560,470" title="Pluginmanager" >
- <ePixmap pixmap="skin_default/buttons/red.png" position="0,0" size="140,40" alphatest="on" />
- <ePixmap pixmap="skin_default/buttons/green.png" position="140,0" size="140,40" alphatest="on" />
- <ePixmap pixmap="skin_default/buttons/yellow.png" position="280,0" size="140,40" alphatest="on" />
- <ePixmap pixmap="skin_default/buttons/blue.png" position="420,0" size="140,40" alphatest="on" />
- <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" />
- <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" />
- <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" />
- <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" />
- <widget source="list" render="Listbox" position="5,45" size="550,364" scrollbarMode="showOnDemand" transparent="1">
- <convert type="TemplatedMultiContent">
- {"templates":
- {"default": (52,[
- MultiContentEntryPixmapAlphaTest(pos = (0, 1), size = (68, 48), png = 8), # index 8 is the Thumbnail
- MultiContentEntryPixmapAlphaBlend(pos = (11, 1), size = (46, 48), png = 18), # index 18 is the Thumbnail overlay for installed plugins
- 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
- 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)
- 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
- 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
- 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
- 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
- MultiContentEntryPixmapAlphaTest(pos = (500, 12), size = (25, 25), png = 10), # index 9 is the selection pixmap
- MultiContentEntryPixmapAlphaTest(pos = (0, 50), size = (550, 2), png = 11), # index 6 is the div pixmap
- ],True),
- "category": (60,[
- MultiContentEntryText(pos = (0, 0), size = (550, 30), font=3, flags = RT_HALIGN_LEFT, text = 0), # index 0 is the name
- MultiContentEntryText(pos = (0, 32), size = (550, 22), font=1, flags = RT_HALIGN_LEFT, text = 1), # index 1 is the description
- MultiContentEntryPixmapAlphaTest(pos = (0, 58), size = (560, 2), png = 3), # index 3 is the div pixmap
- ],True),
- "update": (110,[
- MultiContentEntryPixmapAlphaTest(pos = (0, 6), size = (48, 48), png = 2), # index 2 is the status pixmap
- MultiContentEntryText(pos = (50, 1), size = (500, 28), font=3, flags = RT_HALIGN_CENTER|RT_VALIGN_CENTER, text = 0), # index 0 is the main status
- 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
- MultiContentEntryProgress(pos = (00, 85), size = (550, 20), percent = - 4, borderWidth = 2, foreColor=0xCCCCCC ), # index 4 is the progress percent
- MultiContentEntryPixmapAlphaTest(pos = (0, 108), size = (550, 2), png = 3), # index 3 is the div pixmap
- ],False),
- "status": (364,[
- MultiContentEntryText(pos = (0, 0), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 0), # index 0 is the name
- MultiContentEntryText(pos = (0, 30), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 1), # index 0 is the name
- MultiContentEntryText(pos = (0, 60), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 2), # index 0 is the name
- MultiContentEntryText(pos = (0, 90), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 3), # index 0 is the name
- MultiContentEntryText(pos = (0, 120), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 4), # index 0 is the name
- MultiContentEntryPixmapAlphaTest(pos = (0, 155), size = (550, 2), png = 5), # index 3 is the div pixmap
- MultiContentEntryText(pos = (0, 160), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 6), # index 0 is the name
- MultiContentEntryText(pos = (0, 190), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 7), # index 0 is the name
- MultiContentEntryText(pos = (0, 220), size = (550, 25), font=0, flags = RT_HALIGN_LEFT, text = 8, color=0xFF0000), # index 0 is the name
- ],False, "showNever"),
- "detail": (364,[
- 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
- 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
- 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
- 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
- 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
- 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
- MultiContentEntryPixmapAlphaTest(pos = (270, 3), size = (290,290), png = 8 ), # index 8 is the DetailThumbnail
- MultiContentEntryPixmapAlphaBlend(pos = (310, 3), size = (240,270), png = 20 ), # index 8 is the Overlaypic
- MultiContentEntryPixmapAlphaTest(pos = (280, 0), size = (25, 25), png = 9), # index 9 is the selected png
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- ],False, "showNever"),
- "install": (52,[
- MultiContentEntryPixmapAlphaTest(pos = (0, 1), size = (68, 48), png = 8), # index 8 is the Thumbnail
- 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
- 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)
- 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
- 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
- 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
- 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
- MultiContentEntryPixmapAlphaTest(pos = (500, 12), size = (25, 25), png = 10), # index 9 is the selection pixmap
- MultiContentEntryPixmapAlphaTest(pos = (0, 50), size = (550, 2), png = 11), # index 6 is the div pixmap
- ],True),
- "plugins": (52,[
- MultiContentEntryPixmapAlphaTest(pos = (0, 1), size = (68, 48), png = 8), # index 8 is the Thumbnail
- MultiContentEntryPixmapAlphaBlend(pos = (11, 1), size = (46, 48), png = 18), # index 18 is the Thumbnail overlay for installed plugins
- 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
- 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)
- 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
- 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
- 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
- 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
- MultiContentEntryPixmapAlphaTest(pos = (500, 12), size = (25, 25), png = 10), # index 9 is the selection pixmap
- MultiContentEntryPixmapAlphaTest(pos = (0, 50), size = (550, 2), png = 11), # index 6 is the div pixmap
- ],True),
- },
- "fonts": [gFont("Regular", 22),gFont("Regular", 20),gFont("Regular", 16),gFont("Regular", 26),gFont("Regular", 18)],
- "itemHeight": 52,
- }
- </convert>
- </widget>
- <widget source="prevIcon" render="Pixmap" pixmap="~/key_left.png" position="0,392" zPosition="11" size="30,30" transparent="1" alphatest="on" >
- <convert type="ConditionalShowHide" />
- </widget>
- <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" />
- <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" />
- <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" />
- <widget source="nextIcon" render="Pixmap" pixmap="~/key_right.png" position="530,392" zPosition="11" size="30,30" transparent="1" alphatest="on" >
- <convert type="ConditionalShowHide" />
- </widget>
- <widget source="div" render="Pixmap" pixmap="skin_default/div-h.png" position="0,407" zPosition="9" size="560,2" transparent="1" alphatest="on" >
- <convert type="ConditionalShowHide" />
- </widget>
- <widget source="div2" render="Pixmap" pixmap="skin_default/div-h.png" position="0,422" zPosition="9" size="560,2" transparent="1" alphatest="on" >
- <convert type="ConditionalShowHide" />
- </widget>
- <widget source="status" render="Label" position="5,410" zPosition="10" size="540,19" halign="left" valign="top" font="Regular;18" transparent="1" />
- <widget source="status2" render="Label" position="5,429" zPosition="10" size="540,19" halign="left" valign="top" font="Regular;18" transparent="1" />
- <widget source="status3" render="Label" position="5,448" zPosition="10" size="540,25" halign="left" valign="bottom" font="Regular;20" transparent="1" />
- <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.
- <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.
- </screen>"""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement