Skip to content

progressbar

DevGeniusCode edited this page Mar 14, 2025 · 1 revision

ProgressBar Control

The ProgressBar control is used for visually displaying the progress of a task. You can define the position, size, and appearance of the progress bar, and it updates automatically as the progress changes.

Available Tags

The ProgressBar control does not have any unique tags beyond the default control tags. It uses the same general set of tags applicable to all controls.

Default Values and Usage

The following section list the default values and available textures for each tag

ENABLEDDRAWDATA

  • LoadingBar_L
  • LoadingBar_R
  • LoadingBar_C
  • LoadingBar_DePowered
  • LoadingBar_Progress
  • NoImage

DISABLEDDRAWDATA, HILITEDRAWDATA

  • NoImage (Usually NoImage is used for all parts)

Example

Here's an example from the ChallengeLoadScreen.wnd file:

Click to expand
WINDOW WINDOWTYPE = PROGRESSBAR; SCREENRECT = UPPERLEFT: 39565, BOTTOMRIGHT: 761585, CREATIONRESOLUTION: 800600; NAME = "ChallengeLoadScreen.wnd:ProgressLoad"; STATUS = ENABLED+IMAGE; STYLE = PROGRESSBAR+MOUSETRACK; SYSTEMCALLBACK = "[None]"; INPUTCALLBACK = "[None]"; TOOLTIPCALLBACK = "[None]"; DRAWCALLBACK = "[None]"; FONT = NAME: "Times New Roman", SIZE: 14, BOLD: 0; HEADERTEMPLATE = "[NONE]"; TOOLTIPTEXT = "Tooltip:LoadProgress"; TOOLTIPDELAY = -1; TEXTCOLOR = ENABLED: 254254254255, ENABLEDBORDER: 000255, DISABLED: 192192192255, DISABLEDBORDER: 646464255, HILITE: 128128255255, HILITEBORDER: 00128255; ENABLEDDRAWDATA = IMAGE: LoadingBar_L, COLOR: 25500255, BORDERCOLOR: 255128128255, IMAGE: LoadingBar_R, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: LoadingBar_C, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 4755168255, BORDERCOLOR: 254254254255, IMAGE: LoadingBar_DePowered, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: LoadingBar_Progress, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550; DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 646464255, BORDERCOLOR: 192192192255, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 192192192255, BORDERCOLOR: 254254254255, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550; HILITEDRAWDATA = IMAGE: NoImage, COLOR: 02550255, BORDERCOLOR: 01280255, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 4755168255, BORDERCOLOR: 254254254255, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550, IMAGE: NoImage, COLOR: 2552552550, BORDERCOLOR: 2552552550;END

See also

Category:Controls

Clone this wiki locally