Skip to content

Commit

Permalink
[MovingPictures] *rework default thumbview layout to show thumbs on t…
Browse files Browse the repository at this point in the history
…he right and details on the left

*added release date and plot keywords in details view
*added support for Trailers plugin
*fixed rating dialog
*fixed pin dialog
*fixed wrong label in details view
  • Loading branch information
ncoH committed Dec 29, 2013
1 parent 369b739 commit 50fb265
Show file tree
Hide file tree
Showing 14 changed files with 1,226 additions and 156 deletions.
134 changes: 134 additions & 0 deletions extensions/MovingPictures/DialogPinCode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
<id>9915</id>
<defaultcontrol>10</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<controls>
<import>common.dialog.xml</import>
<control>
<id>1</id>
<description>PinCode Item 1</description>
<type>image</type>
<onup>101</onup>
<posX>820</posX>
<posY>811</posY>
<width>53</width>
<height>41</height>
<texture>starblack_rating.png</texture>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="slide" start="0,150" end="0,0" tween="quadratic" easing="in" time="200" delay="0">WindowOpen</animation>
<animation effect="fade" time="0">WindowClose</animation>
</control>
<control>
<id>100</id>
<description>PinCode Item 1</description>
<type>image</type>
<onup>101</onup>
<posX>820</posX>
<posY>811</posY>
<width>53</width>
<height>41</height>
<texture>starblue_rating.png</texture>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="slide" start="0,150" end="0,0" tween="quadratic" easing="in" time="200" delay="0">WindowOpen</animation>
<animation effect="fade" time="0">WindowClose</animation>
</control>
<control>
<id>1</id>
<description>PinCode Item 2</description>
<type>image</type>
<onup>101</onup>
<posX>873</posX>
<posY>811</posY>
<width>53</width>
<height>41</height>
<texture>starblack_rating.png</texture>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="slide" start="0,150" end="0,0" tween="quadratic" easing="in" time="200" delay="0">WindowOpen</animation>
<animation effect="fade" time="0">WindowClose</animation>
</control>
<control>
<id>101</id>
<description>PinCode Item 2</description>
<type>image</type>
<onup>102</onup>
<posX>873</posX>
<posY>811</posY>
<width>53</width>
<height>41</height>
<texture>starblue_rating.png</texture>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="slide" start="0,150" end="0,0" tween="quadratic" easing="in" time="200" delay="0">WindowOpen</animation>
<animation effect="fade" time="0">WindowClose</animation>
</control>
<control>
<id>1</id>
<description>PinCode Item 3</description>
<type>image</type>
<onup>101</onup>
<posX>926</posX>
<posY>811</posY>
<width>53</width>
<height>41</height>
<texture>starblack_rating.png</texture>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="slide" start="0,150" end="0,0" tween="quadratic" easing="in" time="200" delay="0">WindowOpen</animation>
<animation effect="fade" time="0">WindowClose</animation>
</control>
<control>
<id>102</id>
<description>PinCode Item 3</description>
<type>image</type>
<onup>103</onup>
<posX>926</posX>
<posY>811</posY>
<width>53</width>
<height>41</height>
<texture>starblue_rating.png</texture>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="slide" start="0,150" end="0,0" tween="quadratic" easing="in" time="200" delay="0">WindowOpen</animation>
<animation effect="fade" time="0">WindowClose</animation>
</control>
<control>
<id>1</id>
<description>PinCode Item 4</description>
<type>image</type>
<onup>101</onup>
<posX>979</posX>
<posY>811</posY>
<width>53</width>
<height>41</height>
<texture>starblack_rating.png</texture>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="slide" start="0,150" end="0,0" tween="quadratic" easing="in" time="200" delay="0">WindowOpen</animation>
<animation effect="fade" time="0">WindowClose</animation>
</control>
<control>
<id>103</id>
<description>PinCode Item 4</description>
<type>image</type>
<onup>104</onup>
<posX>979</posX>
<posY>811</posY>
<width>53</width>
<height>41</height>
<texture>starblue_rating.png</texture>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="slide" start="0,150" end="0,0" tween="quadratic" easing="in" time="200" delay="0">WindowOpen</animation>
<animation effect="fade" time="0">WindowClose</animation>
</control>
<control>
<id>6</id>
<description>Feedback</description>
<type>label</type>
<posX>575</posX>
<posY>866</posY>
<width>768</width>
<align>center</align>
<textcolor>ff393939</textcolor>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="slide" start="0,150" end="0,0" tween="quadratic" easing="in" time="200" delay="0">WindowOpen</animation>
<animation effect="fade" time="0">WindowClose</animation>
</control>
</controls>
</window>
81 changes: 81 additions & 0 deletions extensions/MovingPictures/dialogGeneralRating.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
<id>28380</id>
<defaultcontrol>10</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<controls>
<import>common.dialog.xml</import>
<control>
<description>group element</description>
<type>group</type>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="0">WindowClose</animation>
<animation effect="slide" start="0,200" end="0,0" tween="quadratic" easing="in" time="150" delay="0">WindowOpen</animation>
<control>
<description>1 Star</description>
<type>checkmark</type>
<id>100</id>
<posX>830</posX>
<posY>766</posY>
<width>53</width>
<height>41</height>
<textureCheckmark>starblue_rating.png</textureCheckmark>
<textureCheckmarkNoFocus>starblack_rating.png</textureCheckmarkNoFocus>
</control>
<control>
<description>2 Star</description>
<type>checkmark</type>
<id>101</id>
<posX>880</posX>
<posY>766</posY>
<width>53</width>
<height>41</height>
<textureCheckmark>starblue_rating.png</textureCheckmark>
<textureCheckmarkNoFocus>starblack_rating.png</textureCheckmarkNoFocus>
</control>
<control>
<description>3 Star</description>
<type>checkmark</type>
<id>102</id>
<posX>930</posX>
<posY>766</posY>
<width>53</width>
<height>41</height>
<textureCheckmark>starblue_rating.png</textureCheckmark>
<textureCheckmarkNoFocus>starblack_rating.png</textureCheckmarkNoFocus>
</control>
<control>
<description>4 Star</description>
<type>checkmark</type>
<id>103</id>
<posX>980</posX>
<posY>766</posY>
<width>53</width>
<height>41</height>
<textureCheckmark>starblue_rating.png</textureCheckmark>
<textureCheckmarkNoFocus>starblack_rating.png</textureCheckmarkNoFocus>
</control>
<control>
<description>5 Star</description>
<type>checkmark</type>
<id>104</id>
<posX>1030</posX>
<posY>766</posY>
<width>53</width>
<height>41</height>
<textureCheckmark>starblue_rating.png</textureCheckmark>
<textureCheckmarkNoFocus>starblack_rating.png</textureCheckmarkNoFocus>
</control>
<control>
<id>7</id>
<description>Selected Rating</description>
<type>label</type>
<posX>575</posX>
<posY>866</posY>
<width>768</width>
<align>center</align>
<textcolor>ff393939</textcolor>
</control>
</control>
</controls>
</window>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion extensions/MovingPictures/movingpictures.background.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<posY>252</posY>
<width>1903</width>
<height>790</height>
<texture>panel_thumbs.png</texture>
<texture>panel_thumbs2.png</texture>
<visible>[facadeview.smallicons | facadeview.largeicons] + Control.IsVisible(50)</visible>
<animation effect="fade" time="250">WindowOpen</animation>
<animation effect="fade" time="250">WindowClose</animation>
Expand Down
72 changes: 59 additions & 13 deletions extensions/MovingPictures/movingpictures.details.lite.xml
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ This file should contain the details view
<label>-</label>
<onup>700</onup>
<ondown>700</ondown>
<onleft>800</onleft>
<onleft>11899</onleft>
<onright>6</onright>
<width>58</width>
<height>59</height>
Expand All @@ -280,16 +280,14 @@ This file should contain the details view
<type>button</type>
<posX>563</posX>
<posY>888</posY>
<id>800</id>
<id>11899</id>
<label>-</label>
<onup>800</onup>
<ondown>800</ondown>
<onup>11899</onup>
<ondown>11899</ondown>
<onleft>10003</onleft>
<onright>700</onright>
<width>58</width>
<height>59</height>
<hyperlink>4755</hyperlink>
<hyperlinkParameter>site:YouTube|search:#MovingPictures.SelectedMovie.title #MovingPictures.SelectedMovie.year trailer|return:Locked</hyperlinkParameter>
<textureFocus>movie_details_trailer_focus.png</textureFocus>
<textureNoFocus>movie_details_trailer_nofocus.png</textureNoFocus>
<visible>!Control.IsVisible(50)+!Control.IsVisible(51) + !Control.HasFocus(10001)+ !Control.HasFocus(10002) + !Control.HasFocus(10003)</visible>
Expand Down Expand Up @@ -673,7 +671,7 @@ This file should contain the details view
<type>label</type>
<id>1</id>
<posX>585</posX>
<posY>556</posY>
<posY>546</posY>
<label>#Titan.AudioFormat</label>
<visible>Control.HasFocus(10002)</visible>
<animation effect="fade" time="400">Visible</animation>
Expand All @@ -684,7 +682,7 @@ This file should contain the details view
<type>fadelabel</type>
<id>1</id>
<posX>840</posX>
<posY>556</posY>
<posY>546</posY>
<label>#MovingPictures.LocalMedia.audiocodec</label>
<visible>Control.HasFocus(10002)</visible>
<animation effect="fade" time="400">Visible</animation>
Expand Down Expand Up @@ -718,7 +716,7 @@ This file should contain the details view
<id>1</id>
<posX>585</posX>
<posY>670</posY>
<label>#Titan.DateAdded</label>
<label>#MovingPictures.Translation.ReleaseDate.Label</label>
<visible>Control.HasFocus(10002)</visible>
<animation effect="fade" time="400">Visible</animation>
<animation effect="fade" time="0">WindowClose</animation>
Expand All @@ -729,7 +727,29 @@ This file should contain the details view
<id>1</id>
<posX>840</posX>
<posY>670</posY>
<label>#MovingPictures.SelectedMovie.date_added</label>
<label>#MovingPictures.SelectedMovie.release_date.localized.short</label>
<visible>Control.HasFocus(10002)</visible>
<animation effect="fade" time="400">Visible</animation>
<animation effect="fade" time="0">WindowClose</animation>
</control>

