src/hg/inc/hui.h 1.121

1.121 2009/03/17 04:35:39 hiram
allow net tracks to color by gray scale, and fixing chain tracks Ui options
Index: src/hg/inc/hui.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/inc/hui.h,v
retrieving revision 1.120
retrieving revision 1.121
diff -b -B -U 4 -r1.120 -r1.121
--- src/hg/inc/hui.h	12 Mar 2009 00:05:42 -0000	1.120
+++ src/hg/inc/hui.h	17 Mar 2009 04:35:39 -0000	1.121
@@ -377,8 +377,27 @@
 
 void nci60DropDown(char *var, char *curVal);
 /* Make drop down of options. */
 
+#define NET_COLOR	"netColor"
+#define GRAY_SCALE	"Gray scale"
+/* trackDb and cart option string */
+
+/*	net track color options	*/
+enum netColorEnum {
+   netColorChromColors = 0,
+   netColorGrayScale = 1,
+};
+
+enum netColorEnum netColorStringToEnum(char *string);
+/* Convert from string to enum representation. */
+
+char *netColorEnumToString(enum netColorEnum x);
+/* Convert from enum to string representation. */
+
+void netColorDropDown(char *var, char *curVal);
+/* Make drop down of options. */
+
 /*	chain track color options	*/
 enum chainColorEnum {
    chainColorChromColors = 0,
    chainColorScoreColors = 1,
@@ -845,8 +864,11 @@
 
 void scoreCfgUi(char *db, struct cart *cart, struct trackDb *parentTdb, char *name,char *title,int maxScore,boolean boxed);
 /* Put up UI for filtering bed track based on a score */
 
+void netAlignCfgUi(char *db, struct cart *cart, struct trackDb *parentTdb, char *prefix ,char *title, boolean boxed);
+/* Put up UI for net tracks */
+
 void chainCfgUi(char *db, struct cart *cart, struct trackDb *parentTdb, char *prefix ,char *title, boolean boxed);
 /* Put up UI for chain tracks */
 
 void scoreGrayLevelCfgUi(struct cart *cart, struct trackDb *tdb, char *prefix, int scoreMax);