| 1396 | } |
| 1397 | |
| 1398 | void |
| 1399 | NodeGui::copyPreviewImageBuffer(const std::vector<unsigned int>& data, |
| 1400 | int width, |
| 1401 | int height) |
| 1402 | { |
| 1403 | { |
| 1404 | QMutexLocker k(&_previewDataMutex); |
| 1405 | _previewData = data; |
| 1406 | _previewW = width; |
| 1407 | _previewH = height; |
| 1408 | } |
| 1409 | Q_EMIT previewImageComputed(); |
| 1410 | } |
| 1411 | |
| 1412 | bool |
| 1413 | NodeGui::getOverlayColor(double* r, |