<control Style="InfoLabelDetails">
<type>label</type>
<id>1</id>
<posX>585</posX>
<posY>711</posY>
<label>#MovingPictures.Translation.DateAdded.Label</label>
<visible>Control.HasFocus(10002)</visible>
<animation effect="fade" time="400">Visible</animation>
<animation effect="fade" time="0">WindowClose</animation>
</control>

<control Style="InfoValueDetails">
<type>fadelabel</type>
<id>1</id>
<posX>840</posX>
<posY>711</posY>
<label>#MovingPictures.SelectedMovie.date_added.localized.short</label>
<visible>Control.HasFocus(10002)</visible>
<animation effect="fade" time="400">Visible</animation>
<animation effect="fade" time="0">WindowClose</animation>
Expand All @@ -739,6 +759,32 @@ This file should contain the details view
<type>label</type>
<id>1</id>
<posX>585</posX>
<posY>752</posY>
<label>Plot Keywords</label>
<visible>Control.HasFocus(10002)</visible>
<animation effect="fade" time="400">Visible</animation>
<animation effect="fade" time="0">WindowClose</animation>
</control>

<control Style="InfoValueDetails">
<type>textboxscrollup</type>
<id>1</id>
<posX>840</posX>
<posY>752</posY>
<width>1000</width>
<height>70</height>
<scrollStartDelaySec>999999</scrollStartDelaySec>
<lineSpacing>0.92</lineSpacing>
<label>#MovingPictures.SelectedMovie.plotkeywords</label>
<visible>Control.HasFocus(10002)</visible>
<animation effect="fade" time="400">Visible</animation>
<animation effect="fade" time="0">WindowClose</animation>
</control>

