850b9b7d97d7a0fc1ea8f5357132b95aba4dda37 max Tue Oct 28 14:30:19 2025 -0700 forgot to commit a file in last commit diff --git src/hg/inc/hui.h src/hg/inc/hui.h index ece35ee3118..c9e28ef3350 100644 --- src/hg/inc/hui.h +++ src/hg/inc/hui.h @@ -1570,30 +1570,34 @@ /* add a checkbox for the user to select a component of a label (e.g. ID, name, other info). * NOTE: This does not have a track name argument, so the correct tdb must be passed in: * if setting is at composite level, then pass in composite tdb, likewise for view. */ int defaultFieldLocation(char *field); /* Sometimes we get bigBed filters with field names that are not in the AS file. * Try to guess what the user means. */ void printInfoIconSvg(); /* Print just info icon (i) as svg to stdout */ void printInfoIcon(char *mouseover); /* Print info icon (i) with explanatory text on mouseover * Uses jquery icon set, with style customized to GB in jquery-ui.css */ +void printInfoIconColor(char *mouseover, char *color); +/* Same as above, but with a color attribute. + * Uses jquery icon set, with style customized to GB in jquery-ui.css */ + void printRelatedTracks(char *database, struct hash *trackHash, struct trackDb *tdb, struct cart *cart); /* Maybe print a "related track" section */ struct trackDb *snp125FetchGeneTracks(char *database, struct cart *cart); /* Get a list of genePred tracks. */ struct trackDb *tdbOrAncestorByName(struct trackDb *tdb, char *name); /* For reasons Angie cannot fathom, if a composite or view is passed to cfgByCfgType then * cfgByCfgType passes a leaf subtrack to its callees like bigDbSnpCfgUi. That is why we * see so many calls to isNameAtParentLevel, which returns true if the tdb was originally * at the composite or view level, which we can only tell by comparing with the original track name. * labelMakeCheckBox, called by many handlers in hgTrackUi that must be always top-level * (or have a special handler that bypasses cfgByCfgType like refSeqComposite), * is blissfully unaware of this. It uses the same tdb for looking in cart ClosestToHome * and for making the HTML element's cart var name, trusting that the correct tdb has been