diff --git a/ClassicalSharp/2D/Drawing/CanvasDrawer2D.Text.cs b/ClassicalSharp/2D/Drawing/CanvasDrawer2D.Text.cs index 9ac9181e5..5b16c0705 100644 --- a/ClassicalSharp/2D/Drawing/CanvasDrawer2D.Text.cs +++ b/ClassicalSharp/2D/Drawing/CanvasDrawer2D.Text.cs @@ -24,9 +24,9 @@ namespace ClassicalSharp { GetTextParts( args.Text ); float textX = x; + Paint backBrush = GetOrCreateBrush( FastColour.Black ); for( int i = 0; i < parts.Count; i++ ) { - TextPart part = parts[i]; - Paint backBrush = GetOrCreateBrush( part.BackCol ); + TextPart part = parts[i]; Paint foreBrush = GetOrCreateBrush( part.ForeCol ); if( args.UseShadow ) c.DrawText( part.Text, textX + Offset, y + Offset, backBrush ); diff --git a/ClassicalSharp/2D/Drawing/GdiPlusDrawer2D.Text.cs b/ClassicalSharp/2D/Drawing/GdiPlusDrawer2D.Text.cs index 7c69f1c25..6214157e9 100644 --- a/ClassicalSharp/2D/Drawing/GdiPlusDrawer2D.Text.cs +++ b/ClassicalSharp/2D/Drawing/GdiPlusDrawer2D.Text.cs @@ -31,9 +31,9 @@ namespace ClassicalSharp { GetTextParts( args.Text ); float textX = x; + Brush backBrush = GetOrCreateBrush( FastColour.Black ); for( int i = 0; i < parts.Count; i++ ) { TextPart part = parts[i]; - Brush backBrush = GetOrCreateBrush( part.BackCol ); Brush foreBrush = GetOrCreateBrush( part.ForeCol ); if( args.UseShadow ) g.DrawString( part.Text, args.Font, backBrush, textX + Offset, y + Offset, format ); diff --git a/ClassicalSharp/2D/Drawing/IDrawer2D.cs b/ClassicalSharp/2D/Drawing/IDrawer2D.cs index a97160a12..5bcbe2032 100644 --- a/ClassicalSharp/2D/Drawing/IDrawer2D.cs +++ b/ClassicalSharp/2D/Drawing/IDrawer2D.cs @@ -154,11 +154,11 @@ namespace ClassicalSharp { } for( int i = 0; i <= 9; i++ ) { - Colours['0' + i] = FastColour.GetHexEncodedCol( i, 170, 85 ); + Colours['0' + i] = FastColour.GetHexEncodedCol( i, 191, 64 ); BackColours['0' + i] = FastColour.GetHexEncodedCol( i, 42, 21 ); } for( int i = 10; i <= 15; i++) { - Colours['a' + i - 10] = FastColour.GetHexEncodedCol( i, 170, 85 ); + Colours['a' + i - 10] = FastColour.GetHexEncodedCol( i, 191, 64 ); Colours['A' + i - 10] = Colours['a' + i - 10]; BackColours['a' + i - 10] = FastColour.GetHexEncodedCol( i, 42, 21 ); BackColours['A' + i - 10] = BackColours['a' + i - 10]; diff --git a/ClassicalSharp/2D/Widgets/Chat/TextInputWidget.cs b/ClassicalSharp/2D/Widgets/Chat/TextInputWidget.cs index b1010006b..9530cafea 100644 --- a/ClassicalSharp/2D/Widgets/Chat/TextInputWidget.cs +++ b/ClassicalSharp/2D/Widgets/Chat/TextInputWidget.cs @@ -41,7 +41,7 @@ namespace ClassicalSharp.Gui { readonly Font font; FastColour caretCol; - static FastColour backColour = new FastColour( 30, 30, 30, 220 ); + static FastColour backColour = new FastColour( 45, 45, 45, 220 ); public override void Render( double delta ) { api.Texturing = false; int y = Y, x = X;