Rename REALWHITE to SNOWWHITE.

While there, add LIGHT versions of the other predefined colours as well.
This commit is contained in:
martin 2005-05-23 09:44:57 +00:00
parent 42627098be
commit b7de61b9b3
2 changed files with 12 additions and 5 deletions

View File

@ -1,10 +1,10 @@
# $NetBSD: GENERIC32,v 1.103 2005/05/22 20:17:09 martin Exp $
# $NetBSD: GENERIC32,v 1.104 2005/05/23 09:44:57 martin Exp $
include "arch/sparc64/conf/std.sparc64"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#ident "GENERIC-$Revision: 1.103 $"
#ident "GENERIC-$Revision: 1.104 $"
maxusers 64
@ -799,7 +799,7 @@ wskbd0 at kbd0
# sun console as possible
options WSEMUL_SUN # sun terminal emulation
options WS_DEFAULT_FG=WSCOL_BLACK
options WS_DEFAULT_BG=WSCOL_REALWHITE
options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
options WSDISPLAY_COMPAT_USL # VT handling
options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
options WSDISPLAY_DEFAULTSCREENS=4

View File

@ -1,4 +1,4 @@
/* $NetBSD: wsdisplayvar.h,v 1.31 2005/05/22 20:16:08 martin Exp $ */
/* $NetBSD: wsdisplayvar.h,v 1.32 2005/05/23 09:44:57 martin Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@ -66,7 +66,14 @@ struct wsdisplay_emulops {
#define WSCOL_MAGENTA 5
#define WSCOL_CYAN 6
#define WSCOL_WHITE 7
#define WSCOL_REALWHITE (WSCOL_WHITE+8)
#define WSCOL_LIGHT_GREY (WSCOL_BLACK+8)
#define WSCOL_LIGHT_RED (WSCOL_RED+8)
#define WSCOL_LIGHT_GREEN (WSCOL_GREEN+8)
#define WSCOL_LIGHT_BROWN (WSCOL_BROWN+8)
#define WSCOL_LIGHT_BLUE (WSCOL_BLUE+8)
#define WSCOL_LIGHT_MAGENTA (WSCOL_MAGENTA+8)
#define WSCOL_LIGHT_CYAN (WSCOL_CYAN+8)
#define WSCOL_LIGHT_WHITE (WSCOL_WHITE+8)
/* flag values: */
#define WSATTR_REVERSE 1
#define WSATTR_HILIT 2