c2c780666cf30f764fe4eb81b7fad350b0a7391a kate Thu Mar 8 15:56:39 2018 -0800 Add trackDb setting to indicate if there is a direction to the interaction (interactDirectional). refs #17512 diff --git src/hg/inc/interactUi.h src/hg/inc/interactUi.h index 2e38b46..950ae25 100644 --- src/hg/inc/interactUi.h +++ src/hg/inc/interactUi.h @@ -1,26 +1,31 @@ /* interact track UI */ /* Copyright (C) 2018 The Regents of the University of California * See README in this or parent directory for licensing information. */ #ifndef INTERACT_UI_H #define INTERACT_UI_H #define INTERACT_HEIGHT "heightPer" #define INTERACT_MINHEIGHT 20 #define INTERACT_MAXHEIGHT 300 #define INTERACT_DEFHEIGHT "200" #define INTERACT_MINSCORE "minScore" #define INTERACT_DEFMINSCORE "0" +#define INTERACT_DIRECTIONAL "interactDirectional" + #define INTERACT_DRAW "draw" #define INTERACT_DRAW_LINE "line" #define INTERACT_DRAW_ELLIPSE "ellipse" #define INTERACT_DRAW_CURVE "curve" #define INTERACT_DRAW_DEFAULT INTERACT_DRAW_CURVE void interactCfgUi(char *database, struct cart *cart, struct trackDb *tdb, char *track, char *title, boolean boxed); -/* Bar chart track type */ +/* Configure interact track type */ + +boolean interactUiDirectional(struct trackDb *tdb); +/* Determine if interactions are directional */ #endif