| 237 | } |
| 238 | |
| 239 | void ProcessorWindow::captureWindow() { |
| 240 | traceScope(); |
| 241 | if (m_editor == nullptr || m_processor->isClient()) { |
| 242 | traceln("no editor"); |
| 243 | return; |
| 244 | } |
| 245 | if (m_callbackNative) { |
| 246 | m_screenCaptureRect = getScreenCaptureRect(); |
| 247 | m_callbackNative(captureScreenNative(m_screenCaptureRect), m_screenCaptureRect.getWidth(), |
| 248 | m_screenCaptureRect.getHeight()); |
| 249 | } else { |
| 250 | traceln("no callback"); |
| 251 | } |
| 252 | } |
| 253 | |
| 254 | void ProcessorWindow::createEditor() { |
| 255 | traceScope(); |
nothing calls this directly
no test coverage detected