b8180d9f6d41dc708a2f249ba892cbca311e7a06
jcasper
  Mon Feb 27 11:38:55 2023 -0800
Adding transparency support for colors refs #30569

diff --git src/hg/hgTracks/pubsTracks.c src/hg/hgTracks/pubsTracks.c
index a104feb..058a17b 100644
--- src/hg/hgTracks/pubsTracks.c
+++ src/hg/hgTracks/pubsTracks.c
@@ -1,29 +1,29 @@
 /* pubsTracks - code for the publications tracks */
 
 /* Copyright (C) 2014 The Regents of the University of California 
  * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */
 #include "common.h"
 #include "hgTracks.h"
 #include "hgFind.h"
 #include "bedCart.h"
 
 // we distinguish between four levels of impact factors <1, <3, <10 and >10
-static struct rgbColor impact1Color  = {80, 80, 80};
-static struct rgbColor impact2Color  = {0, 80, 255};
-static struct rgbColor impact3Color  = {0, 100, 0};
-static struct rgbColor impact4Color  = {255, 255, 0};
+static struct rgbColor impact1Color  = {80, 80, 80, 255};
+static struct rgbColor impact2Color  = {0, 80, 255, 255};
+static struct rgbColor impact3Color  = {0, 100, 0, 255};
+static struct rgbColor impact4Color  = {255, 255, 0, 255};
 
 static char *pubsArticleTable(struct track *tg)
 /* return the name of the pubs articleTable, either
  * the value from the trackDb statement 'articleTable'
  * or the default value: <trackName>Article */
 {
 char *articleTable = trackDbSettingClosestToHome(tg->tdb, "pubsArticleTable");
 if (isEmpty(articleTable))
     {
     char buf[256];
     safef(buf, sizeof(buf), "%sArticle", tg->track);
     articleTable = cloneString(buf);
     }
 return articleTable;
 }