\n");
hPrintf("image width:");
hPrintf(" | ");
hIntVar("pix", tl.picWidth, 4);
hPrintf(" | pixels |
");
hPrintf("label area width:");
hPrintf(" | ");
hIntVar("hgt.labelWidth", leftLabelWidthChars, 2);
hPrintf(" | characters | |
");
hPrintf("text size:");
hPrintf(" | ");
textSizeDropDown();
hPrintf(" | ");
if (trackLayoutInclFontExtras())
{
hPrintf("");
char *defaultStyle = cartUsualString(cart, "fontType", "medium");
cartMakeRadioButton(cart, "fontType", "medium", defaultStyle);
hPrintf(" medium ");
cartMakeRadioButton(cart, "fontType", "fixed", defaultStyle);
hPrintf(" fixed ");
cartMakeRadioButton(cart, "fontType", "bold", defaultStyle);
hPrintf(" bold ");
hPrintf(" ");
hPrintf(" | ");
}
hPrintf("
");
themeDropDown(cart);
hTableStart();
if (ideoTrack != NULL)
{
hPrintf("");
hCheckBox("ideogram", cartUsualBoolean(cart, "ideogram", TRUE));
hPrintf(" | ");
hPrintf("Display chromosome ideogram above main graphic");
hPrintf(" |
\n");
}
hPrintf("");
hCheckBox("guidelines", cartUsualBoolean(cart, "guidelines", TRUE));
hPrintf(" | ");
hPrintf("Show light blue vertical guidelines");
hPrintf(" |
\n");
hPrintf("");
hCheckBox("leftLabels", cartUsualBoolean(cart, "leftLabels", TRUE));
hPrintf(" | ");
hPrintf("Display labels to the left of items in tracks");
hPrintf(" |
\n");
hPrintf("");
hCheckBox("centerLabels", cartUsualBoolean(cart, "centerLabels", TRUE));
hPrintf(" | ");
hPrintf("Display description above each track");
hPrintf(" |
\n");
hPrintf("");
hCheckBox("trackControlsOnMain", cartUsualBoolean(cart, "trackControlsOnMain", TRUE));
hPrintf(" | ");
hPrintf("Show track controls under main graphic");
hPrintf(" |
\n");
hPrintf("");
hCheckBox("nextItemArrows", cartUsualBoolean(cart, "nextItemArrows", FALSE));
hPrintf(" | ");
hPrintf("Next/previous item navigation");
hPrintf(" |
\n");
hPrintf("");
hCheckBox("nextExonArrows", cartUsualBoolean(cart, "nextExonArrows", TRUE));
hPrintf(" | ");
hPrintf("Next/previous exon navigation");
hPrintf(" |
\n");
hPrintf("");
hCheckBox("enableHighlightingDialog", cartUsualBoolean(cart, "enableHighlightingDialog", TRUE));
hPrintf(" | ");
hPrintf("Enable highlight with drag-and-select "
"(if unchecked, drag-and-select always zooms to selection)");
hPrintf(" |
\n");
hTableEnd();
cgiDown(0.9);
char *freeze = hFreezeFromDb(database);
char buf[128];
if (freeze == NULL)
safef(buf, sizeof buf, "Configure Tracks on %s %s: %s",
organization, browserName, trackHubSkipHubName(organism));
else if (stringIn(database, freeze))
safef(buf, sizeof buf, "Configure Tracks on %s %s: %s %s",
organization, browserName, trackHubSkipHubName(organism), freeze);
else
safef(buf, sizeof buf, "Configure Tracks on %s %s: %s %s (%s)",
organization, browserName, trackHubSkipHubName(organism), freeze, trackHubSkipHubName(database));
webNewSection(buf);
hPrintf("Tracks: ");
if (isSearchTracksSupported(database,cart))
{
cgiMakeButtonWithMsg(TRACK_SEARCH, TRACK_SEARCH_BUTTON,TRACK_SEARCH_HINT);
hPrintf(" ");
}
cgiMakeButtonWithMsg(configHideAll, "hide all","Hide all tracks in this genome assembly");
hPrintf(" ");
cgiMakeButtonWithMsg(configShowAll, "show all","Show all tracks in this genome assembly");
hPrintf(" ");
cgiMakeButtonWithMsg(configDefaultAll, "default","Display only default tracks");
hPrintf(" Groups: ");
hButtonWithOnClick("hgt.collapseGroups", "collapse all", "Collapse all track groups",
"return vis.expandAllGroups(false)");
hPrintf(" ");
hButtonWithOnClick("hgt.expandGroups", "expand all", "Expand all track groups",
"return vis.expandAllGroups(true)");
hPrintf("Control track and group visibility "
"more selectively below.
");
trackConfig(trackList, groupList, groupTarget, vis);
dyStringFree(&title);
freez(&groupTarget);
webEndSectionTables();
hPrintf("");
}
void configPage()
/* Put up configuration page. */
{
configPageSetTrackVis(-2);
}