6c004e6b0e3f5d92292ce74d812c64369c6c7a05 larrym Thu Jul 14 15:10:19 2011 -0700 add IN_PLACE_UPDATE code (currently on live in larrym's tree diff --git src/hg/hgTracks/imageV2.h src/hg/hgTracks/imageV2.h index db8d582..9b2e7f7 100644 --- src/hg/hgTracks/imageV2.h +++ src/hg/hgTracks/imageV2.h @@ -12,30 +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). // 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