src/hg/hgTracks/hgTracks.h 1.211
1.211 2010/05/18 19:01:17 kent
Adding parent field to struct track, and filling it in for composite and container subtracks. For supertracks, the existing parent finding at the track (as opposed to trackDb) level is buried enough this is difficult, so putting this off until the mythical day when supertracks are refactored out. Making mrna searches open mrna track in hg19, and in general improving search auto-opening when track and table name are different.
Index: src/hg/hgTracks/hgTracks.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/hgTracks.h,v
retrieving revision 1.210
retrieving revision 1.211
diff -b -B -U 4 -r1.210 -r1.211
--- src/hg/hgTracks/hgTracks.h 11 May 2010 01:43:27 -0000 1.210
+++ src/hg/hgTracks/hgTracks.h 18 May 2010 19:01:17 -0000 1.211
@@ -200,8 +200,9 @@
struct track *subtracks; /* list of subsidiary tracks that are
loaded and drawn by this track. This
is used for "composite" tracks, such
as "mafWiggle */
+ struct track *parent; /* Parent track if any */
void (*nextPrevExon)(struct track *tg, struct hvGfx *hvg, void *item, int x, int y, int w, int h, boolean next);
/* Function will draw the button on a track item and assign a map */
/* box to it as well, so that a click will move the browser window */