From 4a639270ff798b3346af113258d77e14c8b39cc2 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 23 May 2019 14:06:33 -0700 Subject: [PATCH] more colors Signed-off-by: Jeff Carr --- eventChannel.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eventChannel.go b/eventChannel.go index 38169fa..f9452f3 100644 --- a/eventChannel.go +++ b/eventChannel.go @@ -75,11 +75,11 @@ func ReadReceivedData(data *pb.Event, mh *gui.TableData) { mh.Rows[row].HumanData[1].Text = item.Name mh.Rows[row].HumanData[1].Color = color.RGBA{0, 0, 0, 0} mh.Rows[row].HumanData[2].Text = item.Hostname - mh.Rows[row].HumanData[2].Color = color.RGBA{0, 0, 0, 0} + mh.Rows[row].HumanData[2].Color = color.RGBA{200, 200, 0, 200} mh.Rows[row].HumanData[3].Text = fmt.Sprintf("%d",item.Cpus) - mh.Rows[row].HumanData[3].Color = color.RGBA{0, 0, 0, 0} + mh.Rows[row].HumanData[3].Color = color.RGBA{200, 0, 0, 200} mh.Rows[row].HumanData[4].Text = fmt.Sprintf("%d",item.Memory) - mh.Rows[row].HumanData[4].Color = color.RGBA{0, 0, 0, 0} + mh.Rows[row].HumanData[4].Color = color.RGBA{0, 100, 200, 100} mh.Rows[row].HumanData[5].Text = fmt.Sprintf("%d",item.Disk) mh.Rows[row].HumanData[5].Color = color.RGBA{0, 0, 0, 0} mh.Rows[row].HumanData[6].Text = fmt.Sprintf("Details %s",item.Name)