c2c65344c6ae672dbc05e7920049803c3fe29874
tdreszer
  Thu Sep 16 12:29:34 2010 -0700
Fixed tdbVisLimitedByAncestry which caused supertrack contained and visibble tracks to appear hidden in findTracks.  Added composite/view vis reshaping based upon subtrack specific vis.
diff --git src/hg/inc/hui.h src/hg/inc/hui.h
index 4ab6f6c..850ad94 100644
--- src/hg/inc/hui.h
+++ src/hg/inc/hui.h
@@ -166,6 +166,7 @@
     tvPack=3,           /* Zig zag it up and down. */
     tvSquish=4,         /* Pack with thin boxes and no labels. */
     };
+#define tvShow tvFull
 
 enum trackVisibility hTvFromString(char *s);
 /* Given a string representation of track visibility, return as
@@ -942,7 +943,7 @@
 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);
+enum trackVisibility tdbVisLimitedByAncestry(struct cart *cart, struct trackDb *tdb, boolean noSupers);
 /* returns visibility limited by ancestry (or subtrack vis override) */
 
 char *compositeViewControlNameFromTdb(struct trackDb *tdb);
@@ -1152,4 +1153,7 @@
 int subtrackFourStateChecked(struct trackDb *subtrack, struct cart *cart);
 /* Returns the four state checked state of the subtrack */
 
+void subtrackFourStateCheckedSet(struct trackDb *subtrack, struct cart *cart,boolean checked, boolean enabled);
+/* Sets the fourState Checked in the cart and updates cached state */
+
 #endif /* HUI_H */