a52b6ed7d7540d303cbd9edf09ec04f3e818950c
kate
  Tue Apr 12 17:54:23 2016 -0700
Add darkerLabels setting.

diff --git src/hg/hgTracks/hgTracks.h src/hg/hgTracks/hgTracks.h
index 7d733b1..af2ccd2 100644
--- src/hg/hgTracks/hgTracks.h
+++ src/hg/hgTracks/hgTracks.h
@@ -1320,30 +1320,33 @@
  * BUT if track->tdb has a centerLabelDense setting, let subtracks go with
  * the default and inhibit composite track center labels in all modes.
  * Otherwise use the global boolean withCenterLabels. */
 
 #define isCenterLabelConditional(track) \
                         ((limitVisibility(track) == tvDense) && tdbIsCompositeChild((track)->tdb))
 // dense subtracks have conditional centerLabels
 
 boolean isCenterLabelConditionallySeen(struct track *track);
 // returns FALSE if track and prevTrack have same parent, and are both dense subtracks
 
 #define isCenterLabelIncluded(track) \
                 (isWithCenterLabels(track) && (theImgBox || isCenterLabelConditionallySeen(track)))
 // Center labels may be conditionally included
 
+Color maybeDarkerLabels(struct track *track, struct hvGfx *hvg, Color color);
+/* For tracks having light track display but needing a darker label */
+
 void affyTxnPhase2Methods(struct track *track);
 /* Methods for dealing with a composite transcriptome tracks. */
 
 void loadGenePred(struct track *tg);
 /* Convert gene pred in window to linked feature. */
 
 void genePredAssignConfiguredName(struct track *tg);
 /* Set name on genePred in "extra" field to gene name, accession, or both,
  * depending, on UI on all items in track */
 
 void loadGenePredWithConfiguredName(struct track *tg);
 /* Convert gene pred info in window to linked feature. Include name
  * in "extra" field (gene name, accession, or both, depending on UI) */
 
 boolean highlightItem(struct track *tg, void *item);