2011-02-08, 14:00
So I have a home wraplist that uses <content> to pull icons and labels from. It also has the following image control in the layout and focus layout for a background to the icons.
<control type="image">
<include>Home_MenuIcon</include>
<texture>windows/home/panel.png</texture>
</control>
I now want to have the ability to add a custom backdrop (folder or single image) to that image in case somone does not like the icons. I can not get my custom path to show within the wraplist however. The images will show just fine if I move the image control outside the wraplist list. Here is my image control.
<control type="multiimage">
<posx>350</posx>
<posy>148</posy>
<height>78</height>
<width>150</width>
<aspectratio>stretch</aspectratio>
<timeperimage>7000</timeperimage>
<randomize>true</randomize>
<fadetime>2000</fadetime>
<imagepath background="true" diffuse="diffuse.png">$INFO[CustomVideos-Folder]</imagepath>
</control>
I have also tried to add a thumb control to my <content> items but that did not show either. Like this...
<item id="1">
<description>Programs</description>
<label>PROGRAMS</label>
<icon>panel_menu_programs.png</icon>
<thumb>Skin.String(CustomVideos-Folder)</thumb>
<onclick>ActivateWindow(Programs,Addons,return)</onclick>
<visible>!Skin.HasSetting(noprograms)</visible>
</item>
and then use a image control in the wraplist like so...
<control type="multiimage">
<posx>-35</posx>
<posy>-30</posy>
<width>450</width>
<height>360</height>
<aspectratio>stretch</aspectratio>
<timeperimage>7000</timeperimage>
<randomize>true</randomize>
<fadetime>2000</fadetime>
<texture>$INFO[ListItem.Thumb]</texture>
</control>
I also tried <imagepath> instead of texture with no success......
No matter what I have tried I cannot get the images to show within the wraplist. If anyone can think of what I might be doing wrong I would most appreciate it. Thanks to anyone who can assist.
<control type="image">
<include>Home_MenuIcon</include>
<texture>windows/home/panel.png</texture>
</control>
I now want to have the ability to add a custom backdrop (folder or single image) to that image in case somone does not like the icons. I can not get my custom path to show within the wraplist however. The images will show just fine if I move the image control outside the wraplist list. Here is my image control.
<control type="multiimage">
<posx>350</posx>
<posy>148</posy>
<height>78</height>
<width>150</width>
<aspectratio>stretch</aspectratio>
<timeperimage>7000</timeperimage>
<randomize>true</randomize>
<fadetime>2000</fadetime>
<imagepath background="true" diffuse="diffuse.png">$INFO[CustomVideos-Folder]</imagepath>
</control>
I have also tried to add a thumb control to my <content> items but that did not show either. Like this...
<item id="1">
<description>Programs</description>
<label>PROGRAMS</label>
<icon>panel_menu_programs.png</icon>
<thumb>Skin.String(CustomVideos-Folder)</thumb>
<onclick>ActivateWindow(Programs,Addons,return)</onclick>
<visible>!Skin.HasSetting(noprograms)</visible>
</item>
and then use a image control in the wraplist like so...
<control type="multiimage">
<posx>-35</posx>
<posy>-30</posy>
<width>450</width>
<height>360</height>
<aspectratio>stretch</aspectratio>
<timeperimage>7000</timeperimage>
<randomize>true</randomize>
<fadetime>2000</fadetime>
<texture>$INFO[ListItem.Thumb]</texture>
</control>
I also tried <imagepath> instead of texture with no success......
No matter what I have tried I cannot get the images to show within the wraplist. If anyone can think of what I might be doing wrong I would most appreciate it. Thanks to anyone who can assist.