work in progress do not use

This commit is contained in:
Chris Bevan 2017-03-20 23:53:30 +00:00
parent 0755e90e96
commit 50fd2a2623
3 changed files with 157 additions and 234 deletions

View File

@ -1,8 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol always="true">8000</defaultcontrol>
<onunload>Skin.Reset(showcast)</onunload>
<onunload condition="skin.string(showcast,true)">action(info)</onunload>
<animation type="windowClose">
<effect type="fade" start="100" end="0" time="400" delay="200"/>
</animation>
@ -73,9 +71,9 @@
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>1-col</posx>
<posy>row-22-begin</posy>
<width>6-col</width>
<posx>col-1-begin</posx>
<posy>row-23-begin</posy>
<width>5-col</width>
<height>4-col</height>
<texture>$INFO[ListItem.Art(clearlogo)]</texture>
<aspectratio align="left">keep</aspectratio>
@ -90,9 +88,6 @@
<effect type="fade" start="0" end="100" time="300" delay="300"/>
<effect type="slide" start="800" end="0" tween="cubic" easing="out" time="400" delay="300"/>
</animation>
<animation type="conditional" condition="skin.string(showcast,true)">
<effect type="slide" start="0" end="0,-1080" tween="cubic" easing="out" time="400" delay="0"/>
</animation>
<animation type="windowClose">
<effect type="fade" start="100" end="0" time="350"/>
<effect type="slide" start="0" end="900" tween="cubic" easing="out" time="400"/>
@ -306,8 +301,7 @@
<label>31074</label>
<label2></label2>
<thumb>-</thumb>
<onclick>Skin.SetString(showcast,true)</onclick>
<onclick>control.setfocus(50)</onclick>
<onclick>control.setfocus(62)</onclick>
</item>
<item>
<label>20410</label>
@ -327,14 +321,6 @@
<thumb>-</thumb>
<onclick>SendClick(2003,10)</onclick>
</item>
<item>
<description>Artwork Downloader (overrides get artwork if available)</description>
<label2></label2>
<onclick condition="Container.Content(movies)">XBMC.RunScript(script.artwork.downloader, mode=gui, mediatype=movie, dbid=$INFO[ListItem.DBID])</onclick>
<onclick condition="Container.Content(tvshows)">RunScript(script.artwork.downloader,mode=gui, mediatype=tvshow, dbid=$INFO[ListItem.DBID])</onclick>
<label>$INFO[System.AddonTitle(script.artwork.downloader)]</label>
<visible>false</visible>
</item>
<item>
<label>31169</label>
<label2></label2>
@ -528,130 +514,6 @@
</control>
</control>
</control>
<!--cast and crew toggle-->
<control type="group">
<visible>skin.string(showcast,true)</visible>
<posx>1200</posx>
<posy>0</posy>
<animation type="conditional" condition="skin.string(showcast,true)">
<effect type="slide" start="800" end="0" tween="cubic" easing="out" time="400" delay="100"/>
</animation>
<!--overlay-->
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>10-col</width>
<height>fullscreenHeight</height>
<texture>colors/black.png</texture>
<colordiffuse>cc111111</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>-6</posx>
<posy>0</posy>
<width>6</width>
<height>fullscreenHeight</height>
<texture>colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<!--content-->
<control type="group">
<posx>24</posx>
<posy>row-1-begin</posy>
<control type="label">
<posx>0</posx>
<posy>-12</posy>
<width>660</width>
<align>left</align>
<height>3-row</height>
<aligny>center</aligny>
<font>largeLight</font>
<textcolor>textActive</textcolor>
<label>$INFO[listitem.title]</label>
<wrapmultiline>true</wrapmultiline>
</control>
</control>
<control type="list" id="50">
<posx>0</posx>
<posy>204</posy>
<width>10-col</width>
<height>25-row</height>
<itemlayout width="10-col" height="2-col">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>2-col-textbox</width>
<height>2-col-textbox</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture border="0" fallback="colors/offblack.png">$INFO[listitem.thumb]</texture>
<bordersize>0</bordersize>
<colordiffuse>ffFFFFFF</colordiffuse>
</control>
<control type="label">
<posx>2-col-indent</posx>
<posy>0</posy>
<width>8-col-gutter</width>
<height>2-row</height>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label]</label>
</control>
<control type="label">
<posx>2-col-indent</posx>
<posy>1-row</posy>
<width>8-col-gutter</width>
<height>2-row</height>
<font>itemSubTitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
</control>
</itemlayout>
<focusedlayout width="10-col" height="2-col">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>2-col-textbox</width>
<height>2-col-textbox</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture border="0" fallback="colors/offblack.png">$INFO[listitem.thumb]</texture>
<bordersize>0</bordersize>
<colordiffuse>ffFFFFFF</colordiffuse>
<animation type="focus" loop="false" reversible="false">
<effect type="rotatey" start="0" end="-15" center="70" tween="back" easing="out" time="300"/>
<effect type="rotatey" start="0" end="15" center="70" tween="back" easing="out" delay="300" time="300"/>
</animation>
</control>
<control type="image">
<posx>2-col</posx>
<posy>0</posy>
<width>8-col</width>
<height>2-col-textbox</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
<colordiffuse>ffFFFFFF</colordiffuse>
</control>
<control type="label">
<posx>2-col-indent</posx>
<posy>0</posy>
<width>8-col-gutter</width>
<height>2-row</height>
<font>itemTitle</font>
<textcolor>black</textcolor>
<label>$INFO[ListItem.label]</label>
</control>
<control type="label">
<posx>2-col-indent</posx>
<posy>1-row</posy>
<width>8-col-gutter</width>
<height>2-row</height>
<font>itemSubTitle</font>
<textcolor>black</textcolor>
<label>$INFO[ListItem.label2]</label>
</control>
</focusedlayout>
</control>
</control>
<!--buttons-->
<control type="group">
<visible>false</visible>

