Creation/Dev/Script/Client/GuiProgressCtrl

From GraalBible

Jump to: navigation, search

Inherits GuiControl.

[edit] Description

Image:Guicontrol_progress.png

This displays a simple border and fills it with a rectangle depending on the progress variable (0 is empty, 1 is full).


[edit] Variables

progress - float


[edit] Example

new GuiProgressCtrl("Test_Progress") {
  profile = GuiBlueProgressProfile;
  x = 10;
  y = 10;
  width = 160;
  height = 20;
  progress = 0.3;
}
Personal tools