Changeset View
Changeset View
Standalone View
Standalone View
effects/lookingglass/lookingglass.h
Show All 40 Lines | 39 | { | |||
---|---|---|---|---|---|
41 | Q_PROPERTY(int initialRadius READ initialRadius) | 41 | Q_PROPERTY(int initialRadius READ initialRadius) | ||
42 | public: | 42 | public: | ||
43 | LookingGlassEffect(); | 43 | LookingGlassEffect(); | ||
44 | ~LookingGlassEffect() override; | 44 | ~LookingGlassEffect() override; | ||
45 | 45 | | |||
46 | void reconfigure(ReconfigureFlags) override; | 46 | void reconfigure(ReconfigureFlags) override; | ||
47 | 47 | | |||
48 | void prePaintScreen(ScreenPrePaintData& data, int time) override; | 48 | void prePaintScreen(ScreenPrePaintData& data, int time) override; | ||
49 | void paintScreen(int mask, QRegion region, ScreenPaintData &data) override; | 49 | void paintScreen(int mask, const QRegion ®ion, ScreenPaintData &data) override; | ||
50 | bool isActive() const override; | 50 | bool isActive() const override; | ||
51 | 51 | | |||
52 | static bool supported(); | 52 | static bool supported(); | ||
53 | 53 | | |||
54 | // for properties | 54 | // for properties | ||
55 | int initialRadius() const { | 55 | int initialRadius() const { | ||
56 | return initialradius; | 56 | return initialradius; | ||
57 | } | 57 | } | ||
Show All 26 Lines |