| 2642 | } |
| 2643 | |
| 2644 | void ImageViewer::showErrorDialog(string_view message, bool logToConsole) { |
| 2645 | if (logToConsole) { |
| 2646 | tlog::error(message); |
| 2647 | } |
| 2648 | |
| 2649 | new ErrorDialog(this, MessageDialog::Type::Warning, "Error", message, "OK", "Cancel", false, (int)(m_size.x() * 0.75f), (int)(m_size.y() * 0.75f)); |
| 2650 | } |
| 2651 | |
| 2652 | chroma_t ImageViewer::inspectionChroma() const { |
| 2653 | TEV_ASSERT(mInspectionPrimariesBoxes.size() == 8, "Expected 8 color space primary boxes."); |
nothing calls this directly
no outgoing calls
no test coverage detected