Changeset View
Changeset View
Standalone View
Standalone View
effects/flipswitch/flipswitch.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 35 | { | |||
---|---|---|---|---|---|
42 | Q_PROPERTY(qreal yPosition READ yPosition) | 42 | Q_PROPERTY(qreal yPosition READ yPosition) | ||
43 | Q_PROPERTY(bool windowTitle READ isWindowTitle) | 43 | Q_PROPERTY(bool windowTitle READ isWindowTitle) | ||
44 | public: | 44 | public: | ||
45 | FlipSwitchEffect(); | 45 | FlipSwitchEffect(); | ||
46 | ~FlipSwitchEffect() override; | 46 | ~FlipSwitchEffect() override; | ||
47 | 47 | | |||
48 | void reconfigure(ReconfigureFlags) override; | 48 | void reconfigure(ReconfigureFlags) override; | ||
49 | void prePaintScreen(ScreenPrePaintData& data, int time) override; | 49 | void prePaintScreen(ScreenPrePaintData& data, int time) override; | ||
50 | void paintScreen(int mask, QRegion region, ScreenPaintData& data) override; | 50 | void paintScreen(int mask, const QRegion ®ion, ScreenPaintData& data) override; | ||
51 | void postPaintScreen() override; | 51 | void postPaintScreen() override; | ||
52 | void prePaintWindow(EffectWindow *w, WindowPrePaintData &data, int time) override; | 52 | void prePaintWindow(EffectWindow *w, WindowPrePaintData &data, int time) override; | ||
53 | void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data) override; | 53 | void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data) override; | ||
54 | void grabbedKeyboardEvent(QKeyEvent* e) override; | 54 | void grabbedKeyboardEvent(QKeyEvent* e) override; | ||
55 | void windowInputMouseEvent(QEvent* e) override; | 55 | void windowInputMouseEvent(QEvent* e) override; | ||
56 | bool isActive() const override; | 56 | bool isActive() const override; | ||
57 | 57 | | |||
58 | int requestedEffectChainPosition() const override { | 58 | int requestedEffectChainPosition() const override { | ||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |