diff options
| author | Jeff Carr <[email protected]> | 2019-05-21 14:39:46 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-21 14:39:46 -0700 |
| commit | 7d01a72e590cd007129cd2379ccf4cc23a3ca4de (patch) | |
| tree | 146810ba22c49189b0f8bff6d49bf7231f0b885f /table.go | |
| parent | 6a9ff162d9230c4ef32498518cb384e3fc1820c9 (diff) | |
better variable names
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'table.go')
| -rw-r--r-- | table.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -51,7 +51,7 @@ type TableData struct { Human [20]HumanMap } -func initRowBTcolor(mh *TableData, intBG int, cell InputData) { +func initRowBTcolor(mh *TableData, intBG int, cell TableColumnData) { humanInt := cell.Index // setup mapping from human readable indexes to internal libUI indexes @@ -65,7 +65,7 @@ func initRowBTcolor(mh *TableData, intBG int, cell InputData) { log.Println("intBG, humanInt", intBG, humanInt) } -func initRowButtonColumn(mh *TableData, buttonID int, junk string, cell InputData) { +func initRowButtonColumn(mh *TableData, buttonID int, junk string, cell TableColumnData) { humanInt := cell.Index // setup mapping from human readable indexes to internal libUI indexes @@ -79,7 +79,7 @@ func initRowButtonColumn(mh *TableData, buttonID int, junk string, cell InputDat log.Println("buttonID, humanInt", buttonID, humanInt) } -func initRowTextColorColumn(mh *TableData, 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 TableColumnData) { humanInt := cell.Index // setup mapping from human readable indexes to internal libUI indexes @@ -95,7 +95,7 @@ func initRowTextColorColumn(mh *TableData, stringID int, colorID int, junk strin mh.Cells[colorID].HumanID = humanInt } -func initRowTextColumn(mh *TableData, stringID int, junk string, cell InputData) { +func initRowTextColumn(mh *TableData, stringID int, junk string, cell TableColumnData) { humanInt := cell.Index // setup mapping from human readable indexes to internal libUI indexes |
