1da10945502204574470299154d4e6706c231b4f jcasper Mon Mar 31 10:35:45 2025 -0700 Interact UI has a checkbox to disable the details boxes on interaction lines, refs #30380 diff --git src/hg/inc/interactUi.h src/hg/inc/interactUi.h index f7eb52b7a35..f9c7c7c2069 100644 --- src/hg/inc/interactUi.h +++ src/hg/inc/interactUi.h @@ -16,31 +16,31 @@ interactDirectional on use dashes for reverse direction interactDirectional offsetSource|offsetTarget horizontally offset (lower) source or target interactDirectional clusterSource|clusterTarget cluster (merge) interactions having same source or target */ #define INTERACT_DIRECTIONAL "interactDirectional" #define INTERACT_OFFSET_SOURCE "offsetSource" #define INTERACT_OFFSET_TARGET "offsetTarget" #define INTERACT_TDB_CLUSTER_SOURCE "clusterSource" #define INTERACT_TDB_CLUSTER_TARGET "clusterTarget" /* setting to show interactions with peak up (hill, not valley) */ #define INTERACT_UP "interactUp" /* setting to suppress the hgc link boxes */ -#define INTERACT_NO_HGC "noDetailsPage" +#define INTERACT_NO_HGC_VAR "detailsBoxesEnabled" /* Cart variables */ #define INTERACT_DIRECTION_DASHES "dashes" #define INTERACT_DIRECTION_DASHES_DEFAULT TRUE #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 #define INTERACT_ENDS_VISIBLE "endsVisible" #define INTERACT_ENDS_VISIBLE_TWO "two" #define INTERACT_ENDS_VISIBLE_ONE "one" @@ -53,16 +53,19 @@ void interactCfgUi(char *database, struct cart *cart, struct trackDb *tdb, char *track, char *title, boolean boxed); /* Configure interact track type */ boolean interactUiDirectional(struct trackDb *tdb); /* Determine if interactions are directional */ char *interactUiOffset(struct trackDb *tdb); /* Determine whether to offset source or target (or neither if NULL) */ char *interactUiClusterMode(struct cart *cart, char *track, struct trackDb *tdb); /* Get cluster mode from trackDb and cart */ +boolean interactUiShowHgcBoxes(struct trackDb *tdb, struct cart *cart); +/* Determine whether hgc link boxes should be shown in the image */ + #endif