Changeset View
Changeset View
Standalone View
Standalone View
effects/backgroundcontrast/contrast.h
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | 47 | public: | |||
---|---|---|---|---|---|
50 | 50 | | |||
51 | static bool supported(); | 51 | static bool supported(); | ||
52 | static bool enabledByDefault(); | 52 | static bool enabledByDefault(); | ||
53 | 53 | | |||
54 | static QMatrix4x4 colorMatrix(qreal contrast, qreal intensity, qreal saturation); | 54 | static QMatrix4x4 colorMatrix(qreal contrast, qreal intensity, qreal saturation); | ||
55 | void reconfigure(ReconfigureFlags flags) override; | 55 | void reconfigure(ReconfigureFlags flags) override; | ||
56 | void prePaintScreen(ScreenPrePaintData &data, int time) override; | 56 | void prePaintScreen(ScreenPrePaintData &data, int time) override; | ||
57 | void prePaintWindow(EffectWindow *w, WindowPrePaintData &data, int time) override; | 57 | void prePaintWindow(EffectWindow *w, WindowPrePaintData &data, int time) override; | ||
58 | void drawWindow(EffectWindow *w, int mask, QRegion region, WindowPaintData &data) override; | 58 | void drawWindow(EffectWindow *w, int mask, const QRegion ®ion, WindowPaintData &data) override; | ||
59 | void paintEffectFrame(EffectFrame *frame, QRegion region, double opacity, double frameOpacity) override; | 59 | void paintEffectFrame(EffectFrame *frame, const QRegion ®ion, double opacity, double frameOpacity) override; | ||
60 | 60 | | |||
61 | bool provides(Feature feature) override; | 61 | bool provides(Feature feature) override; | ||
62 | 62 | | |||
63 | int requestedEffectChainPosition() const override { | 63 | int requestedEffectChainPosition() const override { | ||
64 | return 76; | 64 | return 76; | ||
65 | } | 65 | } | ||
66 | 66 | | |||
67 | bool eventFilter(QObject *watched, QEvent *event) override; | 67 | bool eventFilter(QObject *watched, QEvent *event) override; | ||
Show All 39 Lines |