6d15c4259016e2b9bca547840c4edba7f25bdfcd jcasper Mon Oct 13 13:35:01 2025 -0700 Adding plus and X decoration glyphs, and correcting placement for decorating multi-row items, no ticket (request from Max) diff --git src/hg/hgTracks/hgTracks.h src/hg/hgTracks/hgTracks.h index 964736dc9c2..3d280d0436d 100644 --- src/hg/hgTracks/hgTracks.h +++ src/hg/hgTracks/hgTracks.h @@ -757,31 +757,33 @@ * Get scale first with scaleForPixels. */ void drawScaledBoxLabel(struct hvGfx *hvg, int chromStart, int chromEnd, double scale, int xOff, int y, int height, Color color, MgFont *font, char *label); /* Draw a box scaled from chromosome to window coordinates and draw a label onto it. */ typedef enum { GLYPH_CIRCLE, GLYPH_TRIANGLE, GLYPH_INV_TRIANGLE, GLYPH_SQUARE, GLYPH_DIAMOND, GLYPH_OCTAGON, GLYPH_STAR, - GLYPH_PENTAGRAM + GLYPH_PENTAGRAM, + GLYPH_PLUS, + GLYPH_X } glyphType; void drawScaledGlyph(struct hvGfx *hvg, int chromStart, int chromEnd, double scale, int xOff, int y, int heightPer, glyphType glyph, boolean filled, Color outlineColor, Color fillColor); /* Draw a glyph as a circle/polygon. If filled, draw as with fillColor, * which may have transparency. */ glyphType parseGlyphType(char *glyphStr); /* Return the enum glyph type for a string specifying a glyph. * Defaults to GLYPH_CIRCLE if the string is unrecognized. */ Color whiteIndex(); /* Return index of white. */