![]() |
Previous | Next |
A trackbar displays an image that changes in small increments. Trackbars are used for volume controls and content position controls. You can use trackbars to display information about the content or allow the user to change the media information. For example, you can use a trackbar to let the user adjust the volume, and another trackbar that can show the user the current position of the content. Trackbars have a thumb image that defines the current setting of the trackbar value.
The trackbars section of the skin definition file must begin with this line:
[ Trackbars ]
You then must add one or more lines that contain information about each of the trackbars in your skin
A typical line is:
Seek 5,25,226,17 Super @ 4,1 SeekThumb.bmp 18,17
Volume 32,220,172,23 Super @ 32,27 VolumeThumb.bmp 23,22
You can use the following template for the trackbars section of your skin definition file:
// <Type> <Location> <Dis Image Src> <Thumb Image Src> <Thumb Size>
// ---------- ---------- --------------- ----------------- ------------
You must use the following order for trackbar information for each line in the trackbar section. Each part of the line is required.
Previous | Next |