diff options
| author | Jeff Carr <[email protected]> | 2019-05-12 21:01:22 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-12 21:01:22 -0700 |
| commit | dd753552fdd28cc1feff911e51976a6946c502d1 (patch) | |
| tree | e411b9243edec2a572a13a6dab5c2b3e3d9a5e06 /table.go | |
| parent | c58f4d0c61b9e5731a69ff2ce75111c37dd818ae (diff) | |
some data is flowing all the way through to the GUI for the first time
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'table.go')
| -rw-r--r-- | table.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -68,6 +68,8 @@ func initRowBTcolor(mh *TableData, row int, intBG int, cell InputData) { mh.Rows[row].Cells[intBG].Name = "BG" mh.Rows[row].Cells[intBG].HumanID = humanInt + log.Println("HumanID = row, intBG, humanInt", row, intBG, humanInt) + // alternate background of each row light and dark if (row % 2) == 1 { mh.Rows[row].Cells[intBG].Value = ui.TableColor{0.5, 0.5, 0.5, .7} @@ -87,6 +89,8 @@ func initRowButtonColumn(mh *TableData, row int, buttonID int, junk string, cell mh.Rows[row].Cells[buttonID].Value = ui.TableString(fmt.Sprintf("%s %d", junk, row)) mh.Rows[row].Cells[buttonID].Name = "BUTTON" mh.Rows[row].Cells[buttonID].HumanID = humanInt + + log.Println("HumanID = row, buttonID, humanInt", row, buttonID, humanInt) } func initRowTextColorColumn(mh *TableData, row int, stringID int, colorID int, junk string, color ui.TableColor, cell InputData) { |
