bit better colloring

This commit is contained in:
Aaron Bieber 2022-11-22 07:27:19 -07:00
parent 871356d3bb
commit 73c881b340
No known key found for this signature in database

View File

@ -52,20 +52,15 @@ func (m *myIcon) Content() []byte {
func buildImage(xin *xinStatus) *myIcon {
i := &myIcon{}
on, err := parseHexColor("#46d700")
on, err := parseHexColor("#92CAFF")
off, err := parseHexColor("#c1c1c1")
border, err := parseHexColor("#000000")
if err != nil {
log.Println(err)
}
i.data = image.NewRGBA(image.Rect(0, 0, width, height))
border := &color.RGBA{
R: 0x00,
G: 0x00,
B: 0x00,
A: 0xff,
}
aliveCount := int(xin.aliveCount())
utdCount := int(xin.uptodateCount())