Skip to content

Commit

Permalink
Added LaTropa64's Cast Mod (For Movie and Tv info panels)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tension113 authored and Tension113 committed Jul 13, 2009
1 parent 9beee01 commit eb1ca21
Show file tree
Hide file tree
Showing 3 changed files with 243 additions and 3 deletions.
22 changes: 22 additions & 0 deletions 720p/DialogSelect.xml
@@ -1,5 +1,10 @@
<window type="dialog" id="2000">
<defaultcontrol>3</defaultcontrol>

<!-- castmod let window appear in front of video info -->
<zorder>3</zorder>
<!-- end castmod let window appear in front of video info -->

<coordinates>
<system>1</system>
<posx>0</posx>
Expand All @@ -17,6 +22,23 @@
<texture>osd/osd_settings_back.png</texture>
</control>

<!-- castmod keeps plot/cast button from disappearing -->
<control type="button" id="5">
<description>manual button</description>
<posx>12</posx>
<posy>330</posy>
<width>90</width>
<align>center</align>
<label>368</label>
<font>font10</font>
<onleft>3</onleft>
<onright>3</onright>
<onup>3</onup>
<ondown>3</ondown>
</control>
<!-- end castmod keeps plot/cast button from disappearing -->


<control type="list" id="3">
<posx>250</posx>
<posy>155</posy>
Expand Down
204 changes: 201 additions & 3 deletions 720p/DialogVideoInfo.xml
Expand Up @@ -278,7 +278,8 @@
<include>Colour_OffWhite</include>
</control>

<control type="grouplist" id="9000">
<!-- castmod original buttons removed -->
<!-- <control type="grouplist" id="9000">
<include>Objects_FSInfoMenu</include>
<animation effect="slide" start="0,27" end="0,27" time="0" condition="true">Conditional</animation>
Expand Down Expand Up @@ -310,7 +311,121 @@
<include>Objects_FSInfoButton</include>
<visible>!IsEmpty(ListItem.Trailer)</visible>
</control>
</control>
</control> -->
<!-- end castmod original buttons removed -->

<!-- castmod new buttons added-->
<control type="group" id="9000">
<posx>-45</posx>
<posy>325</posy>
<control type="button" id ="5">
<description>Plot/Cast</description>
<posx>0</posx>
<posy>0</posy>
<width>135</width>
<height>29</height>
<label>206</label>
<align>center</align>
<include>Objects_FSInfoButton</include>
<onleft>11</onleft>
<onright>8</onright>
<onup>50</onup>
<ondown>50</ondown>
</control>
<control type="togglebutton" id ="8">
<description>Play/Browse to Show</description>
<posx>72</posx>
<posy>0</posy>
<width>135</width>
<height>29</height>
<label>31411</label>
<align>center</align>
<aligny>center</aligny>
<include>Objects_FSInfoButton</include>
<altlabel>1024</altlabel>
<usealttexture>Container.Content(TVShows)</usealttexture>
<onleft>5</onleft>
<onright>9</onright>
<onup>50</onup>
<ondown>50</ondown>
</control>
<control type="button" id ="9">
<description>Resume</description>
<posx>159</posx>
<posy>0</posy>
<width>135</width>
<height>29</height>
<label>13404</label>
<align>center</align>
<include>Objects_FSInfoButton</include>
<onleft>8</onleft>
<onright>6</onright>
<onup>8</onup>
<ondown>6</ondown>
<visible>!Container.Content(TVShows)</visible>
</control>
<control type="button" id ="6">
<description>Refresh</description>
<posx>250</posx>
<posy>0</posy>
<width>135</width>
<height>29</height>
<label>31410</label>
<align>center</align>
<include>Objects_FSInfoButton</include>
<onleft>9</onleft>
<onright>10</onright>
<onup>50</onup>
<ondown>50</ondown>
<animation effect="slide" start="0,0" end="0,-30" time="0" condition="Container.Content(TVShows)">conditional</animation>
</control>
<control type="button" id ="10">
<description>Get Thumb</description>
<posx>335</posx>
<posy>0</posy>
<width>135</width>
<height>29</height>
<label>31418</label>
<align>center</align>
<include>Objects_FSInfoButton</include>
<onleft>6</onleft>
<onright>12</onright>
<onup>50</onup>
<ondown>50</ondown>
<animation effect="slide" start="0,0" end="0,-30" time="0" condition="Container.Content(TVShows)">conditional</animation>
</control>
<control type="button" id ="12">
<description>Get Fanart</description>
<posx>420</posx>
<posy>0</posy>
<width>135</width>
<height>29</height>
<label>31412</label>
<align>center</align>
<include>Objects_FSInfoButton</include>
<onleft>10</onleft>
<onright>11</onright>
<onup>50</onup>
<ondown>50</ondown>
<visible>!Container.Content(TVShows)</visible>
</control>
<control type="button" id ="11">
<description>Trailer</description>
<posx>512</posx>
<posy>0</posy>
<width>135</width>
<height>29</height>
<label>31409</label>
<align>center</align>
<include>Objects_FSInfoButton</include>
<onleft>12</onleft>
<onright>5</onright>
<onup>50</onup>
<ondown>50</ondown>
<visible>!IsEmpty(ListItem.Trailer)</visible>
</control>
</control>
<!-- end castmod new buttons added-->

