Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1:/tmp/cvs-serv30061
Modified Files:
console.h console_unix.cpp console_win.cpp log.cpp
Log Message:
Fancy Colors for Linux
Index: console.h
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/console.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** console.h 20 Sep 2003 01:05:10 -0000 1.6
--- console.h 20 Sep 2003 01:26:54 -0000 1.7
***************
*** 61,64 ****
--- 61,65 ----
WPC_YELLOW,
WPC_WHITE,
+ WPC_BROWN
};
Index: console_unix.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/console_unix.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** console_unix.cpp 13 Sep 2003 01:54:55 -0000 1.8
--- console_unix.cpp 20 Sep 2003 01:26:54 -0000 1.9
***************
*** 177,180 ****
--- 177,182 ----
case WPC_WHITE: cb = "\e[1;37m";
break;
+ case WPC_BROWN: cb = "\e[0;33m";
+ break
default: cb = "\e[0m";
***************
*** 226,229 ****
--- 228,232 ----
#if defined(Q_OS_UNIX) && 0
sMessage.replace("\e[0m", "");
+ sMessage.replace("\e[1;32m", "");
sMessage.replace("\e[1;32m", "");
sMessage.replace("\e[1;31m", "");
Index: console_win.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/console_win.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** console_win.cpp 13 Sep 2003 18:47:25 -0000 1.10
--- console_win.cpp 20 Sep 2003 01:26:54 -0000 1.11
***************
*** 478,481 ****
--- 478,485 ----
break;
+ case WPC_BROWN:
+ cf.crTextColor = RGB( 204, 204, 153 );
+ break;
+
case WPC_NORMAL:
cf.crTextColor = RGB( 0xAF,0xAF,0xAF );
Index: log.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/log.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** log.cpp 20 Sep 2003 01:11:41 -0000 1.7
--- log.cpp 20 Sep 2003 01:26:54 -0000 1.8
***************
*** 183,187 ****
case LOG_PYTHON:
! Console::instance()->setAttributes( false, false, false, 204, 204, 153, 0, FONT_FIXEDWIDTH );
break;
--- 183,187 ----
case LOG_PYTHON:
! Console::instance()->ChangeColor( WPC_BROWN );
break;
|