| 687 | } |
| 688 | |
| 689 | void Frame::AddColor(int new_width, int new_height, std::string new_color) |
| 690 | { |
| 691 | const std::lock_guard<std::recursive_mutex> lock(addingImageMutex); |
| 692 | // Update parameters |
| 693 | width = new_width; |
| 694 | height = new_height; |
| 695 | color = new_color; |
| 696 | AddColor(QColor(QString::fromStdString(new_color))); |
| 697 | } |
| 698 | |
| 699 | // Add (or replace) pixel data to the frame (based on a solid color) |
| 700 | void Frame::AddColor(const QColor& new_color) |
no outgoing calls
no test coverage detected