src/hg/hgTracks/hgTracks.h 1.191
1.191 2009/11/17 20:17:57 angie
bugfix: don't assume we have linkedFeatures in baseColorInitTrack because this is called for linkedFeaturesSeries too. Use tg->drawItems as a proxy for type (lf vs. lfs). Then the proper range is set and we can replace a slow hDnaFromSeq call with getCachedDna.
Index: src/hg/hgTracks/hgTracks.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/hgTracks.h,v
retrieving revision 1.190
retrieving revision 1.191
diff -b -B -U 4 -r1.190 -r1.191
--- src/hg/hgTracks/hgTracks.h 11 Nov 2009 21:13:14 -0000 1.190
+++ src/hg/hgTracks/hgTracks.h 17 Nov 2009 20:17:57 -0000 1.191
@@ -653,8 +653,14 @@
struct hvGfx *hvg, int xOff, int yOff, int width,
MgFont *font, Color color, enum trackVisibility vis);
/* Draw dense linked features items. */
+void linkedFeaturesAverageDenseOrientEst(struct track *tg,
+ int seqStart, int seqEnd,
+ struct hvGfx *hvg, int xOff, int yOff, int width,
+ MgFont *font, Color color, enum trackVisibility vis);
+/* Draw dense linked features items. */
+
void linkedFeaturesMethods(struct track *tg);
/* Fill in track group methods for linked features.
* Many other methods routines will call this first
* to get a reasonable set of defaults. */