bb856ddda9d3f9726bb8847c181af59c38d5bdd8 larrym Mon Jul 25 12:09:06 2011 -0700 turn on fit browser image to screen (redmine #2633); more in place update changes (only live in larrym's tree) diff --git src/hg/hgTracks/imageV2.h src/hg/hgTracks/imageV2.h index 9b2e7f7..e26b6ab 100644 --- src/hg/hgTracks/imageV2.h +++ src/hg/hgTracks/imageV2.h @@ -12,31 +12,31 @@ #define CONTEXT_MENU // UNCOMMENT IMAGEv2_DRAG_SCROLL and IMAGEv2_DRAG_SCROLL_SZ to allow dragScroll // NOTE: dragScroll not working in SZ=1 (1x) yet, because haven't done ajax fetch when dragged beyond image dimansions. // Still, set IMAGEv2_DRAG_SCROLL_SZ > 1 (3=3x) to get limited dragScroll functionality //#define IMAGEv2_DRAG_SCROLL //#define IMAGEv2_DRAG_SCROLL_SZ 3 #if defined(IMAGEv2_DRAG_SCROLL_SZ) && (IMAGEv2_DRAG_SCROLL_SZ > 1) #define IMAGEv2_SHORT_MAPITEMS #endif// defined(IMAGEv2_DRAG_SCROLL_SZ) && (IMAGEv2_DRAG_SCROLL_SZ > 1) // UNCOMMENT USE_NAVIGATION_LINKS for so far experimental UI changes to replace buttons at top with more streamlined links //#define USE_NAVIGATION_LINKS -//#define IN_PLACE_UPDATE // update the hgTracks image in-place in the client (currently turned off everywhere except for larrym's tree). +#define IN_PLACE_UPDATE 0 // update the hgTracks image in-place in the client (currently turned off everywhere except for larrym's tree). // CURRENT PROBLEMS: // o FIXED: some map items span both sideLabel and data!! // o subrtacks should be dragReorderable!!! Make them individual imgTracks // o centerlabel next feature '>>' arrows are scrolled off screen: fix when centerlabels are small and don't scroll // o subtrack center labels currently scroll with portal: fixed with subtracks being individual imgTracks // o image should be clear and background image should contain stripes // o Dynamic height for data/label based on image map currently in portal: DONE for packed, but full map items span all of data slice! extern struct imgBox *theImgBox; // Make this global for now to avoid huge rewrite //extern struct image *theOneImg; // Make this global for now to avoid huge rewrite extern struct imgTrack *curImgTrack; // Make this global for now to avoid huge rewrite //extern struct imgSlice *curSlice; // Make this global for now to avoid huge rewrite //extern struct mapSet *curMap; // Make this global for now to avoid huge rewrite //extern struct mapItem *curMapItem; // Make this global for now to avoid huge rewrite