summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-08 15:35:40 -0700
committerJeff Carr <[email protected]>2019-05-08 15:35:40 -0700
commit9ef3b54c01a6a468953bdd325a2e8a7cbf2c0512 (patch)
tree34ded3a0d6dc771dc9a124324de2e31934379f14
parent224fdff8aafcdf8efea5aa59e226c558d873fe10 (diff)
more tests that work
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--gui.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/gui.go b/gui.go
index c7b6333..30ba6bf 100644
--- a/gui.go
+++ b/gui.go
@@ -256,10 +256,10 @@ func AddEntriesDemo() {
func initRow(mh *tableData, row int) {
initRowBTcolor (mh, row, 0)
- initRowTextColorColumn(mh, row, 1, 2, "diff1", ui.TableColor{0.9, 0, 0, 1})
+ initRowTextColorColumn(mh, row, 1, 2, "diff1", ui.TableColor{0.0, 0, 0.9, 1})
initRowButtonColumn (mh, row, 3, "diff2")
- initRowTextColorColumn(mh, row, 4, 5, "diff3", ui.TableColor{0.0, 0.9, 0.4, 1})
- initRowTextColorColumn(mh, row, 6, 7, "diff4", ui.TableColor{0.3, 0.1, 0.9, 1})
+ initRowTextColorColumn(mh, row, 4, 5, "diff3", ui.TableColor{0.4, 0.9, 0.0, 1})
+ initRowTextColorColumn(mh, row, 6, 7, "diff4", ui.TableColor{0.9, 0.3, 0.1, 1})
initRowTextColumn (mh, row, 8, "diff5")
initRowButtonColumn (mh, row, 9, "diff6")
}
@@ -288,6 +288,7 @@ func AddTableTab(name string, rowcount int, row1name string) {
b := make([]rowData, 5)
mh.rows = append(mh.rows, b...)
+ initRow(mh, 2)
initRow(mh, mh.rowcount)
mh.rowcount = rowcount + 1