Changeset View
Changeset View
Standalone View
Standalone View
plugins/paintops/libpaintop/kis_pressure_sharpness_option.h
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | 37 | public: | |||
---|---|---|---|---|---|
61 | void setSharpnessFactor(qreal factor) { | 61 | void setSharpnessFactor(qreal factor) { | ||
62 | KisCurveOption::setValue(factor); | 62 | KisCurveOption::setValue(factor); | ||
63 | } | 63 | } | ||
64 | qreal sharpnessFactor() { | 64 | qreal sharpnessFactor() { | ||
65 | return KisCurveOption::value(); | 65 | return KisCurveOption::value(); | ||
66 | } | 66 | } | ||
67 | 67 | | |||
68 | private: | 68 | private: | ||
69 | qint32 m_threshold; | 69 | qint32 m_threshold {40}; | ||
70 | }; | 70 | }; | ||
71 | 71 | | |||
72 | #endif | 72 | #endif |