4f5d84f480c9fe7c926e1554e36b618cfe39fbd4 tdreszer Thu Nov 18 10:54:15 2010 -0800 Changed configureByPopup json boolean to configureBy none,popup or clickThrough. diff --git src/hg/hgTracks/imageV2.h src/hg/hgTracks/imageV2.h index 06078fb..e9181b0 100644 --- src/hg/hgTracks/imageV2.h +++ src/hg/hgTracks/imageV2.h @@ -55,31 +55,31 @@ void flatTracksAdd(struct flatTracks **flatTracks,struct track *track,struct cart *cart); /* Adds one track into the flatTracks list */ int flatTracksCmp(const void *va, const void *vb); /* Compare to sort on flatTrack->order */ void flatTracksSort(struct flatTracks **flatTracks); /* This routine sorts the imgTracks then forces tight ordering, so new tracks wil go to the end */ void flatTracksFree(struct flatTracks **flatTracks); /* Frees all memory used to support flatTracks (underlying tracks are untouched) */ ///////////////////////// // JSON support. Eventually the whole imgTbl could be written out as JSON -void jsonTdbSettingsBuild(struct dyString **jsonTdbSettingsString, struct track *track); +void jsonTdbSettingsBuild(struct dyString **jsonTdbSettingsString, struct track *track, boolean configurable); // Creates then successively adds trackDb settings to the jsonTdbSettingsString // Initially pass in NULL pointer to a dyString to properly begin building char *jsonTdbSettingsUse(struct dyString **jsonTdbSettingsString); // Closes and returns the contents of the jsonTdbSettingsString ///////////////////////// // IMAGEv2 // The new way to do images // Terms: // "image box": The new version of the image on the html page. It is a table with rows that contain tracks which are made up of parts of images. // "imgBox": The C struct that contains all information to render the image box on the html page. // "imgTbl": The HTML structure that contains individual track images. The javascript client controls the imgTbl. // Thus cgi knows imgBox while html/js knows imgTbl. // "image": A single gif. An image may contain mutilple tracks.