[MOD] wide icon view
#1
Image

i made this view modding the landscape view. i have a 4/3 monitor so if you try in a 16/9 the result may be different.

here the code:

Code:
<!--Alaska-->

<includes>

    <include name="Viewtype_Landscape">

        <!-- Browser -->

        <control type="wraplist" id="52">
            <posx>30</posx>
            <posy>90</posy>
            <height>800</height>
            <width>1690</width>
            <onleft>300</onleft>
            <onright>300</onright>
            <onup>7000</onup>
            <ondown>7000</ondown>            
            <viewtype label="Landscape">list</viewtype>
            <orientation>vertical</orientation>
            <focusposition>2</focusposition>
            <scrolltime>200</scrolltime>
            <include>Animation_ZoomInZoomOut</include>
            <include>Animation_ZoomedByMenu</include>
            <visible>Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes)</visible>
            <itemlayout width="379" height="70">
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>379</width>
                    <height>70</height>
                    <texture>episodematteNF.png</texture>
                    <include>Animation_HiddenByInfo</include>
                </control>            
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>379</width>
                    <height>70</height>
                    <texture diffuse="episodematteNF.png">$INFO[ListItem.Icon]</texture>
                    <fadetime>200</fadetime>
                    <colordiffuse>IconDiffuse</colordiffuse>
                    <aspectratio scalediffuse="false">stretch</aspectratio>    
                    <include>Animation_HiddenByInfo</include>                
                </control>
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>380</width>
                    <height>71</height>
                    <texture>episodeframeNF.png</texture>
                    <include>Animation_HiddenByInfo</include>                    
                </control>
                <control type="image">
                    <posx>2</posx>
                    <posy>40</posy>
                    <width>24</width>
                    <height>24</height>
                    <visible>Skin.HasSetting(tvoverlays) + !IsEmpty(ListItem.Overlay)</visible>
                    <info>ListItem.Overlay</info>
                    <colordiffuse>WatchedIconDiffuseNF</colordiffuse>
                    <include>Animation_HiddenByInfo</include>
                </control>                
            </itemlayout>
            <focusedlayout width="758" height="180">
                <control type="image">
                    <posx>100</posx>
                    <posy>20</posy>
                    <width>758</width>
                    <height>140</height>
                    <texture diffuse="episodematte.png">$INFO[ListItem.Icon]</texture>
                    <fadetime>200</fadetime>                    
                    <aspectratio scalediffuse="false">stretch</aspectratio>
                    <include>Animation_PosterInfoSlide</include>
                    <animation type="Focus" reversible="false">
                        <effect type="zoom" center="145,202" start="51" end="100" time="600" tween="back" easing="out" />
                    </animation>
                </control>
                <control type="image">
                    <posx>55</posx>
                    <posy>10</posy>
                    <width>850</width>
                    <height>162</height>
                    <texture>episodeframeF.png</texture>
                    <include>Animation_PosterInfoSlide</include>                    
                    <animation type="Focus" reversible="false">
                        <effect type="zoom" center="157,192" start="51" end="100" time="600" tween="back" easing="out" />
                        <effect type="fade" start="0" end="100" time="600" />
                    </animation>
                </control>
                <control type="image">
                    <posx>36</posx>
                    <posy>0</posy>
                    <width>30</width>
                    <height>30</height>
                    <visible>Skin.HasSetting(tvoverlays) + !IsEmpty(ListItem.Overlay)</visible>
                    <info>ListItem.Overlay</info>
                    <colordiffuse>WatchedIconDiffuseFO</colordiffuse>
                    <include>Animation_PosterInfoSlide</include>                    
                    <animation type="Focus" reversible="false">
                        <effect type="zoom" center="157,192" start="51" end="100" time="600" tween="back" easing="out" />
                        <effect type="fade" start="0" end="100" time="600" />
                    </animation>                    
                </control>
            </focusedlayout>
        </control>

        <!-- Browser label and flags -->

        <control type="group">
            <posx>920</posx>
            <posy>-50</posy>
            <visible>Control.IsVisible(52)</visible>
            <include>Animation_ZoomInZoomOut</include>
            <include>Animation_ZoomedByMenu</include>
            <include>Animation_HiddenByInfo</include>            
            <control type="label">
                <posx>5</posx>
                <posy>306</posy>
                <width>640</width>
                <height>50</height>
                <aligny>center</aligny>
                <font>Font_MainMenuLabel</font>
                <textcolor>PosterTitle</textcolor>
                <label>[b]$INFO[ListItem.Label][/b]</label>
                <visible>Container.Content(tvshows)</visible>
            </control>
            <control type="label">
                <posx>5</posx>
                <posy>324</posy>
                <width>640</width>
                <height>50</height>
                <aligny>center</aligny>
                <font>Font_MainMenuLabel</font>
                <textcolor>PosterTitle</textcolor>
                <label>[b]$INFO[ListItem.TVShowTitle][CR]$INFO[ListItem.Label][/b]</label>
                <visible>Container.Content(seasons)</visible>
            </control>            
            <control type="label">
                <posx>5</posx>
                <posy>306</posy>
                <width>640</width>
                <height>50</height>
                <aligny>center</aligny>
                <font>Font_MainMenuLabel</font>
                <textcolor>PosterTitle</textcolor>
                <label>[b]$INFO[ListItem.Episode][/b]. [b]$INFO[ListItem.Title][/b]</label>
                <visible>Container.Content(episodes)</visible>
            </control>            
            <control type="label">
                <posx>5</posx>
                <posy>340</posy>
                <width>370</width>
                <height>50</height>
                <aligny>center</aligny>
                <font>Font_TVShow</font>
                <textcolor>FanartTitle</textcolor>
                <label>Aired: [b]$INFO[ListItem.Date][/b]</label>
                <visible>Container.Content(episodes)</visible>
            </control>            
            <control type="label">
                <posx>5</posx>
                <posy>340</posy>
                <width>640</width>
                <height>50</height>
                <aligny>center</aligny>
                <font>Font_TVShow</font>
                <textcolor>FanartTitle</textcolor>
                <label>Genre: [b]$INFO[ListItem.Genre][/b]</label>
                <visible>Container.Content(tvshows)</visible>
            </control>            
            <control type="label">
                <posx>5</posx>
                <posy>365</posy>
                <width>570</width>
                <height>50</height>
                <aligny>center</aligny>
                <font>Font_TVShow</font>
                <textcolor>FanartTitle</textcolor>
                <label>Episodes: [b]$INFO[ListItem.Episode][/b]</label>
                <visible>Container.Content(tvshows)</visible>
            </control>            
            <control type="label">
                <posx>5</posx>
                <posy>388</posy>
                <width>570</width>
                <height>50</height>
                <aligny>center</aligny>
                <font>Font_TVShow</font>
                <textcolor>FanartTitle</textcolor>
                <label>Premiered: [b]$INFO[ListItem.Premiered][/b]</label>
                <visible>Container.Content(tvshows)</visible>
            </control>        
            <control type="textbox">
                <posx>5</posx>
                <posy>388</posy>
                <width>633</width>
                <height>120</height>
                <align>left</align>
                <info>ListItem.Plot</info>
                <autoscroll time="2000" delay="3000" repeat="5000">Skin.HasSetting(autoscroll)</autoscroll>
                <font>Font_TVShow</font>
                <textcolor>FanartText</textcolor>
                <visible>Container.Content(episodes)</visible>
            </control>            
        </control>
        <control type="group">
            <visible>Control.IsVisible(52)</visible>
            <include>Animation_ZoomInZoomOut</include>
            <include>Animation_ZoomedByMenu</include>
            <include>PosterMediaFlags</include>
        </control>

    </include>

</includes>
Reply
#2
Here you go then - http://forum.xbmc.org/showthread.php?p=4...post446300
Reply

Logout Mark Read Team Forum Stats Members Help
[MOD] wide icon view0