bf9606e4e09c5d48048ca399ba2cc2400d140f79 max Wed Nov 30 21:54:20 2016 -0800 adding note for keyboard shortcuts to hgTracks and documenting new zoom buttons, refs #18367 diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index 863c293..0abdb0a 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -7918,30 +7918,31 @@ hPrintf("move start
"); hButtonWithOnClick("hgt.dinkLL", " < ", "move start position to the left", "return imageV2.navigateButtonClick(this);"); hTextVar("dinkL", cartUsualString(cart, "dinkL", "2.0"), 3); hButtonWithOnClick("hgt.dinkLR", " > ", "move start position to the right", "return imageV2.navigateButtonClick(this);"); hPrintf(""); hPrintf(" \n"); #endif//ndef USE_NAVIGATION_LINKS hPrintf(""); // allow this text to wrap hWrites("Click on a feature for details. "); hWrites("Click or drag in the base position track to zoom in. "); hWrites("Click side bars for track options. "); hWrites("Drag side bars or labels up or down to reorder tracks. "); hWrites("Drag tracks left or right to new position. "); + hWrites("Press \"?\" for keyboard shortcuts. "); hPrintf(""); #ifndef USE_NAVIGATION_LINKS hPrintf(" \n"); hPrintf(""); hPrintf("move end
"); hButtonWithOnClick("hgt.dinkRL", " < ", "move end position to the left", "return imageV2.navigateButtonClick(this);"); hTextVar("dinkR", cartUsualString(cart, "dinkR", "2.0"), 3); hButtonWithOnClick("hgt.dinkRR", " > ", "move end position to the right", "return imageV2.navigateButtonClick(this);"); hPrintf(""); #endif//ndef USE_NAVIGATION_LINKS hPrintf("\n"); /* Display bottom control panel. */ @@ -9458,31 +9459,37 @@ hPrintf(" left one screenJ default orderd then o \n"); hPrintf(" right 10%ctrl+l hide allh then a \n"); // percent sign hPrintf(" right 1/2 screenl custom tracksc then t \n"); hPrintf(" right one screenL track hubst then h \n"); hPrintf(" zoom in 1.5xctrl+i configurec then f \n"); hPrintf(" zoom in 3xi reverser then v \n"); hPrintf(" zoom in 10xI resizer then s \n"); hPrintf(" zoom in base levelb refreshr then f \n"); hPrintf(" zoom out 1.5xctrl+k jump to position box/ \n"); hPrintf(" zoom out 3xk"); if (gotExtTools) hPrintf("send to external tools then t"); hPrintf(" \n"); hPrintf(" zoom out 10xK exon viewe then v \n"); hPrintf(" zoom out 100x0 default viewd then v \n"); -hPrintf(" view DNAv then d \n"); +hPrintf(" zoom to ... view DNAv then d\n"); +hPrintf("  10bp (1 zero)1\n"); +hPrintf("  100bp (2 zeroes)2\n"); +hPrintf("  1000bp (3 zeroes)3\n"); +hPrintf("  50kbp (4 zeroes)4\n"); +hPrintf("  100kbp (5 zoroes)5\n"); +hPrintf("  1Mbp (6 zeroes)6\n"); hPrintf("\n"); hPrintf(""); hPrintf("\n"); } void doMiddle(struct cart *theCart) /* Print the body of an html file. */ { cart = theCart; measureTiming = hPrintStatus() && isNotEmpty(cartOptionalString(cart, "measureTiming")); if (measureTiming) measureTime("Startup"); hgBotDelay(); if (measureTiming)