<control Style="InfoLabelDetails">
<type>label</type>
<id>1</id>
<posX>1142</posX>
<posY>711</posY>
<label>#Titan.MediaType</label>
<visible>Control.HasFocus(10002)</visible>
Expand All @@ -749,7 +795,7 @@ This file should contain the details view
<control Style="InfoValueDetails">
<type>fadelabel</type>
<id>1</id>
<posX>840</posX>
<posX>1395</posX>
<posY>711</posY>
<label>#MovingPictures.LocalMedia.videoformat</label>
<visible>Control.HasFocus(10002)</visible>
Expand Down Expand Up @@ -783,7 +829,7 @@ This file should contain the details view
<type>label</type>
<id>1</id>
<posX>585</posX>
<posY>796</posY>
<posY>836</posY>
<label>#Titan.InfoUrl</label>
<visible>Control.HasFocus(10002)</visible>
<animation effect="fade" time="400">Visible</animation>
Expand All @@ -794,7 +840,7 @@ This file should contain the details view
<type>fadelabel</type>
<id>1</id>
<posX>840</posX>
<posY>796</posY>
<posY>836</posY>
<width>770</width>
<font>TitanLight14</font>
<textcolor>FFffffff</textcolor>
Expand Down
Loading

0 comments on commit 50fb265

Please sign in to comment.