a79ca8843be0fbe1b0c59167db1aa9e4b487a07e kate Wed Aug 9 12:45:32 2017 -0700 Fixes to maxHeightPixels support in barChart UI. refs #19872 diff --git src/hg/inc/cart.h src/hg/inc/cart.h index 0bf43ac..b86c524 100644 --- src/hg/inc/cart.h +++ src/hg/inc/cart.h @@ -603,17 +603,24 @@ /* Hide all the tracks who have default visibilities in trackDb * that are something other than hide. Do this only if the * variable CART_HAS_DEFAULT_VISIBILITY is set in the cart. */ char *cartGetPosition(struct cart *cart, char *database, struct cart **pLastDbPosCart); /* get the current position in cart as a string chr:start-end. * This can handle the special CGI params 'default' and 'lastDbPos' * Returned value has to be freed. Returns default position of assembly * if no position set in cart nor as CGI var. * For virtual modes, returns the type and extraState. */ void cartSetDbPosition(struct cart *cart, char *database, struct cart *lastDbPosCart); /* Set the 'position.db' variable in the cart.*/ +void cartTdbFetchMinMaxPixels(struct cart *theCart, struct trackDb *tdb, + int defaultMin, int defaultMax, int defaultDefault, + int *retMin, int *retMax, int *retDefault, int *retCurrent); +/* Configure maximum track height for variable height tracks (e.g. wiggle, barchart) + * Initial height and limits may be defined in trackDb with the maxHeightPixels string, + * Or user requested limits are defined in the cart. */ + #endif /* CART_H */