src/hg/hgTracks/hgTracks.h 1.209

1.209 2010/05/07 20:37:31 kent
Improving some comments
Index: src/hg/hgTracks/hgTracks.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/hgTracks.h,v
retrieving revision 1.208
retrieving revision 1.209
diff -b -B -U 4 -r1.208 -r1.209
--- src/hg/hgTracks/hgTracks.h	7 May 2010 05:07:57 -0000	1.208
+++ src/hg/hgTracks/hgTracks.h	7 May 2010 20:37:31 -0000	1.209
@@ -90,10 +90,10 @@
     int (*totalHeight)(struct track *tg, enum trackVisibility vis);
 	/* Return total height. Called before and after drawItems.
 	 * Must set the following variables. */
     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 lineHeight;            /* Height per item line including border. */
+    int heightPer;             /* Height per item line minus border. */
 
     int (*itemHeight)(struct track *tg, void *item);
     /* Return height of one item. */
 
@@ -109,9 +109,9 @@
         int xOff, int yOff, double scale,
 	MgFont *font, Color color, enum trackVisibility vis);
     /* Draw a single option.  This is optional, but if it's here
      * then you can plug in genericDrawItems into the drawItems,
-     * which takes care of all sorts of things. */
+     * which takes care of all sorts of things including packing. */
 
     int (*itemStart)(struct track *tg, void *item);
     /* Return start of item in base pairs. */