533112afe2a2005e80cdb1f82904ea65032d4302
braney
  Sat Oct 2 11:37:34 2021 -0700
split hg/lib into two separate libaries, one only used by the cgis

diff --git src/hg/cgilib/oregannoUi.c src/hg/cgilib/oregannoUi.c
new file mode 100644
index 0000000..e9a773c
--- /dev/null
+++ src/hg/cgilib/oregannoUi.c
@@ -0,0 +1,62 @@
+/* oregannoUi.c - char arrays for oreganno UI features */
+
+/* Copyright (C) 2014 The Regents of the University of California 
+ * See README in this or parent directory for licensing information. */
+#include "oregannoUi.h"
+#include "common.h"
+
+
+/* some stuff for mutation type choices */
+/* labels for checkboxes */
+char *oregannoTypeLabel[] = {
+    "regulatory polymorphism <span style=\"color:rgb(0,114,178)\">(dark blue)</span>",
+    "transcription factor binding site <span style=\"color:rgb(230,159,0)\">(orange)</span>",
+    "regulatory region <span style=\"color:rgb(86,180,233)\">(light blue)</span>",
+    "miRNA binding site <span style=\"color:rgb(0,158,115)\">(green)</span>",
+    "regulatory haplotype <span style=\"color:rgb(213,94,0)\">(red)</span>",
+};
+
+/* names for checkboxes */
+char *oregannoTypeString[] = {
+    "oreganno.filter.poly",
+    "oreganno.filter.tfbs",
+    "oreganno.filter.reg",
+    "oreganno.filter.mirna",
+    "oreganno.filter.haplo",
+};
+
+/* values in the db */
+char *oregannoTypeDbValue[] = {
+    "Regulatory Polymorphism",
+    "Transcription Factor Binding Site",
+    "Regulatory Region",
+    "miRNA Binding Site",
+    "Regulatory Haplotype",
+};
+
+int oregannoTypeSize = ArraySize(oregannoTypeString);
+
+/* list of attribute fields for oreganno, in order to be displayed */
+char *oregannoAttributes[] = {
+    "SrcLink",
+    "Extlink",
+    "type",
+    "Gene",
+    "TFbs",
+    "Dataset",
+    "Evidence",
+    "EvidenceSubtype",
+};
+
+char *oregannoAttrLabel[] = {
+    "Links",
+    "Links",
+    "Region type",
+    "Gene",
+    "Transcription factor",
+    "Dataset",
+    "Evidence type",
+    "Evidence subtype(s)",
+};
+
+int oregannoAttrSize = ArraySize(oregannoAttributes);