Changeset View
Changeset View
Standalone View
Standalone View
effects/screenshot/screenshot.h
Show All 38 Lines | |||||
39 | public: | 39 | public: | ||
40 | enum ScreenShotType { | 40 | enum ScreenShotType { | ||
41 | INCLUDE_DECORATION = 1 << 0, | 41 | INCLUDE_DECORATION = 1 << 0, | ||
42 | INCLUDE_CURSOR = 1 << 1 | 42 | INCLUDE_CURSOR = 1 << 1 | ||
43 | }; | 43 | }; | ||
44 | ScreenShotEffect(); | 44 | ScreenShotEffect(); | ||
45 | ~ScreenShotEffect() override; | 45 | ~ScreenShotEffect() override; | ||
46 | 46 | | |||
47 | void paintScreen(int mask, QRegion region, ScreenPaintData &data) override; | 47 | void paintScreen(int mask, const QRegion ®ion, ScreenPaintData &data) override; | ||
48 | void postPaintScreen() override; | 48 | void postPaintScreen() override; | ||
49 | bool isActive() const override; | 49 | bool isActive() const override; | ||
50 | 50 | | |||
51 | int requestedEffectChainPosition() const override { | 51 | int requestedEffectChainPosition() const override { | ||
52 | return 50; | 52 | return 50; | ||
53 | } | 53 | } | ||
54 | 54 | | |||
55 | static bool supported(); | 55 | static bool supported(); | ||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |