Index: src/hg/hgTracks/makeItemsTrack.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/makeItemsTrack.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 1000000 -r1.1 -r1.2
--- src/hg/hgTracks/makeItemsTrack.c	8 Apr 2010 20:36:35 -0000	1.1
+++ src/hg/hgTracks/makeItemsTrack.c	9 Apr 2010 20:06:44 -0000	1.2
@@ -1,32 +1,38 @@
 /* makeItemsTrack.c - supports tracks of type makeItems.  Users can drag to create an item
  * and click to edit one. */
 
 #include "common.h"
 #include "hash.h"
 #include "linefile.h"
 #include "jksql.h"
 #include "hdb.h"
 #include "hgTracks.h"
 #include "bed.h"
 
 void makeItemsLoadItems(struct track *tg)
 /* Load up items in track already.  Also make up a pseudo-item that is
  * where you drag to create an item. */
 {
 struct bed *firstItem;
 AllocVar(firstItem);
 firstItem->chrom = cloneString(chromName);
 firstItem->chromStart = winStart;
 firstItem->chromEnd = winEnd;
 firstItem->name = cloneString("Drag here to create a new item");
 tg->items = firstItem;
 }
 
 void makeItemsMethods(struct track *track)
 /* Set up special methods for makeItems type tracks. */
 {
 bedMethods(track);
 track->loadItems = makeItemsLoadItems;
 track->mapsSelf = TRUE;
 track->canPack = TRUE;
 }
+
+void makeItemsMethodsCt(struct track *tg)
+/* Methods for ENCODE peak track uses mostly linkedFeatures. */
+{
+makeItemsMethods(tg);
+}

