[AQT-commit] CVS: adapters/plplot aqtplplot.m,1.7,1.8
Brought to you by:
persquare
From: Per P. <per...@us...> - 2004-11-21 22:06:41
|
Update of /cvsroot/aquaterm/adapters/plplot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23329 Modified Files: aqtplplot.m Log Message: Fixing some debris from the new color handling code. Index: aqtplplot.m =================================================================== RCS file: /cvsroot/aquaterm/adapters/plplot/aqtplplot.m,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- aqtplplot.m 21 Nov 2004 01:35:04 -0000 1.7 +++ aqtplplot.m 21 Nov 2004 22:05:18 -0000 1.8 @@ -168,7 +168,10 @@ void plD_eop_aqt(PLStream *pls) { - [adapter takeBackgroundColorFromColormapEntry:0]; + // Make sure the background color is up to date + [adapter setBackgroundColorRed:(float)(plsc->cmap0[0].r/255.0) + green:(float)(plsc->cmap0[0].g/255.0) + blue:(float)(plsc->cmap0[0].b/255.0)]; [adapter renderPlot]; } @@ -208,12 +211,6 @@ case PLSTATE_CMAP0: colorChange = TRUE; - // - // Make sure the background color is set to the current color map - // - [adapter setBackgroundColorRed:(float)(plsc->cmap0[0].r/255.0) - green:(float)(plsc->cmap0[0].g/255.0) - blue:(float)(plsc->cmap0[0].b/255.0)]; break; case PLSTATE_CMAP1: @@ -572,4 +569,4 @@ // ---------------------------------------------------------------- // --- End of PlPLOT function aqtrm() -// ---------------------------------------------------------------- \ No newline at end of file +// ---------------------------------------------------------------- |