| 169 | } |
| 170 | |
| 171 | AnnotationsWindow *WindowManager::annotationsWindow() |
| 172 | { |
| 173 | if (!annotationsWindow_) { |
| 174 | annotationsWindow_ = new AnnotationsWindow(context, &gameLoop->movie, owner); |
| 175 | if (context->config.sc.recording != SharedConfig::NO_RECORDING) { |
| 176 | annotationsWindow_->update(); |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | return annotationsWindow_; |
| 181 | } |
| 182 | |
| 183 | TimeTraceWindow *WindowManager::timeTraceWindow() |
| 184 | { |