TerroGUI.Library.Portable/Container.cs
/// <summary>
/// Allows user to set background to a solid color.
/// </summary>
Allows user to set background to a solid color.
Allows user to set background to a solid color .
public void SetBackgroundColor(Color ContainerColor)
        {
            Texture2D Blank = new Texture2D(Main, 1, 1);
            Blank.SetData<Color>(new Color[] { ContainerColor });
            this.Background = Blank;
        }
public void SetBackgroundColor ( Color ContainerColor ) { Texture2D Blank = new Texture2D ( Main , 1 , 1 ) ; Blank . SetData < Color > ( new Color [ ] { ContainerColor } ) ; this . Background = Blank ; }
Allows user to set background to a solid color.
Allows user to set background to a solid color .
ContainerColor
Color