{{Template:GUI_Object|progressbar|[wiki:GUI_-_Properties#caption caption], sprite_background, sprite_bar, tooltip, tooltip_style|none}}

A progress-bar visually displays a value between 0 and 100%. The value can be everything between 0 and 100 and is stored in caption.

First a sprite is drawn to fill the whole size of the progressbar. Then another sprite is drawn on top of the first one, but spanning only to an extent, representing the given value, in width.

Image:gui-object-progressbar.png

Code of example progressbar:

  <object type="progressbar"
          size="20 300 230 325"
          sprite_background="gd-input"
          sprite_bar="gd-blue"
  >30
  </object>
Last modified 16 years ago Last modified on Feb 23, 2008, 4:19:01 AM
Note: See TracWiki for help on using the wiki.