make one row yellow

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-28 17:34:21 -07:00
parent cef110a3fc
commit c1045a074a
1 changed files with 3 additions and 0 deletions

View File

@ -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 {