69e8424f77f7d2513fcf8082aea972d539665540 tdreszer Fri Nov 18 13:14:56 2011 -0800 More touches on BUTTONS_BY_CSS diff --git src/hg/hgTracks/config.c src/hg/hgTracks/config.c index cfb3ef5..bf0393b 100644 --- src/hg/hgTracks/config.c +++ src/hg/hgTracks/config.c @@ -99,32 +99,37 @@ /* 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)); +#ifdef BUTTONS_BY_CSS + hPrintf("%s  ", + group->name, group->name, isOpen?"Collapse":"Expand", indicator); +#else///ifndef BUTTONS_BY_CSS hPrintf("%s  ", group->name, group->name, indicatorImg, indicator,isOpen?"Collapse":"Expand"); +#endif///ndef BUTTONS_BY_CSS 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("",