Default control tags, Add-on:Amazon.com

From XBMC
(Difference between pages)
Jump to: navigation, search
 
m (Addon-Bot Update)
 
Line 1: Line 1:
Here are the tags and attributes available for all controls. '''Note that they're all lowercase, as XML is case sensitive'''.
+
{{Addon
 
+
|Name=Amazon.com
=== Tags available to all controls ===
+
|provider-name=C-Quel + John Lockwood
{| class="wikitable"
+
|ID=metadata.amazon.com
! description
+
|latest-version=1.0.4
| Only used to make things clear for the skinner. Not read by XBMC at all.
+
|extension point=xbmc.metadata.scraper.movies
|-
+
|provides=
! type
+
|Summary=Amazon Movie Scraper
| The type of control.
+
|Description=Download Movie information from www.amazon.com
|-
+
|Platform=all
! id
+
|icon url=<img size=150 src="http://mirrors.xbmc.org/addons/dharma/metadata.amazon.com/icon.png"/>}}
| 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. Any controls that the skinner specifies content needs not have an id unless it's needed for animation purposes. For instance, most image and label controls don't need an id if the skinner specifies they're content.
+
|-
+
! posx
+
| Specifies where the left edge of the control 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 control 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 control.
+
|-
+
! height
+
| Specifies the height that should be used to draw the control.
+
|-
+
! visible
+
| Specifies a condition as to when this control will be visible. Can be true, false, or a condition. See [[Conditional Visibility]] for more information. Defaults to true.
+
|-
+
! animation
+
| Specifies the animation to be run when the control enters a particular state. See [[Animating your skin]] for more information.
+
|-
+
! camera
+
| Specifies the location (relative to the parent's coordinates) of the camera.  Useful for the 3D animations such as rotatey.  Format is <code><camera x="20" y="30" /></code>
+
|-
+
! colordiffuse
+
| This specifies the color to be used for the texture basis. It's in hex AARRGGBB format. If you define <code><colordiffuse>FFFF00FF</colordiffuse></code> (magenta), the image will be given a magenta tint when rendered. Defaults to FFFFFFFF (no tint).  You can also specify this as a name from the [[Colour Themes|colour theme]].
+
|}
+
 
+
=== Tags available to focusable controls ===
+
 
+
In addition, any control that is focusable (e.g. a buttoncontrol) will have the following tags available.
+
 
+
{| class="wikitable"
+
! onup
+
| Specifies the <code><id></code> of the control that should be moved to when the user moves up off this control. Can point to a control group (which remembers previous focused items).
+
|-
+
! ondown
+
| Specifies the <code><id></code> of the control that should be moved to when the user moves down off this control. Can point to a control group (which remembers previous focused items).
+
|-
+
! onleft
+
| Specifies the <code><id></code> of the control that should be moved to when the user moves left off this control.  Can point to a control group (which remembers previous focused items).
+
|-
+
! onright
+
| Specifies the <code><id></code> of the control that should be moved to when the user moves right off this control.  Can point to a control group (which remembers previous focused items).
+
|-
+
! hitrect
+
| Specifies the location and size of the "focus area" of this control (relative to the parent's coordinates) used by the mouse cursor. Format is <code><hitrect x="20" y="30" w="50" h="10" /></code>
+
|-
+
! enable
+
| Specifies a condition as to when this control will be enabled. Can be true, false, or a condition. See [[Conditional Visibility]] for more information.  Defaults to true.
+
|-
+
! pulseonselect
+
| This specifies whether or not a button type will "pulse" when it has focus.  This is done by varying the alpha channel of the button.  Defaults to true.
+
|}
+
 
+
==Similar page names==
+
{{#lst:Tags|similar pages}}
+
 
+
==See also==
+
'''Development:'''
+
* [[Add-on development]]
+
* [[Skinning]]
+
 
+
[[Category:Skin Development]]
+

Revision as of 10:19, 24 October 2011

Amazon.com
<img width="256" src=""/>
Author: C-Quel + John Lockwood

Type: Movie information
Version: 1.0.4
Repo:

Summary: Amazon Movie Scraper
Home icon grey.png   ▶ Add-ons ▶ Amazon.com

Download Movie information from www.amazon.com

Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox