xboxscene.org forums

Author Topic: Quick Question  (Read 121 times)

BecomethemonsteR

  • Archived User
  • Sr. Member
  • *
  • Posts: 450
Quick Question
« on: April 22, 2007, 10:28:00 PM »

Ok, what I am trying to do is add the view that has the big icons and they scroll horizontally to skins in XBMC that don't have it.  Can someone help me with this?
Logged

dxg836

  • Archived User
  • Newbie
  • *
  • Posts: 41
Quick Question
« Reply #1 on: April 23, 2007, 06:44:00 AM »

do a search for

<include name="WrapView">

and you should find what you want
Logged

BecomethemonsteR

  • Archived User
  • Sr. Member
  • *
  • Posts: 450
Quick Question
« Reply #2 on: April 23, 2007, 09:19:00 AM »

Where in the skin is the CommonViewTypes.xml located?
Logged

CHI3f

  • Archived User
  • Hero Member
  • *
  • Posts: 607
Quick Question
« Reply #3 on: April 23, 2007, 10:27:00 AM »

QUOTE(BecomethemonsteR @ Apr 23 2007, 10:26 AM) View Post

Where in the skin is the CommonViewTypes.xml located?

Look in the PAL or PAL16x9 folder.

Here is an example of a wraplist
QUOTE(Example)

      <control type="wraplist" id="55">
         <posx>5</posx>
         <posy>120</posy>
         <width>710</width>
         <height>394</height>
         <onleft>54</onleft>
         <onright>54</onright>
         <onup>420</onup>
         <ondown>420</ondown>
         <orientation>horizontal</orientation><--------This line determines whether the list scrolls horizontally or vertically
         <viewtype label="Big Wrap">Wrap</viewtype><------This line is the view type label, the part in the "" is what is gonna show up as the label in the skin
         <focusposition>1</focusposition><-------This line controls what item is focused. If you have three items in the list 1 would be the middle
         <scrolltime>200</scrolltime>
            <itemlayout height="250" width="210"><-----Everything in this section controls the attributes of the non focused stuff
               <control type="image">
               <posx>0</posx>
               <posy>80</posy>
               <width>210</width>
               <height>210</height>
               <info>ListItem.Icon</info>
            </control>
               <control type="image">
               <posx>0</posx>
               <posy>290</posy>
               <width>210</width>
               <height>210</height>
               <info>ListItem.Icon</info>
               <texture flipy="true" diffuse="fade2.png" />
            </control>
            <control type="image">
               <posx>75</posx>
               <posy>75</posy>
               <width>28</width>
               <height>28</height>
               <info>ListItem.Overlay</info>
            </control>
         </itemlayout>
         <focusedlayout  height="270" width="290"><-----Everything in this section controls the focused List item
            <control type="image">
               <posx>10</posx>
               <posy>20</posy>
               <width>270</width>
               <height>270</height>
               <info>ListItem.Icon</info>
               <aspectratio>stretch</aspectratio>
            </control>
            <control type="image">
               <posx>10</posx>
               <posy>290</posy>
               <width>270</width>
               <height>270</height>
               <info>ListItem.Icon</info>
               <texture flipy="true" diffuse="fade2.png" />
               <aspectratio>stretch</aspectratio>
            </control>
            <control type="image">
               <posx>80</posx>
               <posy>80</posy>
               <width>28</width>
               <height>28</height>
               <info>ListItem.Overlay</info>
            </control>
            </focusedlayout>
         </control>
      </include>

Logged

BecomethemonsteR

  • Archived User
  • Sr. Member
  • *
  • Posts: 450
Quick Question
« Reply #4 on: April 23, 2007, 07:10:00 PM »

Ah man, I'm goin' crazy!  Every time I paste the above into where it needs to be, it doesn't add the view into the section where you select the view...
Logged

CHI3f

  • Archived User
  • Hero Member
  • *
  • Posts: 607
Quick Question
« Reply #5 on: April 23, 2007, 07:42:00 PM »

What skin are you adding it too? I could give you better instructions then.
Logged

BecomethemonsteR

  • Archived User
  • Sr. Member
  • *
  • Posts: 450
Quick Question
« Reply #6 on: April 23, 2007, 08:30:00 PM »

QUOTE(CHI3f @ Apr 23 2007, 09:49 PM) View Post

What skin are you adding it too? I could give you better instructions then.

Vision and xTV mainly.
Logged