3c079f1ab5ff66233574d8c5eff421698fe6b741
angie
  Mon Aug 18 11:51:58 2014 -0700
Revert "Checking in changes to make 'spectrum' (aka 'useScore') actually work on any pair of color/altColor settings.  It used to be that only shadesOfGray, shadesOfBrown and shadesOfSea worked, leaving most cases to be shadesOfGray.  I have sat on these changes for months.  I am also checking in ifdef'd out code to calc the shade on the fly, rather than relaying on track->colorShades set of precomputed 10 shades.  The only reason this code is not used is that it would require changing many many places/uses of colorShades.  Since I am bein laid off, it seems inappropriate to make this more dramatic change at this time."
This reverts commit a4adfa326bf8bec73020ee1a8aa0cb6251ea8663.

refs #13833

diff --git src/hg/hgTracks/hgTracks.h src/hg/hgTracks/hgTracks.h
index b37209d..f5ea4b3 100644
--- src/hg/hgTracks/hgTracks.h
+++ src/hg/hgTracks/hgTracks.h
@@ -1168,31 +1168,32 @@
 
 struct track *trackNew();
 /* Allocate track . */
 
 void bedMethods(struct track *tg);
 /* Fill in methods for (simple) bed tracks. */
 
 void bed9Methods(struct track *tg);
 /* Fill in methods for bed9 tracks. */
 
 void complexBedMethods(struct track *track, struct trackDb *tdb, boolean isBigBed,
                                 int wordCount, char *words[]);
 /* Fill in methods for more complex bed tracks. */
 
 void makeCompositeTrack(struct track *track, struct trackDb *tdb);
-// Construct track subtrack list from trackDb entry.
+/* Construct track subtrack list from trackDb entry.
+ * Sets up color gradient in subtracks if requested */
 
 void makeContainerTrack(struct track *track, struct trackDb *tdb);
 /* Construct track subtrack list from trackDb entry for container tracks. */
 
 bool isSubtrackVisible(struct track *tg);
 /* Should this subtrack be displayed? */
 
 void compositeTrackVis(struct track *track);
 /* set visibilities of subtracks */
 
 boolean isWithCenterLabels(struct track *track);
 /* Special cases: inhibit center labels of subtracks in dense mode, and
  * of composite track in non-dense mode.
  * BUT if track->tdb has a centerLabelDense setting, let subtracks go with
  * the default and inhibit composite track center labels in all modes.
@@ -1385,25 +1386,21 @@
 
 #define REMOTE_TRACK_HEIGHT 0
 #define trackShouldUseAjaxRetrieval(track)  FALSE
 
 #endif//ndef REMOTE_TRACK_AJAX_CALLBACK
 
 int gCmpPriority(const void *va, const void *vb);
 /* Compare groups based on priority. */
 
 int tgCmpPriority(const void *va, const void *vb);
 /* Compare to sort based on priority; use shortLabel as secondary sort key. */
 
 void printMenuBar();
 /* Put up the menu bar. */
 
-Color colorBySpectrumOrDefault(struct hvGfx *hvg, struct track *track,int shade,
-                               Color defaultColor);
-// Returns color to use if spectrum exists, else returns default
-
 #define measureTime uglyTime
 
 #define SUPPORT_CONTENT_TYPE 1
 
 #endif /* HGTRACKS_H */