MCPcopy Create free account
hub / github.com/apohl79/audiogridder / captureWindow

Method captureWindow

Server/Source/ProcessorWindow.cpp:239–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void 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
254void ProcessorWindow::createEditor() {
255 traceScope();

Callers

nothing calls this directly

Calls 2

captureScreenNativeFunction · 0.85
isClientMethod · 0.80

Tested by

no test coverage detected