id identify
#1
how to identify what ID should I use? I need that buttons follow in order.
Code:
            <control type="button" id="???">
                <description>Favourites push button</description>
                <posx>110</posx>
                <posy>0</posy>
                <width>45</width>
                <height>45</height>
                <label>1036</label>
                <font>-</font>
                <aligny>-</aligny>
                <onclick>ReloadSkin()</onclick>
                <texturefocus border="5">floor_buttonFO.png</texturefocus>
                <texturenofocus border="5">floor_button.png</texturenofocus>
                <onleft>20</onleft>
                <onright>20</onright>
                <onup>9002</onup>
                <ondown>9003</ondown>
            </control>
            <control type="image" id="???">
                <description>Favourites Icon</description>
                <posx>115</posx>
                <posy>5</posy>
                <width>35</width>
                <height>35</height>
                <aspectratio>keep</aspectratio>
                <texture>icon_favourites.png</texture>
            </control>
Reply
#2
The <id> you use can be whatever you like (as long as it's not one already used in the same window, ofc). You reference it in the <onleft> etc. for navigation, if that's what you mean?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
thx for explanation. i have in left corner favorites, power buttons and i want create more buttons, for example "reload skin". but i don't know there is my mistakes, because when i copy button code and change location <posx>110</posx> <posy>0</posy> and <onclick>ReloadSkin()</onclick> with narrow keys i cant navigate there just with mouse. what im doing wrong?
Reply

Logout Mark Read Team Forum Stats Members Help
id identify1