ebb119f63d024ea706a6922adf67bb9956d5f049 kate Tue Sep 3 16:33:52 2019 -0700 More fixes for multi-region (cross-chrom and non-cluster mode). refs #22422 diff --git src/hg/hgTracks/hgTracks.h src/hg/hgTracks/hgTracks.h index 18b0b99..0f01913 100644 --- src/hg/hgTracks/hgTracks.h +++ src/hg/hgTracks/hgTracks.h @@ -1605,30 +1605,33 @@ 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. */ void checkIfWiggling(struct cart *cart, struct track *tg); /* Check to see if a linkedFeatures track should be drawing as a wiggle. */ boolean isTypeBedLike(struct track *track); /* Check if track type is BED-like packable thing (but not rmsk or joinedRmsk) */ boolean isTypeUseItemNameAsKey(struct track *track); /* Check if track type is like expRatio and key is just item name. */ +boolean isTypeUseMapItemNameAsKey(struct track *track); +/* Check if track type is like interact and uses map item name to link across multi regions */ + void setEMGeneTrack(); /* Find the track for the gene table to use for exonMostly and geneMostly. */ void findBestEMGeneTable(struct track *trackList); /* Find the best gene table to use for exonMostly */ struct window *makeWindowListFromVirtChrom(long virtWinStart, long virtWinEnd); /* make list of windows from virtual position on virtualChrom */ struct convertRange { struct convertRange *next; char *chrom; int start; int end; @@ -1682,20 +1685,17 @@ 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 */ void linkedFeaturesMapItem(struct track *tg, struct hvGfx *hvg, void *item, char *itemName, char *mapItemName, int start, int end, int x, int y, int width, int height); -boolean interactIsClusterMode(struct track *tg); -/* Determine if track is interact and is in cluster view */ - #endif /* HGTRACKS_H */