ProgressBar
From TrillWiki
The progress bar is used for file transfers and also in AIM direct connect mode for the message window.
- <control name="<name>" type="progress">
- <background name="<name>">
- </background>
- </control>
Same as everywhere, the name is the name you decide to give it. Make it recogniseable :). Inside the <control> tags, you will have lots of background sections. However, these background sections do not follow the usual upperleft, upper etc names.:
This is the basic code for the background. It looks almost the same as normal background code. There are two major differences. First, the <rect> code is basic 0,0,0,0 rect code, and most skinners will create a file with this code in, and just replace it with ▭ as it is used so often. The second difference has already been mentioned, and is that the background "name" property has different values to normal background code.
| Name | Description |
| background | This is what goes in any space not covered by the progression of the status bar, much like the scrollbar control. This background will have to fill the full control size. When the transfer is 0% complete, this is the image that is used. |
|---|---|
| 100 | This refers to the percentage of the transfer complete. So if the transfer is 100% complete, it will replace the image with this one |
| xx | All the other names are user defined. Strange huh? This refers to the percentage of the transfer complete. All the percentages in between 0% and 100%, you define. So if you want a new image every 10%, then you will need a background section for values "10", "20", "30" etc etc. The intervals do not have to be equal. |
