Changeset View
Changeset View
Standalone View
Standalone View
effects/slide/slide.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 36 | public: | |||
---|---|---|---|---|---|
42 | virtual void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time); | 42 | virtual void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time); | ||
43 | virtual void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data); | 43 | virtual void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data); | ||
44 | virtual bool isActive() const; | 44 | virtual bool isActive() const; | ||
45 | 45 | | |||
46 | int requestedEffectChainPosition() const override { | 46 | int requestedEffectChainPosition() const override { | ||
47 | return 50; | 47 | return 50; | ||
48 | } | 48 | } | ||
49 | 49 | | |||
50 | static bool supported(); | ||||
51 | | ||||
50 | private Q_SLOTS: | 52 | private Q_SLOTS: | ||
51 | void slotDesktopChanged(int old, int current); | 53 | void slotDesktopChanged(int old, int current); | ||
52 | 54 | | |||
53 | private: | 55 | private: | ||
54 | void windowAdded(EffectWindow* w); | 56 | void windowAdded(EffectWindow* w); | ||
55 | bool shouldForceBackgroundContrast(const EffectWindow* w) const; | 57 | bool shouldForceBackgroundContrast(const EffectWindow* w) const; | ||
56 | QList< EffectWindow* > m_backgroundContrastForcedBefore; | 58 | QList< EffectWindow* > m_backgroundContrastForcedBefore; | ||
57 | QRect desktopRect(int desktop) const; | 59 | QRect desktopRect(int desktop) const; | ||
Show All 13 Lines |