321309e057df857daf2b00099ded02864dc77d2f kate Tue Jul 18 16:06:20 2017 -0700 1. Fix problem in full mode. 2. Make tissue track item labels black (too many colors o/w). refs #15646 diff --git src/hg/hgTracks/hgTracks.h src/hg/hgTracks/hgTracks.h index 39e4a81..ac390e7 100644 --- src/hg/hgTracks/hgTracks.h +++ src/hg/hgTracks/hgTracks.h @@ -1521,30 +1521,33 @@ void lrgMethods(struct track *tg); /* Locus Reference Genomic (bigBed 12 +) handlers. */ void peptideAtlasMethods(struct track *tg); /* PeptideAtlas (bed 12+) handlers */ void barChartMethods(struct track *tg); /* Bar Chart track type: draw fixed width chart of colored bars over a BED item */ void barChartCtMethods(struct track *tg); /* Bar Chart track methods for custom track */ void gtexEqtlClusterMethods(struct track *tg); /* GTEx eQTL Cluster (bigBed 5 +) tracks */ +void gtexEqtlTissueMethods(struct track *tg); +/* Install handler for GTEx eQTL Tissues track */ + void parentChildCartCleanup(struct track *trackList,struct cart *newCart,struct hash *oldVars); /* When composite/view settings changes, remove subtrack specific vis When superTrackChild is found and selected, shape superTrack to match. */ void dontLoadItems(struct track *tg); /* No-op loadItems when we aren't going to try. */ void filterItems(struct track *tg, boolean (*filter)(struct track *tg, void *item), char *filterType); /* Filter out items from track->itemList. */ //#define REMOTE_TRACK_AJAX_CALLBACK #ifdef REMOTE_TRACK_AJAX_CALLBACK #define REMOTE_TRACK_HEIGHT (tl.fontHeight*2) @@ -1634,17 +1637,20 @@ /* Find SpaceSaver in list. Return spaceSaver found or NULL. */ void labelTrackAsFiltered(struct track *tg); /* add text to track long label to indicate filter is active */ void setupHotkeys(boolean gotExtTools); /* setup keyboard shortcuts and a help dialog for it */ void calcWiggleOrdering(struct cart *cart, struct flatTracks *flatTracks); void bedPlusLabelDrawAt(struct track *tg, void *item, struct hvGfx *hvg, int xOff, int y, double scale, MgFont *font, Color color, enum trackVisibility vis); /* Draw a single bed item at position. If vis is full, draw the associated label to the left * of the item. */ +Color blackItemNameColor(struct track *tg, void *item, struct hvGfx *hvg); +/* Force item name (label) color to black */ + #endif /* HGTRACKS_H */