src/hg/hgTracks/hgTracks.h 1.208
1.208 2010/05/07 05:07:57 kent
Code to get container multiWig to go.
Index: src/hg/hgTracks/hgTracks.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/hgTracks.h,v
retrieving revision 1.207
retrieving revision 1.208
diff -b -B -U 4 -r1.207 -r1.208
--- src/hg/hgTracks/hgTracks.h 10 Apr 2010 01:14:57 -0000 1.207
+++ src/hg/hgTracks/hgTracks.h 7 May 2010 05:07:57 -0000 1.208
@@ -93,9 +93,9 @@
int height; /* Total height - must be set by above call. */
int lineHeight; /* Height per track including border. */
int heightPer; /* Height per track minus border. */
- int (*itemHeight)(struct track *xtg, void *item);
+ int (*itemHeight)(struct track *tg, void *item);
/* Return height of one item. */
int (*itemRightPixels)(struct track *tg, void *item);
/* Return number of pixels needed to right of item for additional labeling. (Optional) */
@@ -230,8 +230,11 @@
typedef void (*TrackHandler)(struct track *tg);
+int trackPriCmp(const void *va, const void *vb);
+/* Compare for sort based on priority */
+
boolean trackIsCompositeWithSubtracks(struct track *track);
/* Temporary function until all composite tracks point to their own children */
struct trackRef
@@ -1077,8 +1080,11 @@
void makeCompositeTrack(struct track *track, struct trackDb *tdb);
/* Construct track subtrack list from trackDb entry.
* Sets up color gradient in subtracks if requested */
+void makeContainerTrack(struct track *track, struct trackDb *tdb);
+/* Construct track subtrack list from trackDb entry for container tracks. */
+
bool isSubtrackVisible(struct track *tg);
/* Should this subtrack be displayed? */
void compositeTrackVis(struct track *track);