Touch-It Virtual Keyboard Version 4.9.2
Progress bar

This "key" displays a progress bar.

Code is the ident of the light. Codes below 2000 are reserved. 2000 to 3000 can be freely used and driven from a third application using automation.

Min and Max are the limits of the progress bar. They can be positive or negative values.

Offset shifts the Min and Max values from the edges of the button. (See below)

Orientation defines whether to display an horizontal or vertical progress bar.


Stretched


Optimized

The progress bar rendering is managed differently whether the image is Stretched or Optimized.
  • A Stretched image is only partially painted based on the current position. It is the setting to apply to create a gradient color progress bar. (eg. green to red)
  • An Optimized image preserved the bevel and shadow effect but does not allow multi-colors.


Offset = 0. The progress bar displays
only positions between 10% and 90%.


Offset > 0. The The full range is properly displayed.

Offset is a special parameter to adapt the Min, Max limits to the image shape. By default, Touch-It uses the width of the key to calculate the increment step. However, the image may not full fill the key. Offset adds a left and right margins.

The same value is used for the left and right sides. consequently when creating the image, the main part of the drawing should be centered in the canvas.

Copyright © 2011 Chessware SA