diff options
| author | Jeff Carr <[email protected]> | 2019-05-13 00:08:59 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-13 00:08:59 -0700 |
| commit | f3eeb4e9ec6160552f3213eea2d6f2442bc90e89 (patch) | |
| tree | 48199a8676b0f5e4ddee7be38245471f4f2081f8 /table.go | |
| parent | ea6d22fc4692e49e1657b9b27f03a5d20fafe56f (diff) | |
remove all the uneeded row args
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'table.go')
| -rw-r--r-- | table.go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -53,7 +53,7 @@ type TableData struct { Human [20]HumanMap } -func initRowBTcolor(mh *TableData, row int, intBG int, cell InputData) { +func initRowBTcolor(mh *TableData, intBG int, cell InputData) { humanInt := cell.Index // setup mapping from human readable indexes to internal libUI indexes @@ -64,10 +64,10 @@ func initRowBTcolor(mh *TableData, row int, intBG int, cell InputData) { mh.Cells[intBG].Name = "BG" mh.Cells[intBG].HumanID = humanInt - log.Println("HumanID = row, intBG, humanInt", row, intBG, humanInt) + log.Println("intBG, humanInt", intBG, humanInt) } -func initRowButtonColumn(mh *TableData, row int, buttonID int, junk string, cell InputData) { +func initRowButtonColumn(mh *TableData, buttonID int, junk string, cell InputData) { humanInt := cell.Index // setup mapping from human readable indexes to internal libUI indexes @@ -78,10 +78,10 @@ func initRowButtonColumn(mh *TableData, row int, buttonID int, junk string, cell mh.Cells[buttonID].Name = "BUTTON" mh.Cells[buttonID].HumanID = humanInt - log.Println("HumanID = row, buttonID, humanInt", row, buttonID, humanInt) + log.Println("buttonID, humanInt", buttonID, humanInt) } -func initRowTextColorColumn(mh *TableData, row int, stringID int, colorID int, junk string, color ui.TableColor, cell InputData) { +func initRowTextColorColumn(mh *TableData, stringID int, colorID int, junk string, color ui.TableColor, cell InputData) { humanInt := cell.Index // setup mapping from human readable indexes to internal libUI indexes @@ -97,7 +97,7 @@ func initRowTextColorColumn(mh *TableData, row int, stringID int, colorID int, j mh.Cells[colorID].HumanID = humanInt } -func initRowTextColumn(mh *TableData, row int, stringID int, junk string, cell InputData) { +func initRowTextColumn(mh *TableData, stringID int, junk string, cell InputData) { humanInt := cell.Index // setup mapping from human readable indexes to internal libUI indexes |
