",HG_COL_HEADER);
printf(PM_BUTTON,"true", "plus_all", "add_sm.gif", "Select");
printf(PM_BUTTON,"false","minus_all","remove_sm.gif","Unselect");
hPrintf(" | Visibility | Name | Description |
\n");
-#else///ifndef CB_SELECTION
- hButton("submit", "View in Browser");
- hPrintf("\n",COLOR_BG_ALTDEFAULT);
-#ifdef CB_SELECTION
+
// FIXME: I think we have now changed the paradigm for subtrack vis:
// There must be a {trackName}_sel to have subtrack level vis override.
// This means rightClick must make a {trackName}_sel, which is needed for hgTrackUi conformity anyway
@@ -590,7 +582,7 @@
cgiMakeCheckBoxIdAndJS(name,checked,name,"class='selCb' onchange=\"findTracksClickedOne(this,true);\"");
hPrintf("\n");
-#endif///def CB_SELECTION
+
hPrintf("\n");
if (tdbIsSuper(track->tdb))
{
@@ -601,64 +593,46 @@
{
hTvDropDownClassVisOnly(track->track, track->visibility,
track->canPack,
-#ifdef CB_SELECTION
- "normalText",
-#else///ifndef CB_SELECTION
- (track->visibility == tvHide) ? "hiddenText" : "normalText",
-#endif///ndef CB_SELECTION
+ "normalText", // Show hide as normal text too! (track->visibility == tvHide) ? "hiddenText" : "normalText",
trackDbSetting(track->tdb, "onlyVisibility"));
}
hPrintf(" | \n");
-#ifdef CB_SELECTION
hPrintf("%s | \n", trackUrl(track->track, NULL), track->shortLabel);
hPrintf("%s", track->longLabel);
compositeMetadataToggle(database, track->tdb, "...", TRUE, FALSE, tdbHash);
-#else///ifndef CB_SELECTION
- hPrintf(" | %s", track->shortLabel);
- compositeMetadataToggle(database, track->tdb, "...", TRUE, FALSE, tdbHash);
- hPrintf(" | \n");
- hPrintf("%s", trackUrl(track->track, NULL), track->longLabel);
-#endif///ndef CB_SELECTION
hPrintf(" |
\n");
}
hPrintf("