0a1177a35a3a3563427039abb194f341f51cc2a8 braney Tue Jun 15 18:17:24 2010 -0700 removed Smear8 in favor of making Smears always take Colors. There are still some problems with 32 bit smears not getting the same colors as it's 8bit analog. I'm thinking this is something to do with the 0 and 1 being white and black in eight bit diff --git src/hg/hgTracks/coverageTrack.c src/hg/hgTracks/coverageTrack.c index 4174b83..270dbd5 100644 --- src/hg/hgTracks/coverageTrack.c +++ src/hg/hgTracks/coverageTrack.c @@ -432,8 +432,11 @@ } } resampleBytes(useCounts, sampleWidth, aveCounts, width); -grayThreshold(aveCounts, width); -hvGfxVerticalSmear8(hvg,xOff,yOff,width,lineHeight,aveCounts,TRUE); + +Color *colors; +colors = needMem(width * sizeof(Color)); +grayThreshold(aveCounts, width, colors); +hvGfxVerticalSmear(hvg,xOff,yOff,width,lineHeight,colors,TRUE); freeMem(useCounts); freeMem(aveCounts); }