Skip to content

Commit

Permalink
Redesign: Banner view
Browse files Browse the repository at this point in the history
  • Loading branch information
Sranshaft committed Apr 1, 2013
1 parent a3cb3a7 commit 4c83ce4
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 55 deletions.
35 changes: 11 additions & 24 deletions 720p/Font.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,7 @@

<!--Appbar Fonts-->

<!-- Forum Browser Fonts Mod -->
<font>
<name>ForumBrowser-font10</name>
<filename>ForumBrowser-DejaVuSans.ttf</filename>
<size>12</size>
</font>
<font>
<name>ForumBrowser-font12</name>
<filename>ForumBrowser-DejaVuSans.ttf</filename>
<size>16</size>
</font>
<font>
<name>ForumBrowser-font13</name>
<filename>ForumBrowser-DejaVuSans.ttf</filename>
<size>20</size>
</font>
<font>
<name>ForumBrowser-font30</name>
<filename>ForumBrowser-DejaVuSans.ttf</filename>
<size>30</size>
</font>

<font>
<name>Appbar-Label</name>
<filename>SegoeWP-Bold.ttf</filename>
<size>22</size>
Expand Down Expand Up @@ -370,6 +348,14 @@
<style>lowercase</style>
</font>

<font>
<name>Menu-Banner-Header</name>
<filename>SegoeWP-Black.ttf</filename>
<style>uppercase</style>
<linespacing>0.65</linespacing>
<size>20</size>
</font>

<font>
<name>Menu-Details-Header</name>
<filename>SegoeWP-Black.ttf</filename>
Expand Down Expand Up @@ -697,7 +683,7 @@
<font>
<name>Settings-Menu-Header</name>
<filename>SegoeWP-SemiLight.ttf</filename>
<size>48</size>
<size>36</size>
</font>

<font>
Expand Down Expand Up @@ -1063,6 +1049,7 @@
<filename>Arial.ttf</filename>
<size>20</size>
</font>

</fontset>

</fonts>
110 changes: 85 additions & 25 deletions 720p/Includes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,8 @@
<texture background="true">colors/color_white.png</texture>
<colordiffuse>FanartDiffuse</colordiffuse>

<include>Common_Animation_Window_Dark</include>

</control>

<control type="image">
Expand Down Expand Up @@ -919,6 +921,37 @@

</include>

<include name="Common_ContextMenu_Header">

<posx>80</posx>
<posy>22</posy>
<width>420</width>
<height>32</height>
<font>Settings-Menu-Header</font>
<textcolor>Label_Normal</textcolor>
<aligny>top</aligny>

</include>

<include name="Common_ContextMenu_Header_Back">

<control type="button">

<posx>30</posx>
<posy>30</posy>
<posy>60</posy>
<width>32</width>
<height>32</height>
<texturefocus aligny="center">breadcrumb/breadcrumb_backarrow_focus.png</texturefocus>
<texturenofocus aligny="center">breadcrumb/breadcrumb_backarrow.png</texturenofocus>
<aspectratio>keep</aspectratio>
<colordiffuse>Label_Normal</colordiffuse>
<onclick>back</onclick>

</control>

</include>

<include name="Common_Control_Button">

<width>60</width>
Expand Down Expand Up @@ -2043,6 +2076,37 @@

</include>

<include name="Common_Settings_Header">

<posx>80</posx>
<posy>22</posy>
<width>420</width>
<height>32</height>
<font>Settings-Menu-Header</font>
<textcolor>Settings_Header</textcolor>
<aligny>top</aligny>

</include>

<include name="Common_Settings_Header_Back">

<control type="button">

<posx>30</posx>
<posy>30</posy>
<posy>60</posy>
<width>32</width>
<height>32</height>
<texturefocus aligny="center">breadcrumb/breadcrumb_backarrow_focus.png</texturefocus>
<texturenofocus aligny="center">breadcrumb/breadcrumb_backarrow.png</texturenofocus>
<aspectratio>keep</aspectratio>
<colordiffuse>Settings_Menu_Normal</colordiffuse>
<onclick>back</onclick>

