4234256fa540ef4ee9c0b495d385c0b431be2428 max Wed May 7 07:11:44 2025 -0700 after suggestion from Anna by email to Lou and me, changing the add/clear buttons on hgTrackUi to Show all and Hide all, no redmine diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 89e85d84370..5c49b81bc3b 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -53,32 +53,32 @@ #include "hicUi.h" #include "bigDbSnp.h" #include "customComposite.h" #include "trackVersion.h" #include "hubConnect.h" #include "bigBedFilter.h" // TODO: these should go away after refactoring of multi-region link #include "hex.h" #include "net.h" #include "trashDir.h" #include <openssl/sha.h> #define SMALLBUF 256 #define MAX_SUBGROUP 9 -#define ADD_BUTTON_LABEL "add" -#define CLEAR_BUTTON_LABEL "clear" +#define ADD_BUTTON_LABEL "Show All" +#define CLEAR_BUTTON_LABEL "Hide All" #define JBUFSIZE 2048 #define DEF_BUTTON "<IMG id=\"btn_%s\" src=\"../images/%s\" alt=\"%s\">\n" #define DEF_BUTTON_JS "setCheckBoxesThatContain('%s',true,false,'%s','','%s');" \ "setCheckBoxesThatContain('%s',false,false,'%s','_defOff','%s');" #define DEFAULT_BUTTON(nameOrId,anc,beg,contains) \ printf(DEF_BUTTON,(anc),"defaults_sm.png","default"); \ safef(id, sizeof id, "btn_%s", (anc)); \ jsOnEventByIdF("click", id, DEF_BUTTON_JS,(nameOrId),(beg),(contains),(nameOrId),(beg),(contains)); #define PM_BUTTON "<IMG height=18 width=18 id=\"btn_%s\" src=\"../images/%s\" alt=\"%s\">\n" #define PM_BUTTON_JS "setCheckBoxesThatContain('%s',%s,true,'%s','','%s');" #define PLUS_BUTTON(nameOrId,anc,beg,contains) \ printf(PM_BUTTON, (anc), "add_sm.gif", "+"); \