064a6ba7c9f9e4a2055cd8363f6128ac475c576e galt Fri Feb 25 15:30:32 2011 -0800 squashed my dev branch bigNetErrDisplay to test making code review easier; this code helps hgTracks display big network warnings and errors with a yellow background; it supports bigWig, bigBed, bam, and multiWig; In the case of multiWig, it can only draw the yellow background once at the beginning, and is limited to only drawing the first track that has a network error since overlapping multiple error messages would be unreadable diff --git src/hg/hgTracks/container.h src/hg/hgTracks/container.h index 2be0824..c44303a 100644 --- src/hg/hgTracks/container.h +++ src/hg/hgTracks/container.h @@ -1,21 +1,24 @@ /* container.h - stuff for container tracks. */ #ifndef CONTAINER_H #define CONTAINER_H void makeContainerTrack(struct track *track, struct trackDb *tdb); /* Construct track subtrack list from trackDb entry for container tracks. */ void multiWigContainerMethods(struct track *track); /* Override general container methods for multiWig. */ void containerLoadItems(struct track *track); /* containerLoadItems - call load routine on all children. */ +char *parentContainerType(struct track *track); +/* Determine parent's container type if any or NULL */ + void containerDrawItems(struct track *track, int seqStart, int seqEnd, struct hvGfx *hvg, int xOff, int yOff, int width, MgFont *font, Color color, enum trackVisibility vis); /* Draw items in container. */ #endif /* CONTAINER_H */