02f9444f186888d2da5d65d9db583ddf2d7b95ca jcasper Thu Oct 22 01:48:20 2020 -0700 Adding trackDb options to change defaults for hic tracks. Also made some of those settings case-insensitive. refs #26312 diff --git src/hg/inc/hicUi.h src/hg/inc/hicUi.h index a30dba9..345745f 100644 --- src/hg/inc/hicUi.h +++ src/hg/inc/hicUi.h @@ -2,30 +2,40 @@ /* Copyright (C) 2019 The Regents of the University of California * See README in this or parent directory for licensing information. */ #ifndef HIC_UI_H #define HIC_UI_H #include "hic.h" /* Number of bins to split score values into, also the number of gradient * steps in the color values from lowest to highest. 1024 is already overkill * for hex-valued colors. */ #define HIC_SCORE_BINS 1024 +/* hic-specific trackDb setting names */ + +#define HIC_TDB_DRAW_MODE "drawMode" +#define HIC_TDB_NORMALIZATION "normalization" +#define HIC_TDB_RESOLUTION "resolution" +#define HIC_TDB_MAX_VALUE "saturationScore" +#define HIC_TDB_AUTOSCALE "autoScale" +#define HIC_TDB_COLOR "color" + + /* Cart variables */ #define HIC_DRAW_MODE "drawMode" #define HIC_DRAW_MODE_TRIANGLE "triangle" #define HIC_DRAW_MODE_SQUARE "square" #define HIC_DRAW_MODE_ARC "arc" #define HIC_DRAW_MODE_DEFAULT HIC_DRAW_MODE_TRIANGLE #define HIC_NORMALIZATION "normalization" #define HIC_RESOLUTION "resolution" #define HIC_DRAW_AUTOSCALE "autoscale" #define HIC_DRAW_MAX_VALUE "max" #define HIC_DRAW_MAX_VALUE_DEFAULT 100 #define HIC_DRAW_COLOR "color" #define HIC_DRAW_BG_COLOR "bgColor" /* Default to drawing red on a white background */