src/hg/hgTracks/hgTracks.h 1.207
1.207 2010/04/10 01:14:57 kent
Taking a few more steps towards making the makeItems type custom track. It actually seems to be storing ranges in the customTrash database and displaying them now based on your javascript selections!
Index: src/hg/hgTracks/hgTracks.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/hgTracks.h,v
retrieving revision 1.206
retrieving revision 1.207
diff -b -B -U 4 -r1.206 -r1.207
--- src/hg/hgTracks/hgTracks.h 9 Apr 2010 20:06:59 -0000 1.206
+++ src/hg/hgTracks/hgTracks.h 10 Apr 2010 01:14:57 -0000 1.207
@@ -858,10 +858,14 @@
void makeItemsMethods(struct track *track);
/* Set up special methods for makeItems type tracks. */
-void makeItemsMethodsCt(struct track *track);
-/* Set up special methods for makeItems type custom tracks. */
+void makeItemsJsCommand(char *command, struct track *trackList, struct hash *trackHash);
+/* Execute some command sent to us from the javaScript. All we know for sure is that
+ * the first word of the command is "makeItems." We expect it to be of format:
+ * makeItems <trackName> <chrom> <chromStart> <chromEnd>
+ * If it is indeed of this form then we'll create a new makeItemsItem that references this
+ * location and stick it in the named track. */
void wigMafPMethods(struct track *track, struct trackDb *tdb,
int wordCount, char *words[]);
void wigMafMethods(struct track *track, struct trackDb *tdb,