</control>

</include>

<include name="Common_Settings_Label">

<width>520</width>
Expand Down Expand Up @@ -2070,7 +2134,7 @@
<textcolor>Settings_Label</textcolor>
<focusedcolor>Settings_Label_Highlight</focusedcolor>
<disabledcolor>Settings_Label_Disabled</disabledcolor>
<textoffsetx>60</textoffsetx>
<textoffsetx>80</textoffsetx>
<align>left</align>
<aligny>center</aligny>

Expand All @@ -2080,8 +2144,8 @@

<posx>0</posx>
<posy>0</posy>
<width>690</width>
<height>370</height>
<width>500</width>
<height>280</height>
<aspectratio>stretch</aspectratio>

</include>
Expand Down Expand Up @@ -2529,17 +2593,17 @@

<posx>0</posx>
<posy>0</posy>
<width>758</width>
<height>140</height>
<width>500</width>
<height>86</height>
<texture background="true" fallback="colors/color_keyboard_dark.png">$INFO[ListItem.Art(banner)]</texture>
<aspectratio>stretch</aspectratio>
<aspectratio aligny="top">scale</aspectratio>

</control>

<control type="group">

<posx>0</posx>
<posy>108</posy>
<posy>54</posy>
<width>32</width>
<height>32</height>

Expand All @@ -2549,54 +2613,50 @@

<control type="textbox">

<posx>20</posx>
<posy>145</posy>
<width>758</width>
<height>34</height>
<posx>10</posx>
<posy>88</posy>
<width>400</width>
<height>24</height>
<label>$INFO[ListItem.TVShowTitle]</label>
<font>Menu-Details-Header</font>
<font>Menu-Banner-Header</font>
<textcolor>Label_Normal</textcolor>
<aligny>top</aligny>
<wrapmultiline>true</wrapmultiline>
<autoscroll>0</autoscroll>

</control>

<control type="textbox">

<posx>20</posx>
<posy>175</posy>
<width>500</width>
<posx>10</posx>
<posy>110</posy>
<width>400</width>
<height>24</height>
<label>$INFO[ListItem.Studio]</label>
<font>Menu-Details</font>
<textcolor>Label_Normal</textcolor>
<aligny>top</aligny>
<autoscroll>0</autoscroll>

</control>

<control type="textbox">

<posx>-20</posx>
<posy>175</posy>
<width>758</width>
<posx>10</posx>
<posy>110</posy>
<width>480</width>
<height>24</height>
<label>$INFO[ListItem.Property(TotalEpisodes),, Episodes]</label>
<font>Menu-Details</font>
<textcolor>Label_Normal</textcolor>
<align>right</align>
<aligny>top</aligny>
<autoscroll>0</autoscroll>

</control>

<control type="image">

<posx>612</posx>
<posy>152</posy>
<posx>362</posx>
<posy>92</posy>
<width>128</width>
<height>34</height>
<height>24</height>
<texture background="true">$INFO[ListItem.StarRating]</texture>
<colordiffuse>Label_Normal</colordiffuse>
<aspectratio align="right">keep</aspectratio>
Expand Down
12 changes: 6 additions & 6 deletions 720p/ViewBanner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@

<include>Common_Animation_HideWhenScrolling</include>

<itemlayout width="778" height="230">
<itemlayout width="520" height="160">

<control type="image">

<width>758</width>
<height>210</height>
<width>500</width>
<height>140</height>
<texture border="2">colors/color_white.png</texture>
<colordiffuse>FanartDiffuse</colordiffuse>

Expand All @@ -51,12 +51,12 @@

</itemlayout>

<focusedlayout width="778" height="230">
<focusedlayout width="520" height="160">

<control type="image">

<width>758</width>
<height>210</height>
<width>500</width>
<height>140</height>
<texture border="2">colors/color_white.png</texture>
<colordiffuse>Background_Highlight</colordiffuse>

Expand Down

0 comments on commit 4c83ce4

Please sign in to comment.