From f06f0954a3a4dbdd83def7fcc4d791d72d798fd8 Mon Sep 17 00:00:00 2001 From: Xenni_cp Date: Wed, 13 May 2009 02:12:54 +0000 Subject: [PATCH] Work Item 6991: 'Colours' replaced with 'Colors'. :) --- source/Cosmos/Cosmos.Hardware/VGAScreen.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/Cosmos/Cosmos.Hardware/VGAScreen.cs b/source/Cosmos/Cosmos.Hardware/VGAScreen.cs index fc3cc5de0..f6bced5c5 100644 --- a/source/Cosmos/Cosmos.Hardware/VGAScreen.cs +++ b/source/Cosmos/Cosmos.Hardware/VGAScreen.cs @@ -241,7 +241,7 @@ namespace Cosmos.Hardware PixelWidth = 320; PixelHeight = 200; - Colours = 256; + Colors = 256; SetPixel = new SetPixelDelegate(SetPixel320x200x8); } public static void SetMode640x480x4() @@ -250,7 +250,7 @@ namespace Cosmos.Hardware PixelWidth = 640; PixelHeight = 480; - Colours = 16; + Colors = 16; SetPixel = new SetPixelDelegate(SetPixel640x480x4); } @@ -290,7 +290,7 @@ namespace Cosmos.Hardware private set; get; } - public static int Colours + public static int Colors { private set; get; @@ -300,7 +300,7 @@ namespace Cosmos.Hardware { SetMode320x200x8(); - if (Colours == 256) + if (Colors == 256) { for (byte i = 0; i < 64; i++) { @@ -313,9 +313,9 @@ namespace Cosmos.Hardware } else { - for (byte i = 0; i < Colours; i++) + for (byte i = 0; i < Colors; i++) { - byte ii = (byte)((int)i * 64 / Colours); + byte ii = (byte)((int)i * 64 / Colors); SetPaletteEntry(i, ii, ii, ii); } }