378de871584d1a2772917bd53ad1e41c7f92be4f kent Wed Feb 13 11:35:04 2013 -0800 Adding transparency setting to wigCart. diff --git src/hg/hgTracks/wigCommon.h src/hg/hgTracks/wigCommon.h index c35c56d..a430345 100644 --- src/hg/hgTracks/wigCommon.h +++ src/hg/hgTracks/wigCommon.h @@ -17,30 +17,31 @@ enum wiggleSmoothingEnum smoothingWindow; /* N: [1:15] */ enum wiggleYLineMarkEnum yLineOnOff; /* OFF/ON */ enum wiggleAlwaysZeroEnum alwaysZero; /* OFF/ON */ enum wiggleTransformFuncEnum transformFunc; /* NONE/LOG */ double minY; /* from trackDb.ra words, the absolute minimum */ double maxY; /* from trackDb.ra words, the absolute maximum */ int maxHeight; /* maximum pixels height from trackDb */ int defaultHeight; /* requested height from cart */ int minHeight; /* minimum pixels height from trackDb */ double yLineMark; /* user requested line at y = */ char *colorTrack; /* Track to use for coloring wiggle track. */ int graphColumn; /* column to be graphing (bedGraph tracks) */ boolean bedGraph; /* is this a bedGraph track ? */ boolean isMultiWig; /* If true it's a multi-wig. */ boolean overlay; /* Overlay multiple wigs on top of each other? */ + boolean transparent; /* Doing transparency? */ }; struct wigCartOptions *wigCartOptionsNew(struct cart *cart, struct trackDb *tdb, int wordCount, char *words[]); /* Create a wigCartOptions from cart contents and tdb. */ struct preDrawContainer /* A list of preDraws */ { struct preDrawContainer *next; struct preDrawElement *preDraw; int preDrawSize; /* Size of preDraw */ int preDrawZero; /* Offset from start of predraw array to data requested. We * get more because of smoothing */ int width; /* Passed in width, number of pixels to display without smooth */ };