Changeset View
Changeset View
Standalone View
Standalone View
effects/sheet/sheet.h
Show All 30 Lines | |||||
31 | 31 | | |||
32 | class SheetEffect | 32 | class SheetEffect | ||
33 | : public Effect | 33 | : public Effect | ||
34 | { | 34 | { | ||
35 | Q_OBJECT | 35 | Q_OBJECT | ||
36 | Q_PROPERTY(int duration READ configuredDuration) | 36 | Q_PROPERTY(int duration READ configuredDuration) | ||
37 | public: | 37 | public: | ||
38 | SheetEffect(); | 38 | SheetEffect(); | ||
39 | virtual void reconfigure(ReconfigureFlags); | 39 | void reconfigure(ReconfigureFlags) override; | ||
40 | virtual void prePaintScreen(ScreenPrePaintData& data, int time); | 40 | void prePaintScreen(ScreenPrePaintData& data, int time) override; | ||
41 | virtual void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time); | 41 | void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time) override; | ||
42 | virtual void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data); | 42 | void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data) override; | ||
43 | virtual void postPaintWindow(EffectWindow* w); | 43 | void postPaintWindow(EffectWindow* w) override; | ||
44 | virtual bool isActive() const; | 44 | bool isActive() const override; | ||
45 | 45 | | |||
46 | int requestedEffectChainPosition() const override { | 46 | int requestedEffectChainPosition() const override { | ||
47 | return 60; | 47 | return 60; | ||
48 | } | 48 | } | ||
49 | 49 | | |||
50 | static bool supported(); | 50 | static bool supported(); | ||
51 | 51 | | |||
52 | // for properties | 52 | // for properties | ||
Show All 31 Lines |