Files
OmaPhoto/src/Document/ColorRangeSelection+Session.h
T

16 lines
765 B
C++
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Select › Color Range's panel; its selection shows until OK.
const std::optional<ColorRangeEdit> &colorRange() const { return m_colorRange; }
bool canSelectColorRange() const;
void beginColorRange();
// A canvas click: Shift adds, Alt takes away.
void sampleColorRange(QPointF point, bool shift, bool option);
// Matches off the UI thread; a newer change supersedes it.
void updateColorRange();
void commitColorRange();
void cancelColorRange();
// The sheet's and the canvas's writes, Swift's edit fields.
void setColorRangeSampleMode(HueSampleMode mode);
void setColorRangeHeld(std::optional<HueSampleMode> held);
void setColorRangeFuzziness(double fuzziness);
void setColorRangeInvert(bool invert);