Changeset View
Changeset View
Standalone View
Standalone View
effects/backgroundcontrast/contrast.h
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | 47 | public: | |||
---|---|---|---|---|---|
59 | void paintEffectFrame(EffectFrame *frame, QRegion region, double opacity, double frameOpacity) override; | 59 | void paintEffectFrame(EffectFrame *frame, QRegion region, 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; | ||||
68 | | ||||
67 | public Q_SLOTS: | 69 | public Q_SLOTS: | ||
68 | void slotWindowAdded(KWin::EffectWindow *w); | 70 | void slotWindowAdded(KWin::EffectWindow *w); | ||
69 | void slotWindowDeleted(KWin::EffectWindow *w); | 71 | void slotWindowDeleted(KWin::EffectWindow *w); | ||
70 | void slotPropertyNotify(KWin::EffectWindow *w, long atom); | 72 | void slotPropertyNotify(KWin::EffectWindow *w, long atom); | ||
71 | void slotScreenGeometryChanged(); | 73 | void slotScreenGeometryChanged(); | ||
72 | 74 | | |||
73 | private: | 75 | private: | ||
74 | QRegion contrastRegion(const EffectWindow *w) const; | 76 | QRegion contrastRegion(const EffectWindow *w) const; | ||
Show All 30 Lines |