<control type="textbox">
<description>Plot</description>
Expand All @@ -323,6 +438,9 @@
<label fallback="31414">$INFO[ListItem.Plot]</label>
<autoscroll delay="15000" time="1000" repeat="10000">Skin.HasSetting(allowscroll)</autoscroll>
<include>Colour_OffWhite</include>
<!-- castmod prevents it from showing when cast container shows -->
<visible>!Control.IsVisible(50)</visible>
<!-- end castmod prevents it from showing when cast container shows -->
</control>

<control type="label">
Expand Down Expand Up @@ -475,6 +593,13 @@

<control type="grouplist" id="9000">
<include>Objects_FSInfoMenu</include>
<ondown>50</ondown>

<control type="button" id="5">
<label>206</label>
<align>center</align>
<include>Objects_FSInfoButton</include>
</control>

<control type="button" id="8">
<label>31411</label>
Expand Down Expand Up @@ -504,7 +629,7 @@
<include>Objects_FSInfoButton</include>
<visible>!IsEmpty(ListItem.Trailer)</visible>
</control>
</control>
</control>

<control type="textbox">
<description>Plot</description>
Expand All @@ -517,6 +642,7 @@
<autoscroll delay="15000" time="1000" repeat="10000">Skin.HasSetting(allowscroll)</autoscroll>
<label fallback="31414">$INFO[ListItem.Plot]</label>
<include>Colour_OffWhite</include>
<visible>!Control.IsVisible(50)</visible>
</control>

<control type="label">
Expand Down Expand Up @@ -725,6 +851,78 @@
</control>

<!--<include>Background_ContextBlack</include>-->

<!-- castmod displays selectable cast -->
<control type="list" id="50">
<description>Cast List Container</description>
<include condition="Container.Content(movies)">Infocast_Movies</include>
<include condition="Container.Content(tvshows)">Infocast_Tv</include>
<width>370</width>
<height>206</height>
<font>Font_FSInfoPlot</font>
<onleft>9000</onleft>
<onright>9000</onright>
<onup>9000</onup>
<ondown>50</ondown>
<orientation>vertical</orientation>
<itemlayout width="250" height="29">
<control type="image">
<posx>0</posx>
<posy>3</posy>
<width>22</width>
<height>22</height>
<texture>DefaultActorBig.png</texture>
<info>ListItem.Icon</info>
</control>
<control type="label">
<posx>30</posx>
<posy>3</posy>
<width>370</width>
<height>22</height>
<font>Font_FSInfoPlot</font>
<include>Colour_Grey</include>
<aligny>center</aligny>
<align>left</align>
<info>ListItem.Label</info>
</control>
</itemlayout>
<focusedlayout height="29" width="250">
<control type="image">
<posx>0</posx>
<posy>3</posy>
<width>22</width>
<height>22</height>
<texture>DefaultActorBig.png</texture>
<info>ListItem.Icon</info>
</control>
<control type="label">
<posx>30</posx>
<posy>3</posy>
<width>370</width>
<height>22</height>
<font>Font_FSInfoPlot</font>
<aligny>center</aligny>
<textcolor>FFFFFFFF</textcolor>
<align>left</align>
<info>ListItem.Label</info>
</control>
</focusedlayout>
</control>
<control type="group">
<visible>Control.IsVisible(50)</visible>
<animation effect="slide" start="0,0" end="25,0" time="0" condition="!Control.IsVisible(61)">conditional</animation>
<control type="image">
<description>Actor image</description>
<include condition="Container.Content(movies)">Actorimage_Movies</include>
<include condition="Container.Content(tvshows)">Actorimage_Tv</include>
<width>150</width>
<height>200</height>
<info>Container(50).ListItem.Icon</info>
<aspectratio aligny="center">keep</aspectratio>
<align>center</align>
</control>
</control>
<!-- castmod displays selectable cast -->

</controls>
</window>
20 changes: 20 additions & 0 deletions 720p/Includes_Objects.xml
Expand Up @@ -711,6 +711,26 @@
<font>Font_FSInfoData</font>
<include>Colour_OffWhite</include>
</include>

<include name="Infocast_Movies">
<posx>550</posx>
<posy>410</posy>
</include>

<include name="Infocast_Tv">
<posx>550</posx>
<posy>385</posy>
</include>

<include name="Actorimage_Movies">
<posx>920</posx>
<posy>410</posy>
</include>

<include name="Actorimage_Tv">
<posx>920</posx>
<posy>395</posy>
</include>

<include name="Objects_BookmarkMenu">
<posx>3</posx>
Expand Down

0 comments on commit eb1ca21

Please sign in to comment.