(m *ui.TableModel, row, column int, value ui.TableValue)
| 109 | } |
| 110 | |
| 111 | func (mh *modelHandler) SetCellValue(m *ui.TableModel, row, column int, value ui.TableValue) { |
| 112 | if row == 9 && column == 2 { |
| 113 | mh.row9Text = string(value.(ui.TableString)) |
| 114 | } |
| 115 | if column == 6 { // row background color |
| 116 | prevYellowRow := mh.yellowRow |
| 117 | mh.yellowRow = row |
| 118 | if prevYellowRow != -1 { |
| 119 | m.RowChanged(prevYellowRow) |
| 120 | } |
| 121 | m.RowChanged(mh.yellowRow) |
| 122 | } |
| 123 | if column == 7 { // checkboxes |
| 124 | mh.checkStates[row] = int(value.(ui.TableInt)) |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | func appendImageNamed(i *ui.Image, which string) { |
| 129 | b := rawImages[which] |
nothing calls this directly
no test coverage detected