Default control tags
Jump to navigation
Jump to search
Here are the tags and attributes available for all controls.
description | Only used to make things clear for the skinner. Not read by XBMC at all. |
type | Should be image for an image control. |
id | Specifies the control's id. The value this takes depends on the control type, and the window that you are using the control on. There are special control id's that must be present in each window. Any other controls that the skinner adds can be any id they like. Most image controls don't need an id as they're completely under the skinner's control. |
posx | Specifies where the left edge of the image should be drawn, relative to it's parent's left edge. If an "r" is included (eg 180r) then the measurement is taken from the parent's right edge (in the left direction). |
posy | Specifies where the top edge of the image should be drawn, relative to it's parent's top edge. If an "r" is included (eg 180r) then the measurement is taken from the parent's bottom edge (in the up direction). |
width | Specifies the width that should be used to draw the image. The image will be resized to fit into this width. |
height | Specifies the height that should be used to draw the image. The image will be resized to fit into this height. |
visible | Specifies a condition as to when this control will be visible. Can be true, false, or a condition. See here for more information. Defaults to true. |
animation | Specifies the animation to be run when the control enters a particular state. See here for more information |
colordiffuse | TThis specifies the color to be used for the texture basis. It's in hex AARRGGBB format. If you define <colordiffuse>FFFF00FF</colordiffuse> (magenta), the image will be given a magenta tint when rendered. Defaults to FFFFFFFF (no tint). |
[[Category::SkinningXBMC]]