5b781b52f5a5a8bc99d2635641719f04cf2ecd08 angie Mon Jun 3 12:43:25 2013 -0700 Adjustable font size for collapsible sections. diff --git src/hg/inc/jsHelper.h src/hg/inc/jsHelper.h index 438d899..5280025 100644 --- src/hg/inc/jsHelper.h +++ src/hg/inc/jsHelper.h @@ -118,30 +118,35 @@ char *stripRegEx(char *str, char *regEx, int flags); /* Strip out text matching regEx from str. flags is passed through to regcomp as the cflags argument. Returned string should be free'ed after use. */ char *replaceRegEx(char *str, char *replace, char *regEx, int flags); /* Replace text matching regEx in str with replace string. flags is passed through to regcomp as the cflags argument. Returned string should be free'ed after use. */ void jsBeginCollapsibleSection(struct cart *cart, char *track, char *section, char *sectionTitle, boolean isOpenDefault); /* Make the hidden input, collapse/expand button and <TR id=...> needed for utils.js's * setTableRowVisibility(). Caller needs to have already created a <TABLE> and <FORM>. */ +void jsBeginCollapsibleSectionFontSize(struct cart *cart, char *track, char *section, + char *sectionTitle, boolean isOpenDefault, char *fontSize); +/* Make the hidden input, collapse/expand button and <TR id=...> needed for utils.js's + * setTableRowVisibility(). Caller needs to have already created a <TABLE> and <FORM>. */ + void jsEndCollapsibleSection(); /* End the collapsible <TR id=...>. */ /* JSON Element code let's you build up a DOM like data structure in memory and then serialize it into html for communication with client side code. */ // supported types typedef enum _jsonElementType { jsonList = 0, jsonObject = 1, jsonNumber = 2, jsonDouble = 3,