2004-10-22, 04:49
i'm working on rearranging my skin to have easier access to the things i use more often. rearranging the buttons was easy, but there are some elements of the skins that are not documented anywhere that i can find and that i can't figure out.
1) i can see that the <hyperlink>id</hyperlink> tag causes a button to load the xml file with <id>id</id>. i can repeat this by modifying any of my buttons to point to an existing file. however, if i create a new file with a new (unique) id, it doesn't work. this implies that there is a registry of pages, but i can't find anything like that.
2) i would like to make more use of submenus, like dialogsubmenu.xml. i am guessing that this is the key:
<coordinates>
<system>1</system>
<posx>500</posx>
<posy>80</posy>
</coordinates>
posx and posy are obvious, but what is <system>1</system>? is this some unique id? or a note to xbmc as to what kind of window to load?
3) the reboot and shutdown buttons have no <hyperlink/> and no <execute/>. how do they know what to do?
thanks to anyone willing to help!
1) i can see that the <hyperlink>id</hyperlink> tag causes a button to load the xml file with <id>id</id>. i can repeat this by modifying any of my buttons to point to an existing file. however, if i create a new file with a new (unique) id, it doesn't work. this implies that there is a registry of pages, but i can't find anything like that.
2) i would like to make more use of submenus, like dialogsubmenu.xml. i am guessing that this is the key:
<coordinates>
<system>1</system>
<posx>500</posx>
<posy>80</posy>
</coordinates>
posx and posy are obvious, but what is <system>1</system>? is this some unique id? or a note to xbmc as to what kind of window to load?
3) the reboot and shutdown buttons have no <hyperlink/> and no <execute/>. how do they know what to do?
thanks to anyone willing to help!