| 270 | } |
| 271 | |
| 272 | void PulseSequence::IntSliderUpdated(IntSlider* slider, int oldVal, double time) |
| 273 | { |
| 274 | if (slider == mLengthSlider) |
| 275 | { |
| 276 | mLength = MIN(mLength, kMaxSteps); |
| 277 | mVelocityGrid->SetGrid(mLength, 1); |
| 278 | GridUpdated(mVelocityGrid, 0, 0, 0, 0); |
| 279 | } |
| 280 | } |
| 281 | |
| 282 | void PulseSequence::GridUpdated(UIGrid* grid, int col, int row, float value, float oldValue) |
| 283 | { |