397ef4cb75a35e5563e1be6e9cbc131893e8acc4 kate Fri Jan 31 13:44:27 2014 -0800 Add UI checkbox to suppress display of cell abbreviations. diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index ec2e499..d580b8c 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -1182,32 +1182,31 @@ { //int i; int x1, x2, w; x1 = round((double)(chromStart-winStart)*scale) + xOff; x2 = round((double)(chromEnd-winStart)*scale) + xOff; if (x2 >= MAXPIXELS) x2 = MAXPIXELS - 1; w = x2-x1; if (w < 1) w = 1; hvGfxBox(hvg, x1, y, w, height, color); } -void filterItems(struct track *tg, - boolean (*filter)(struct track *tg, void *item), +void filterItems(struct track *tg, boolean (*filter)(struct track *tg, void *item), char *filterType) /* Filter out items from track->itemList. */ { struct slList *newList = NULL, *oldList = NULL, *el, *next; boolean exclude = FALSE; boolean color = FALSE; enum trackVisibility vis = tvHide; if (sameWord(filterType, "none")) return; if (sameWord(filterType, "include")) exclude = FALSE; else if (sameWord(filterType, "exclude")) exclude = TRUE;