| 123 | } |
| 124 | |
| 125 | void LinnstrumentControl::UpdateScaleDisplay() |
| 126 | { |
| 127 | //SendScaleInfo(); |
| 128 | |
| 129 | for (int y = 0; y < kRows; ++y) |
| 130 | { |
| 131 | mDevice.SendCC(21, y); //only set row once, to cut down on messages |
| 132 | for (int x = 0; x < kCols; ++x) |
| 133 | { |
| 134 | SetGridColor(x, y, GetDesiredGridColor(x, y), true); |
| 135 | } |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | void LinnstrumentControl::SetGridColor(int x, int y, LinnstrumentColor color, bool ignoreRow /*= false*/) |
| 140 | { |