src/hg/hgTracks/hgTracks.h 1.187

1.187 2009/10/16 00:34:30 angie
Added enhanced coloring options (user-requested) to hgTrackUi and implemented 3 out of 5 in hgTracks.
Index: src/hg/hgTracks/hgTracks.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/hgTracks.h,v
retrieving revision 1.186
retrieving revision 1.187
diff -b -B -U 4 -r1.186 -r1.187
--- src/hg/hgTracks/hgTracks.h	27 Jul 2009 19:31:48 -0000	1.186
+++ src/hg/hgTracks/hgTracks.h	16 Oct 2009 00:34:30 -0000	1.187
@@ -907,8 +907,19 @@
 
 int linkedFeaturesSeriesCmp(const void *va, const void *vb);
 /* Compare to sort based on chrom,chromStart. */
 
+void lfDrawSpecialGaps(struct linkedFeatures *lf,
+		       int intronGap, boolean chainLines, int gapFactor,
+		       struct track *tg, struct hvGfx *hvg, int xOff, int y,
+		       double scale, Color color, Color bColor,
+		       enum trackVisibility vis);
+/* If applicable, draw something special for the gap following this block.
+ * If intronGap has been specified, draw exon arrows only if the target gap
+ * length is at least intronGap.
+ * If chainLines, draw a double-line gap if both target and query have a gap
+ * (mismatching sequence). */
+
 void linkedFeaturesSeriesDraw(struct track *tg, int seqStart, int seqEnd,
 			      struct hvGfx *hvg, int xOff, int yOff, int width,
 			      MgFont *font, Color color, enum trackVisibility vis);
 /* Draw linked features series items. */