4988e1f90ac3398d5e228209c5646f21b72846b1 tdreszer Fri Sep 10 08:51:35 2010 -0700 Added tdbLimitedByAncestry() and used it to fix 2 vis problems: cfg popup and findTracks initial vis diff --git src/hg/inc/hui.h src/hg/inc/hui.h index da7b049..4ab6f6c 100644 --- src/hg/inc/hui.h +++ src/hg/inc/hui.h @@ -942,6 +942,9 @@ enum trackVisibility tvMin(enum trackVisibility a, enum trackVisibility b); /* Return the less visible of a and b. */ +enum trackVisibility tdbVisLimitedByAncestry(struct cart *cart, struct trackDb *tdb, enum trackVisibility vis, boolean noSupers); +/* returns visibility limited by ancestry (or subtrack vis override) */ + char *compositeViewControlNameFromTdb(struct trackDb *tdb); /* Returns a string with the composite view control name if one exists */ void compositeViewControlNameFree(char **name);