e8150b9257bb593758eb48a92c20b374b264b9b8 tdreszer Tue Dec 21 15:50:04 2010 -0800 Fix for redmine 2036 (silent javascript errors because lib code was inappropriately including hu.js for hgTables merge list. Added feature for redmine 2062. Now hgc and hgTrackUi will show pennantIcon with note. diff --git src/hg/inc/hui.h src/hg/inc/hui.h index 54a6c83..b8a6f16 100644 --- src/hg/inc/hui.h +++ src/hg/inc/hui.h @@ -1158,16 +1158,20 @@ #define FOUR_STATE_CHECKED 1 #define FOUR_STATE_CHECKED_DISABLED -1 #define fourStateChecked(fourState) ((fourState) == FOUR_STATE_CHECKED || (fourState) == FOUR_STATE_CHECKED_DISABLED) #define fourStateEnabled(fourState) ((fourState) >= FOUR_STATE_UNCHECKED) #define fourStateVisible(fourState) ((fourState) == FOUR_STATE_CHECKED) int subtrackFourStateChecked(struct trackDb *subtrack, struct cart *cart); /* Returns the four state checked state of the subtrack */ void subtrackFourStateCheckedSet(struct trackDb *subtrack, struct cart *cart,boolean checked, boolean enabled); /* Sets the fourState Checked in the cart and updates cached state */ boolean hPrintPennantIcon(struct trackDb *tdb); // Returns TRUE and prints out the "pennantIcon" when found. Example: ENCODE tracks in hgTracks config list. +boolean printPennantIconNote(struct trackDb *tdb); +// Returns TRUE and prints out the "pennantIcon" and note when found. +//This is used by hgTrackUi and hgc before printing out trackDb "html" + #endif /* HUI_H */