| 207 | |
| 208 | void UITestEngine::Step() |
| 209 | { |
| 210 | // Dump mode / Record mode: monitor display changes |
| 211 | ControlsContainer* display = FindActiveDisplay(); |
| 212 | int currentIDD = display ? display->IDD() : -1; |
| 213 | if (currentIDD != _lastDumpIDD) |
| 214 | { |
| 215 | _lastDumpIDD = currentIDD; |
| 216 | if (!_recordPath.empty()) |
| 217 | RecordDisplayChange(currentIDD); |
| 218 | if (_dumpMode) |