b94993d07e5d0ef24f17a40c9ca7f5b2ddb93701 braney Wed May 11 10:50:56 2022 -0700 allow hubs to specify a naming authority for the chromosome that's displayed by the browser diff --git src/hg/hgTracks/hgTracks.h src/hg/hgTracks/hgTracks.h index bf740e6..e4f5dec 100644 --- src/hg/hgTracks/hgTracks.h +++ src/hg/hgTracks/hgTracks.h @@ -527,30 +527,31 @@ extern struct trackLayout tl; extern struct jsonElement *jsonForClient; /* multiple windows */ extern struct window *windows; // list of windows in image extern struct window *currentWindow; // current window extern bool trackLoadingInProgress; // flag to delay ss layout until all windows are ready. extern int fullInsideX; // full-image insideX extern int fullInsideWidth; // full-image insideWidth extern struct cart *cart; /* The cart where we keep persistent variables. */ extern struct hash *oldVars; /* List of vars from previous cart. */ extern struct track *trackList; /* List of all tracks. */ extern struct hash *trackHash; /* Hash of the tracks by their name. */ extern char *chromName; /* Name of chromosome sequence . */ +extern char *displayChromName; /* Name of chromosome sequence to display . */ extern char *database; /* Name of database we're using. */ extern char *organism; /* Name of organism we're working on. */ extern char *browserName; /* Test or public browser */ extern char *organization; /* UCSC or MGC */ extern int winStart; /* Start of window in sequence. */ extern int winEnd; /* End of window in sequence. */ extern int maxItemsInFullTrack; /* Maximum number of items displayed in full */ extern char *position; /* Name of position. */ extern int gfxBorder; /* Width of graphics border. */ extern int insideWidth; /* Width of area to draw tracks in in pixels. */ extern int insideX; /* Start of area to draw track in in pixels. */ extern int leftLabelX; /* Start of area to draw left labels on. */ extern int leftLabelWidth; /* Width of area to draw left labels on. */ extern boolean withLeftLabels; /* Display left labels? */ extern boolean withCenterLabels; /* Display center labels? */