View File

@ -10,106 +10,165 @@
<height>4</height>
<enable>false</enable>
<preloaditems>2</preloaditems>
<itemlayout />
<focusedlayout />
<itemlayout/>
<focusedlayout/>
<content>$VAR[extraFanartLocation]</content>
</control>
<!--
<control type="image">
<visible>Integer.IsGreater(container(99999).numitems,0) + !Skin.HasSetting(disableExtendedFanart)</visible>
<include>dimensionsFullscreen</include>
<texture>$INFO[container(99999).listitem.filenameandpath,,]</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
-->
<control type="grouplist" id="99998">
<posx>0</posx>
<posy>row-7-begin</posy>
<width>fullscreenWidth</width>
<posx>col-1-begin</posx>
<posy>row-4-begin</posy>
<width>24-col</width>
<height>fullscreenHeight</height>
<itemgap>36</itemgap>
<scrolltime tween="sine" easing="out">1000</scrolltime>
<itemgap>2-col</itemgap>
<pagecontrol>62</pagecontrol>
<scrolltime tween="sine" easing="out">500</scrolltime>
<orientation>horizontal</orientation>
<!--NOOO!! set images to be buttons instead???-->
<control type="image">
<width>960</width>
<height>540</height>
<texture>$INFO[container(99999).ListItemNoWrap(0).filenameandpath,,]</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
<usecontrolcoords>true</usecontrolcoords>
<animation type="windowopen">
<effect type="fade" start="0" end="100" delay="250" time="1000"/>
</animation>
<control type="label">
<visible>!isempty(ListItem.tagline)</visible>
<posx>0</posx>
<posy>0</posy>
<width>756</width>
<height>756</height>
<font>large</font>
<align>center</align>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.tagline]</label>
<wrapmultiline>true</wrapmultiline>
</control>
<control type="image" id="100">
<width>360</width>
<height>540</height>
<control type="image">
<visible>!isempty(ListItem.art(poster))</visible>
<posx>0</posx>
<width>504</width>
<height>756</height>
<texture>$INFO[listitem.art(poster)]</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
<bordertexture border="3">colors/white.png</bordertexture>
<bordersize>3</bordersize>
</control>
<control type="image">
<visible>!isempty(container(99999).ListItemNoWrap(1).filenameandpath,,)</visible>
<width>960</width>
<height>540</height>
<visible>!isempty(ListItem.art(fanart))</visible>
<width>1344</width>
<height>756</height>
<texture>$INFO[listitem.art(fanart)]</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
<bordertexture border="3">colors/white.png</bordertexture>
<bordersize>3</bordersize>
</control>
<control type="panel" id="50">
<posx>0</posx>
<posy>12</posy>
<width>20-col</width>
<height>756</height>
<enable>false</enable>
<itemlayout width="5-col" height="388">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>300</width>
<height>300</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture border="0" fallback="colors/offblack.png">$INFO[listitem.thumb]</texture>
<bordertexture border="3">colors/white.png</bordertexture>
<bordersize>3</bordersize>
<colordiffuse>ffFFFFFF</colordiffuse>
</control>
<control type="group">
<posy>12</posy>
<control type="label">
<posx>12</posx>
<posy>290</posy>
<width>5-col-gutter</width>
<height>1-row</height>
<font>thumbtitle</font>
<textcolor>textActive</textcolor>
<label>[B]$INFO[ListItem.label][/B]</label>
</control>
<control type="label">
<posx>12</posx>
<posy>314</posy>
<width>5-col-gutter</width>
<height>1-row</height>
<font>thumbtitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
</control>
</control>
</itemlayout>
<focusedlayout/>
</control>
<control type="image">
<visible>!isempty(container(99999).ListItemNoWrap(0).filenameandpath) + !Skin.HasSetting(disableExtendedFanart)</visible>
<width>1344</width>
<height>756</height>
<texture>$INFO[container(99999).ListItemNoWrap(0).filenameandpath,,]</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
<bordertexture border="3">colors/white.png</bordertexture>
<bordersize>3</bordersize>
</control>
<control type="image">
<visible>!isempty(listitem.art(discart))</visible>
<width>756</width>
<height>756</height>
<texture>$INFO[listitem.art(discart)]</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<visible>!isempty(container(99999).ListItemNoWrap(1).filenameandpath) + !Skin.HasSetting(disableExtendedFanart)</visible>
<width>1344</width>
<height>756</height>
<texture>$INFO[container(99999).ListItemNoWrap(1).filenameandpath,,]</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
<bordertexture border="3">colors/white.png</bordertexture>
<bordersize>3</bordersize>
</control>
<control type="image">
<visible>!isempty(container(99999).ListItemNoWrap(2).filenameandpath,,)</visible>
<width>960</width>
<height>540</height>
<visible>!isempty(container(99999).ListItemNoWrap(2).filenameandpath) + !Skin.HasSetting(disableExtendedFanart)</visible>
<width>1344</width>
<height>756</height>
<texture>$INFO[container(99999).ListItemNoWrap(2).filenameandpath,,]</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
<bordertexture border="3">colors/white.png</bordertexture>
<bordersize>3</bordersize>
</control>
<control type="image">
<visible>!isempty(container(99999).ListItemNoWrap(3).filenameandpath,,)</visible>
<width>960</width>
<height>540</height>
<visible>!isempty(container(99999).ListItemNoWrap(3).filenameandpath) + !Skin.HasSetting(disableExtendedFanart)</visible>
<width>1344</width>
<height>756</height>
<texture>$INFO[container(99999).ListItemNoWrap(3).filenameandpath,,]</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
<bordertexture border="3">colors/white.png</bordertexture>
<bordersize>3</bordersize>
</control>
<control type="image">
<visible>!isempty(container(99999).ListItemNoWrap(4).filenameandpath,,)</visible>
<width>960</width>
<height>540</height>
<visible>!isempty(container(99999).ListItemNoWrap(4).filenameandpath) + !Skin.HasSetting(disableExtendedFanart)</visible>
<width>1344</width>
<height>756</height>
<texture>$INFO[container(99999).ListItemNoWrap(4).filenameandpath,,]</texture>
<colordiffuse>ffffffff</colordiffuse>
<aspectratio>stretch</aspectratio>
<bordertexture border="3">colors/white.png</bordertexture>
<bordersize>3</bordersize>
</control>
</control>
<control type="group">
<control type="button" id="1">
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<onleft>2</onleft>
<onright>2</onright>
<onclick>Control.setfocus(99998,3)</onclick>
<control type="scrollbar" id="62">
<posx>col-6-begin</posx>
<posy>row-26-begin</posy>
<height>12</height>
<width>8-col</width>
<orientation>horizontal</orientation>
</control>
<control type="button" id="2">
<posx>1-col</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<onleft>1</onleft>
<onright>1</onright>
<onclick>Control.Move(99998,1)</onclick>
</control>
</control>
</include>
</includes>

View File

@ -1,6 +1,8 @@
**Changelog**
[PLANNED WORKS]
- showcase media -- Add main cast mugshots / polaroid style with labels
- ensure spotlight disabled when no content
[V1.2.0]