Advertisement
Guest User

Untitled

a guest
May 2nd, 2016
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 14.61 KB | None | 0 0
  1.     <other include="widget-vertical">
  2.         <property name="content" tag="property" attribute="name|widgetPath" />
  3.         <property name="content">$VAR[DefWidgetContent]</property>
  4.         <property name="target" tag="property" attribute="name|widgetTarget" />
  5.         <controls>
  6.             <control type="fixedlist" id="301">
  7.                 <visible allowhiddenfocus="true">Control.HasFocus(301)</visible>
  8.                 <skinshortcuts>visibility</skinshortcuts>
  9.                 <visible>!substring(Container(300).ListItem.Property(widget),Weather,left)</visible>
  10.                 <animation effect="fade" start="100" end="66" time="400" condition="!Control.HasFocus(301)">Conditional</animation>
  11.                 <autoscroll time="10000">!Control.HasFocus(301)</autoscroll>
  12.                 <top>330</top>
  13.                 <left>518</left>
  14.                 <width>1554</width>
  15.                 <height>325</height>
  16.                 <onback>300</onback>
  17.                 <onleft>300</onleft>
  18.                 <onup>300</onup>
  19.                 <ondown>300</ondown>
  20.                 <oninfo condition="IsEmpty(Container(301).ListItem.TvShowTitle) + IsEmpty(Container(301).ListItem.Artist)">RunScript(script.extendedinfo,info=extendedinfo,name=$INFO[Container(301).ListItem.Title],imdb_id=$INFO[Container(301).ListItem.IMDBNumber])</oninfo>
  21.                 <oninfo condition="!IsEmpty(Container(301).ListItem.TvShowTitle)">RunScript(script.extendedinfo,info=extendedtvinfo,name=$INFO[Container(301).ListItem.TvShowTitle],imdb_id=$INFO[Container(301).ListItem.IMDBNumber])</oninfo>
  22.                 <focusposition>0</focusposition>
  23.                 <preloaditems>2</preloaditems>
  24.                 <orientation>horizontal</orientation>
  25.                 <pagecontrol>60</pagecontrol>
  26.                 <viewtype label="536">list</viewtype>
  27.                 <scrolltime tween="quadratic">400</scrolltime>
  28.                 <itemlayout height="325" width="222" condition="!StringCompare(Container(300).ListItem.Property(widgetaspect),Square) + ![StringCompare(Container(300).ListItem.Property(widgetaspect),Fanart) | StringCompare(Container(300).ListItem.Property(widgetaspect),Thumbnail)]">
  29.                     <control type="image">
  30.                         <left>0</left>
  31.                         <top>0</top>
  32.                         <right>0</right>
  33.                         <bottom>0</bottom>
  34.                         <texture border="10">common/nofocus-shadow10.png</texture>
  35.                     </control>
  36.                     <control type="image">
  37.                         <left>10</left>
  38.                         <top>10</top>
  39.                         <right>10</right>
  40.                         <bottom>10</bottom>
  41.                         <aspectratio scalediffuse="false">scale</aspectratio>
  42.                         <texture diffuse="diffuse/wall.png" background="true" fallback="DefaultMovies.png">$VAR[PosterImage]</texture>
  43.                     </control>
  44.                     <control type="image">
  45.                         <centerright>32</centerright>
  46.                         <centertop>32</centertop>
  47.                         <width>32</width>
  48.                         <height>32</height>
  49.                         <aspectratio aligny="top">keep</aspectratio>
  50.                         <texture>$VAR[PercentWatched]</texture>
  51.                         <visible>!stringcompare(ListItem.Label,..)</visible>
  52.                         <visible>stringcompare(ListItem.Overlay,OverlayWatched.png)</visible>
  53.                     </control>
  54.                 </itemlayout>
  55.                 <itemlayout height="325" width="325" condition="StringCompare(Container(300).ListItem.Property(widgetaspect),Square)">
  56.                     <control type="image">
  57.                         <left>0</left>
  58.                         <top>0</top>
  59.                         <right>0</right>
  60.                         <bottom>0</bottom>
  61.                         <texture border="10">common/nofocus-shadow10.png</texture>
  62.                     </control>
  63.                     <control type="image">
  64.                         <left>10</left>
  65.                         <top>10</top>
  66.                         <right>10</right>
  67.                         <bottom>10</bottom>
  68.                         <aspectratio scalediffuse="false">scale</aspectratio>
  69.                         <texture diffuse="diffuse/wall.png" background="true" fallback="DefaultMovies.png">$VAR[PosterImage]</texture>
  70.                     </control>
  71.                     <control type="image">
  72.                         <centerright>32</centerright>
  73.                         <centertop>32</centertop>
  74.                         <width>32</width>
  75.                         <height>32</height>
  76.                         <aspectratio aligny="top">keep</aspectratio>
  77.                         <texture>$VAR[PercentWatched]</texture>
  78.                         <visible>!stringcompare(ListItem.Label,..)</visible>
  79.                         <visible>stringcompare(ListItem.Overlay,OverlayWatched.png)</visible>
  80.                     </control>
  81.                 </itemlayout>
  82.                 <itemlayout height="325" width="562" condition="StringCompare(Container(300).ListItem.Property(widgetaspect),Thumbnail) | StringCompare(Container(300).ListItem.Property(widgetaspect),Fanart)">
  83.                     <control type="image">
  84.                         <left>0</left>
  85.                         <top>0</top>
  86.                         <right>0</right>
  87.                         <bottom>0</bottom>
  88.                         <texture border="10">common/nofocus-shadow10.png</texture>
  89.                     </control>
  90.                     <control type="image">
  91.                         <left>10</left>
  92.                         <top>10</top>
  93.                         <right>10</right>
  94.                         <bottom>10</bottom>
  95.                         <aspectratio scalediffuse="false">scale</aspectratio>
  96.                         <texture diffuse="diffuse/wall.png" background="true" fallback="DefaultMovies.png">$VAR[WidgetThumbImage]</texture>
  97.                     </control>
  98.                     <control type="image">
  99.                         <centerright>32</centerright>
  100.                         <centertop>32</centertop>
  101.                         <width>32</width>
  102.                         <height>32</height>
  103.                         <aspectratio aligny="top">keep</aspectratio>
  104.                         <texture>$VAR[PercentWatched]</texture>
  105.                         <visible>!stringcompare(ListItem.Label,..)</visible>
  106.                         <visible>stringcompare(ListItem.Overlay,OverlayWatched.png)</visible>
  107.                     </control>
  108.                 </itemlayout>
  109.                 <focusedlayout height="325" width="222" condition="!StringCompare(Container(300).ListItem.Property(widgetaspect),Square) + ![StringCompare(Container(300).ListItem.Property(widgetaspect),Fanart) | StringCompare(Container(300).ListItem.Property(widgetaspect),Thumbnail)]">
  110.                     <control type="image">
  111.                         <left>0</left>
  112.                         <top>0</top>
  113.                         <right>0</right>
  114.                         <bottom>0</bottom>
  115.                         <texture border="10">common/nofocus-shadow10.png</texture>
  116.                     </control>
  117.                     <control type="image">
  118.                         <left>10</left>
  119.                         <top>10</top>
  120.                         <right>10</right>
  121.                         <bottom>10</bottom>
  122.                         <aspectratio scalediffuse="false">scale</aspectratio>
  123.                         <texture diffuse="diffuse/wall.png" background="true" fallback="DefaultMovies.png">$VAR[PosterImage]</texture>
  124.                     </control>
  125.                     <control type="image">
  126.                         <centerright>32</centerright>
  127.                         <centertop>32</centertop>
  128.                         <width>32</width>
  129.                         <height>32</height>
  130.                         <aspectratio aligny="top">keep</aspectratio>
  131.                         <texture>$VAR[PercentWatched]</texture>
  132.                         <visible>!stringcompare(ListItem.Label,..)</visible>
  133.                         <visible>stringcompare(ListItem.Overlay,OverlayWatched.png)</visible>
  134.                     </control>
  135.                     <control type="image">
  136.                         <left>3</left>
  137.                         <top>3</top>
  138.                         <right>3</right>
  139.                         <bottom>3</bottom>
  140.                         <texture colordiffuse="$VAR[ColorHighlight]" border="20">common/selectbox.png</texture>
  141.                         <visible>Control.HasFocus(301)</visible>
  142.                         <animation type="Focus">
  143.                             <effect type="zoom" start="90" end="100" time="150" tween="sine" easing="inout" center="auto" />
  144.                             <effect type="fade" start="0" end="100" time="150" tween="sine" easing="in" />
  145.                         </animation>
  146.                         <animation type="Unfocus">
  147.                             <effect type="zoom" start="100" end="90" time="150" tween="sine" easing="inout" center="auto" />
  148.                             <effect type="fade" start="100" end="0" time="150" tween="sine" easing="out" />
  149.                         </animation>
  150.                     </control>
  151.  
  152.                 </focusedlayout>
  153.                 <focusedlayout height="325" width="325" condition="StringCompare(Container(300).ListItem.Property(widgetaspect),Square)">
  154.                     <control type="image">
  155.                         <left>0</left>
  156.                         <top>0</top>
  157.                         <right>0</right>
  158.                         <bottom>0</bottom>
  159.                         <texture border="10">common/nofocus-shadow10.png</texture>
  160.                     </control>
  161.                     <control type="image">
  162.                         <left>10</left>
  163.                         <top>10</top>
  164.                         <right>10</right>
  165.                         <bottom>10</bottom>
  166.                         <aspectratio scalediffuse="false">scale</aspectratio>
  167.                         <texture diffuse="diffuse/wall.png" background="true" fallback="DefaultMovies.png">$VAR[PosterImage]</texture>
  168.                     </control>
  169.                     <control type="image">
  170.                         <centerright>32</centerright>
  171.                         <centertop>32</centertop>
  172.                         <width>32</width>
  173.                         <height>32</height>
  174.                         <aspectratio aligny="top">keep</aspectratio>
  175.                         <texture>$VAR[PercentWatched]</texture>
  176.                         <visible>!stringcompare(ListItem.Label,..)</visible>
  177.                         <visible>stringcompare(ListItem.Overlay,OverlayWatched.png)</visible>
  178.                     </control>
  179.                     <control type="image">
  180.                         <left>3</left>
  181.                         <top>3</top>
  182.                         <right>3</right>
  183.                         <bottom>3</bottom>
  184.                         <texture colordiffuse="$VAR[ColorHighlight]" border="20">common/selectbox.png</texture>
  185.                         <visible>Control.HasFocus(301)</visible>
  186.                         <animation type="Focus">
  187.                             <effect type="zoom" start="90" end="100" time="150" tween="sine" easing="inout" center="auto" />
  188.                             <effect type="fade" start="0" end="100" time="150" tween="sine" easing="in" />
  189.                         </animation>
  190.                         <animation type="Unfocus">
  191.                             <effect type="zoom" start="100" end="90" time="150" tween="sine" easing="inout" center="auto" />
  192.                             <effect type="fade" start="100" end="0" time="150" tween="sine" easing="out" />
  193.                         </animation>
  194.                     </control>
  195.  
  196.                 </focusedlayout>
  197.                 <focusedlayout height="325" width="562" condition="StringCompare(Container(300).ListItem.Property(widgetaspect),Thumbnail) | StringCompare(Container(300).ListItem.Property(widgetaspect),Fanart)">
  198.                     <control type="image">
  199.                         <left>0</left>
  200.                         <top>0</top>
  201.                         <right>0</right>
  202.                         <bottom>0</bottom>
  203.                         <texture border="10">common/nofocus-shadow10.png</texture>
  204.                     </control>
  205.                     <control type="image">
  206.                         <left>10</left>
  207.                         <top>10</top>
  208.                         <right>10</right>
  209.                         <bottom>10</bottom>
  210.                         <aspectratio scalediffuse="false">scale</aspectratio>
  211.                         <texture diffuse="diffuse/wall.png" background="true" fallback="DefaultMovies.png">$VAR[WidgetThumbImage]</texture>
  212.                     </control>
  213.                     <control type="image">
  214.                         <centerright>32</centerright>
  215.                         <centertop>32</centertop>
  216.                         <width>32</width>
  217.                         <height>32</height>
  218.                         <aspectratio aligny="top">keep</aspectratio>
  219.                         <texture>$VAR[PercentWatched]</texture>
  220.                         <visible>!stringcompare(ListItem.Label,..)</visible>
  221.                         <visible>stringcompare(ListItem.Overlay,OverlayWatched.png)</visible>
  222.                     </control>
  223.                     <control type="image">
  224.                         <left>3</left>
  225.                         <top>3</top>
  226.                         <right>3</right>
  227.                         <bottom>3</bottom>
  228.                         <texture colordiffuse="$VAR[ColorHighlight]" border="20">common/selectbox.png</texture>
  229.                         <visible>Control.HasFocus(301)</visible>
  230.                         <animation type="Focus">
  231.                             <effect type="zoom" start="90" end="100" time="150" tween="sine" easing="inout" center="auto" />
  232.                             <effect type="fade" start="0" end="100" time="150" tween="sine" easing="in" />
  233.                         </animation>
  234.                         <animation type="Unfocus">
  235.                             <effect type="zoom" start="100" end="90" time="150" tween="sine" easing="inout" center="auto" />
  236.                             <effect type="fade" start="100" end="0" time="150" tween="sine" easing="out" />
  237.                         </animation>
  238.                     </control>
  239.  
  240.                 </focusedlayout>
  241.                 <description>TEST</description>
  242.                 <content limit="50" target="$SKINSHORTCUTS[target]">$SKINSHORTCUTS[content]</content>
  243.             </control>
  244.         </controls>
  245.     </other>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement