701a85b9260e1a356e216789b300aa5b02a97f60 tdreszer Wed Nov 23 10:40:33 2011 -0800 Imported BUTTON_BY_CSS from branch because it goes with MATRIX_SQUEEZE diff --git src/hg/hgTracks/config.c src/hg/hgTracks/config.c index cfb3ef5..ad45869 100644 --- src/hg/hgTracks/config.c +++ src/hg/hgTracks/config.c @@ -99,32 +99,38 @@ /* check if group section should be displayed */ char *otherState; char *indicator; char *indicatorImg; boolean isOpen = !isCollapsedGroup(group); collapseGroupGoodies(isOpen, FALSE, &indicatorImg, &indicator, &otherState); hPrintf("\n",HG_COL_INSIDE); hPrintf(""); hPrintf("
"); hPrintf("
"); hPrintf("\n",group->name); hPrintf("", collapseGroupVar(group->name),collapseGroupVar(group->name), (isOpen?0:1)); +//#define BUTTONS_BY_CSS_NOT_HERE +#ifdef BUTTONS_BY_CSS_NOT_HERE + hPrintf("%s  ", + group->name, group->name, isOpen?"Collapse":"Expand", indicator); +#else///ifndef BUTTONS_BY_CSS_NOT_HERE hPrintf("%s  ", group->name, group->name, indicatorImg, indicator,isOpen?"Collapse":"Expand"); +#endif///ndef BUTTONS_BY_CSS_NOT_HERE hPrintf(" %s ", group->label); hPrintf("   "); hPrintf("\n"); hPrintf("", configHideAll, "hide all", configGroupTarget, group->name, jsSetVerticalPosition("mainForm")); hPrintf(" "); hPrintf("", configShowAll, "show all", configGroupTarget, group->name, jsSetVerticalPosition("mainForm")); hPrintf(" "); hPrintf("",