JX720 Mod - Gaming Edition

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
v8der Offline
Junior Member
Posts: 28
Joined: Aug 2011
Reputation: 0
Post: #11
Indeed. This part is proving to be bit trickier, which I may need your expertise on a bit further. Here is an example of the original code we're working with from your skin:

PHP Code:
                        <item>
                            <
label>0</label>
                            <
onclick>ActivateWindow(Programs,addons,return)</onclick>
                            <
icon>special://skin/button_icons/icon-apps.png</icon>
                            
<thumb>-</thumb>
                            <
visible>!Skin.HasSetting(AppsBlade_HidePrograms)</visible>
                        </
item>
                    </
content>
                </
control>
            </
control>
            <include>
CommonDVDTray</include>
        </
control

Now, here is my modified code, with my changes:

PHP Code:
                        <item>
                            <
label>CONSOLE NINTENDO</label>
                            <
onclick>ActivateWindow(Programs,addons,return)</onclick>
                            <
icon>special://skin/button_icons/icon-apps.png</icon>
                            
<thumb>-</thumb>
                            <
visible>!Skin.HasSetting(AppsBlade_HidePrograms)</visible>
                            <
property name="ListPoster">special://skin/button_icons/nes.png</property>
                        
</item>
                    </
content>
                </
control>
                <
control type="image">
                    <
description>NES TEST LOGO</description>
                    <
posx>0</posx>
                    <
posy>30</posy>
                    <
width>380</width>
                    <
height>70</height>
                    <
aspectratio>keep</aspectratio>
                    <
texture>$INFO[Control(9000).Property(ListPoster)]</texture
                </
control>
            </
control>
            <include>
CommonDVDTray</include>
        </
control

You'll see I added a new image control outside the list control and added in the texture info within the "Item" group. I think I've pasted everything correctly but I still do not get the correct texture appearing as it would in a normal list view.

Any thoughts on where I'm going wrong?
(This post was last modified: 2012-06-10 05:44 by v8der.)
find quote
v8der Offline
Junior Member
Posts: 28
Joined: Aug 2011
Reputation: 0
Post: #12
UPDATE:

Well, I can say I've checked, rechecked and triple checked my work here and I still can't figure out why this isn't working. The code I've pasted should display a PNG image of an NES off to the right side when I highlight the first item in the list (and theoretically, as I scroll down the list, it would change to a different icon I would have assigned to those items). Essentially, acting exactly like your normal list view (with the text in the list on the left and a thumbnail image on the right for each item).

However, it just doesn't seem to work. I'm not sure why?
find quote
Post Reply