Changeset View
Changeset View
Standalone View
Standalone View
effects/invert/invert.h
Show All 34 Lines | |||||
35 | class InvertEffect | 35 | class InvertEffect | ||
36 | : public Effect | 36 | : public Effect | ||
37 | { | 37 | { | ||
38 | Q_OBJECT | 38 | Q_OBJECT | ||
39 | public: | 39 | public: | ||
40 | InvertEffect(); | 40 | InvertEffect(); | ||
41 | ~InvertEffect() override; | 41 | ~InvertEffect() override; | ||
42 | 42 | | |||
43 | void drawWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data) override; | 43 | void drawWindow(EffectWindow* w, int mask, const QRegion ®ion, WindowPaintData& data) override; | ||
44 | void paintEffectFrame(KWin::EffectFrame* frame, QRegion region, double opacity, double frameOpacity) override; | 44 | void paintEffectFrame(KWin::EffectFrame* frame, const QRegion ®ion, double opacity, double frameOpacity) override; | ||
45 | bool isActive() const override; | 45 | bool isActive() const override; | ||
46 | bool provides(Feature) override; | 46 | bool provides(Feature) override; | ||
47 | 47 | | |||
48 | int requestedEffectChainPosition() const override; | 48 | int requestedEffectChainPosition() const override; | ||
49 | 49 | | |||
50 | static bool supported(); | 50 | static bool supported(); | ||
51 | 51 | | |||
52 | public Q_SLOTS: | 52 | public Q_SLOTS: | ||
Show All 23 Lines |