From d7b1b23022da0c7aca2c6006c1c15ab1be884868 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Tue, 24 Oct 2006 01:06:03 +0000 Subject: [PATCH] Use VGA palette entry 0 for new colors. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2454 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/mouse_err.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sc2/src/sc2code/mouse_err.c b/sc2/src/sc2code/mouse_err.c index f671abdac..98f68cde5 100644 --- a/sc2/src/sc2code/mouse_err.c +++ b/sc2/src/sc2code/mouse_err.c @@ -62,9 +62,9 @@ DoMouseError (PMOUSE_ERROR_STATE pInputState) r.extent.width = X_STEP * (NUM_STEPS - frame) - 4; r.extent.height = Y_STEP * (NUM_STEPS - frame) - 4; - dark = BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x08), 0x01); - medium = BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x10), 0x01); - bg = BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x1A), 0x09); + dark = BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x08), 0x00); + medium = BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x10), 0x00); + bg = BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x1A), 0x00); DrawShadowedBox(&r, bg, dark, medium); } @@ -81,9 +81,9 @@ DoMouseError (PMOUSE_ERROR_STATE pInputState) r.extent.width = SCREEN_WIDTH - 4; r.extent.height = SCREEN_HEIGHT - 4; - dark = BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x08), 0x01); - medium = BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x10), 0x01); - bg = BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x1A), 0x09); + dark = BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x08), 0x00); + medium = BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x10), 0x00); + bg = BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x1A), 0x00); text = BUILD_COLOR (MAKE_RGB15 (0x1F, 0x1F, 0x00), 0x0E); DrawShadowedBox(&r, bg, dark, medium);