Kodi Community Forum

Full Version: Button define
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi i need some help on this one.
i try to make some changes to a skin but iam stucked.
i have this button
Code:
<control type="button" id="12">
                    <description>get fanart</description>
                    <label>get fanart</label>
                    <width>445</width>
                    <height>34</height>
                    <align>left</align>
                    <aligny>top</aligny>
                    <textoffsetx>20</textoffsetx>
                    <textoffsety>1</textoffsety>
                    <texturefocus>info/ButtonFo.png</texturefocus>
                    <texturenofocus>-</texturenofocus>
                    <textcolor>itemdetail3</textcolor>
                    <focusedcolor>fce7e7e7</focusedcolor>
                    <disabledcolor>04ffffff</disabledcolor>
                    <colordiffuse>2DFFFFFF</colordiffuse>
                    <font>plot</font>
                </control>
in DialogVideoInfo.xml and DialogAlbumInfo.xml
Where is the Action of these Buttons defined,in this example to get fanart.Iam not able to find it so any help is welcome.
See skinning manual, built in controls for windows you mentioned.
the action is hardcoded in xbmc (it's tied to the id of the button).

see: http://wiki.xbmc.org/index.php?title=Lis...n_Controls
ah,ok thank you.
Now i got it.