TerroGUI.Library.Windows/ProgressBar.cs
/// <summary>
/// Sets the foreground of this progress bar to a solid color.
/// </summary>
Sets the foreground of this progress bar to a solid color.
Sets the foreground of this progress bar to a solid color .
public void SetForegroundColor(Color ForegroundColor)
        {
            Texture2D Blank = new Texture2D(Parent.Main, 1, 1);
            Blank.SetData<Color>(new Color[] { ForegroundColor });
            this.ForegroundTexture = Blank;
        }
public void SetForegroundColor ( Color ForegroundColor ) { Texture2D Blank = new Texture2D ( Parent . Main , 1 , 1 ) ; Blank . SetData < Color > ( new Color [ ] { ForegroundColor } ) ; this . ForegroundTexture = Blank ; }
Sets the foreground of this progress bar to a solid color.
Sets the foreground of this progress bar to a solid color .
ForegroundColor
Color