make one row yellow
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
cef110a3fc
commit
c1045a074a
|
@ -25,6 +25,7 @@ var linuxTextYellow = color.RGBA{200, 200, 0, 200}
|
||||||
var linuxBgMauve = color.RGBA{72, 0, 0, 142}
|
var linuxBgMauve = color.RGBA{72, 0, 0, 142}
|
||||||
var linuxBgBlack = color.RGBA{55, 55, 55, 255}
|
var linuxBgBlack = color.RGBA{55, 55, 55, 255}
|
||||||
var linuxBgWhite = color.RGBA{0, 0, 0, 0}
|
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) {
|
func setRowValues(mh *gui.TableData, row int, vm *pb.Event_VM) {
|
||||||
defaultTextColor := linuxTextBlue
|
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
|
mh.Rows[row].HumanData[0].Color = color.RGBA{255, 255, 255, 0} // makes the background of each other row grey
|
||||||
} else if (row == 5) {
|
} else if (row == 5) {
|
||||||
mh.Rows[row].HumanData[0].Color = color.RGBA{55, 55, 55, 255} // makes the background of each other row grey
|
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) {
|
} else if (row < 10) {
|
||||||
mh.Rows[row].HumanData[0].Color = linuxBgMauve
|
mh.Rows[row].HumanData[0].Color = linuxBgMauve
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue