LitDev.LDTextWindow.SetColours C# (CSharp) Method

SetColours() public static method

Set the current foreground and background colour indices.
public static SetColours ( Primitive fgIndex, Primitive bgIndex ) : void
fgIndex Primitive The foreground colour index (0 to 15).
bgIndex Primitive The background colour index (0 to 15).
return void
        public static void SetColours(Primitive fgIndex, Primitive bgIndex)
        {
            try
            {
                TextWindow.Show();
                ScreenColors.SetColours(fgIndex, bgIndex);
            }
            catch (Exception ex)
            {
                Utilities.OnError(Utilities.GetCurrentMethod(), ex);
            }
        }