9d339b2c0a1f6ded31b1a0a4c8ce0f1453b8d146 tdreszer Thu Nov 18 12:16:17 2010 -0800 Added 'inset' style so that BLAT sideButton is visibly different, as it is non-configurable. diff --git src/hg/hgTracks/imageV2.c src/hg/hgTracks/imageV2.c index 0d1d024..02118da 100644 --- src/hg/hgTracks/imageV2.c +++ src/hg/hgTracks/imageV2.c @@ -1616,31 +1616,31 @@ struct imgSlice *centerSlice = imgTrackSliceGetByType(imgTrack,stCenter); if (centerSlice != NULL) height -= centerSlice->height; } hPrintf(" <p id='p_%s' style='height:%dpx;",name,height); if(slice->type==stButton) { char *trackName = imgTrack->name; if(trackName == NULL) { struct trackDb * tdb = imgTrack->tdb; if(tdbIsCompositeChild(tdb)) tdb = tdbGetComposite(tdb); trackName = tdb->track; } - hPrintf(" width:9px; display:none;' class='%s btn btnN'></p>",trackName); + hPrintf(" width:9px; display:none;' class='%s %sbtn btnN'></p>",trackName,(slice->link == NULL?"inset ":"")); } else hPrintf("width:%dpx;'></p>",slice->width); } } // FF does not support newline code and '...' looks bad without newlines #define NEWLINE_ENCODED " 
" #define NEWLINE_NOT_SUPPORTED " - " #define NEWLINE_TO_USE(browser) ((browser) == btFF ? NEWLINE_NOT_SUPPORTED : NEWLINE_ENCODED) #define ELLIPSIS_TO_USE(browser) ((browser) == btFF ? "" : "...") static void sliceAndMapDraw(struct imgBox *imgBox,struct imgTrack *imgTrack,enum sliceType sliceType,char *name,boolean scrollHandle) /* writes a slice of an image and any assocated image map as HTML */ {