Used to set the pixel ratio in Video Calibration.
The resize control is used to specify an area of changeable ratio for use in the screen calibration portion of Kodi. You can choose the size, and look of the resizer.
In addition to the Default Control Tags the following tags are available. Note that each tag is lower case only. This is important, as xml
tags are case-sensitive.
Tag | Description |
---|---|
texturefocus | Specifies the image file which should be displayed when the resizer has focus. See here for additional information about textures. |
texturenofocus | Specifies the image file which should be displayed when the resizer does not have focus. |
movingspeed | Specifies the allowed directional movements and respective configurations. The tag section can contain as many tags as required. |
The
tag must be specified to allow the control to be moved via an input device such as keyboard. Each direction can be specified and configured to simulate the motion effect with the movingspeed
tag.eventconfig
The following attributes allow the motion effect of the control to be configured:
Attribute | Description |
---|---|
type | Specifies the direction of movement. Accepted values are: , , , . All directions are optional and do not have to be included. |
acceleration | Specifies the acceleration in pixels per second (integer value). |
maxvelocity | Specifies the maximum movement speed. This depends on the acceleration value, e.g. a suitable value could be (acceleration value)*3. Set to 0 to disable. (integer value). |
resettimeout | Specifies the idle timeout before resetting the acceleration speed (in milliseconds, integer value). |
delta | Specifies the minimal pixel increment step (integer value). |
The attributes
, acceleration
, maxvelocity
, resettimeout
can be specified individually for each delta
tag, or globally in the eventconfig
tag, or a mixture, as the following example:movingspeed