GetColors(tw,pColors) XtermWidget tw; ScrnColors *pColors;
GetColors(XtermWidget tw, ScrnColors *pColors)
GetColors(tw,pColors)	XtermWidget tw;	ScrnColors *pColors;{	register TScreen *screen = &tw->screen;	pColors->which=	0;	SET_COLOR_VALUE(pColors,TEXT_FG,	screen->foreground);	SET_COLOR_VALUE(pColors,TEXT_BG,	tw->core.background_pixel);	SET_COLOR_VALUE(pColors,TEXT_CURSOR,	screen->cursorcolor);	SET_COLOR_VALUE(pColors,MOUSE_FG,	screen->mousecolor);	SET_COLOR_VALUE(pColors,MOUSE_BG,	screen->mousecolorback);#if OPT_HIGHLIGHT_COLOR	SET_COLOR_VALUE(pColors,HIGHLIGHT_BG,	screen->highlightcolor);#endif#if OPT_TEK4014	SET_COLOR_VALUE(pColors,TEK_FG,		screen->Tforeground);	SET_COLOR_VALUE(pColors,TEK_BG,		screen->Tbackground);#endif}