src/hg/hgTracks/hgTracks.h 1.198
1.198 2010/01/22 22:52:02 aamp
Microarray tracks and custom microarray tracks now support the "expColor" trackDb setting which can be "redGreen" (default), "redBlue", "redBlueOnWhite", "yellowBlue", or "redBlueOnYellow". Some things wre changed around so that adding more color options in the future is a cinch.
Index: src/hg/hgTracks/hgTracks.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/hgTracks.h,v
retrieving revision 1.197
retrieving revision 1.198
diff -b -B -U 4 -r1.197 -r1.198
--- src/hg/hgTracks/hgTracks.h 14 Jan 2010 22:36:31 -0000 1.197
+++ src/hg/hgTracks/hgTracks.h 22 Jan 2010 22:52:02 -0000 1.198
@@ -392,8 +392,11 @@
extern Color shadesOfRedOnWhite[EXPR_DATA_SHADES];
extern Color shadesOfBlueOnWhite[EXPR_DATA_SHADES];
extern Color shadesOfYellowOnWhite[EXPR_DATA_SHADES];
+extern Color shadesOfRedOnYellow[EXPR_DATA_SHADES];
+extern Color shadesOfBlueOnYellow[EXPR_DATA_SHADES];
+
extern boolean chromosomeColorsMade; /* Have the 3 shades of 8 chromosome colors been allocated? */
extern boolean exprBedColorsMade; /* Have the shades of Green, Red, and Blue been allocated? */
extern int maxRGBShade;
@@ -979,11 +982,8 @@
void makeRedGreenShades(struct hvGfx *hvg);
/* Makes some colors for the typical red/green microarray spectrum. */
-void makeRedBlueShadesOnWhiteBackground(struct hvGfx *hvg);
-/* Makes some colors for the typical red/blue microarray spectrum. */
-
void linkedFeaturesSeriesMethods(struct track *tg);
void lfsMapItemName(struct track *tg, struct hvGfx *hvg, void *item, char *itemName, char *mapItemName, int start, int end,
int x, int y, int width, int height);