1028183b63771ec4f9f23fdc4edeabf649ff14c4 kate Wed Oct 10 14:01:31 2018 -0700 Finish implementation of split labels in pack mode. refs #21917 diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index 60972d3..7725e29 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -4979,31 +4979,31 @@ int linkedFeaturesItemStart(struct track *tg, void *item) /* Return start chromosome coordinate of item. */ { struct linkedFeatures *lf = item; return lf->start; } int linkedFeaturesItemEnd(struct track *tg, void *item) /* Return end chromosome coordinate of item. */ { struct linkedFeatures *lf = item; return lf->end; } -static void linkedFeaturesMapItem(struct track *tg, struct hvGfx *hvg, void *item, +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) /* Draw the mouseOver (aka statusLine) text from the mouseOver field of lf * Fallback to itemName if there is no mouseOver field. * (derived from genericMapItem) */ { // Don't bother if we are imageV2 and a dense child. if (theImgBox && tg->limitedVis == tvDense && tdbIsCompositeChild(tg->tdb)) return; struct linkedFeatures *lf = item; char *newItemName = (isEmpty(lf->mouseOver)) ? itemName: lf->mouseOver; // copied from genericMapItem char *directUrl = trackDbSetting(tg->tdb, "directUrl");