3d00d8348e1cb6eafec60cc3d7321f6de7e669be
braney
  Mon Dec 12 13:09:49 2022 -0800
be smarter about showing the user error messages

diff --git src/hg/hgTracks/bigWarn.h src/hg/hgTracks/bigWarn.h
index 254902e..dbd0fce 100644
--- src/hg/hgTracks/bigWarn.h
+++ src/hg/hgTracks/bigWarn.h
@@ -1,26 +1,29 @@
 /* bigWarn -- shared handlers for displaying big/udc warn/error messages */
 
 /* Copyright (C) 2011 The Regents of the University of California 
  * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */
 
 #ifndef BIGWARN_H
 #define BIGWARN_H
 
 #include "common.h"
 #include "hgTracks.h"
 #include "container.h"
 
 char *bigWarnReformat(char *errMsg);
 /* Return a copy of the re-formatted error message,
  * such as breaking longer lines */
 
 void bigDrawWarning(struct track *tg, int seqStart, int seqEnd, struct hvGfx *hvg,
                  int xOff, int yOff, int width, MgFont *font, Color color,
                  enum trackVisibility vis);
 /* Draw the network error message */
 
 int bigWarnTotalHeight(struct track *tg, enum trackVisibility vis);
 /* Return total height. Called before and after drawItems.
  * Must set the following variables: height, lineHeight, heightPer. */
 
+void bigWarnMethods(struct track *track);
+/* Set up bigWarn methods. */
+
 #endif /* BIGWARN_H */