From c1045a074ad7ccaf2fd129518102c892d755ee89 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 28 May 2019 17:34:21 -0700 Subject: [PATCH] make one row yellow Signed-off-by: Jeff Carr --- colors.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/colors.go b/colors.go index 9b38326..ef4caf4 100644 --- a/colors.go +++ b/colors.go @@ -25,6 +25,7 @@ var linuxTextYellow = color.RGBA{200, 200, 0, 200} var linuxBgMauve = color.RGBA{72, 0, 0, 142} var linuxBgBlack = color.RGBA{55, 55, 55, 255} var linuxBgWhite = color.RGBA{0, 0, 0, 0} +var linuxBgYellow = color.RGBA{255, 255, 0, 255} func setRowValues(mh *gui.TableData, row int, vm *pb.Event_VM) { defaultTextColor := linuxTextBlue @@ -46,6 +47,8 @@ func setRowValues(mh *gui.TableData, row int, vm *pb.Event_VM) { mh.Rows[row].HumanData[0].Color = color.RGBA{255, 255, 255, 0} // makes the background of each other row grey } else if (row == 5) { mh.Rows[row].HumanData[0].Color = color.RGBA{55, 55, 55, 255} // makes the background of each other row grey + } else if (row == 6) { + mh.Rows[row].HumanData[0].Color = linuxBgYellow } else if (row < 10) { mh.Rows[row].HumanData[0].Color = linuxBgMauve } else {