Changeset View
Changeset View
Standalone View
Standalone View
effects/mouseclick/mouseclick.h
Show First 20 Lines • Show All 98 Lines • ▼ Show 20 Line(s) | 90 | { | |||
---|---|---|---|---|---|
99 | Q_PROPERTY(bool showText READ isShowText) | 99 | Q_PROPERTY(bool showText READ isShowText) | ||
100 | Q_PROPERTY(QFont font READ font) | 100 | Q_PROPERTY(QFont font READ font) | ||
101 | Q_PROPERTY(bool enabled READ isEnabled) | 101 | Q_PROPERTY(bool enabled READ isEnabled) | ||
102 | public: | 102 | public: | ||
103 | MouseClickEffect(); | 103 | MouseClickEffect(); | ||
104 | ~MouseClickEffect() override; | 104 | ~MouseClickEffect() override; | ||
105 | void reconfigure(ReconfigureFlags) override; | 105 | void reconfigure(ReconfigureFlags) override; | ||
106 | void prePaintScreen(ScreenPrePaintData& data, int time) override; | 106 | void prePaintScreen(ScreenPrePaintData& data, int time) override; | ||
107 | void paintScreen(int mask, QRegion region, ScreenPaintData& data) override; | 107 | void paintScreen(int mask, const QRegion ®ion, ScreenPaintData& data) override; | ||
108 | void postPaintScreen() override; | 108 | void postPaintScreen() override; | ||
109 | bool isActive() const override; | 109 | bool isActive() const override; | ||
110 | 110 | | |||
111 | // for properties | 111 | // for properties | ||
112 | QColor color1() const { | 112 | QColor color1() const { | ||
113 | return m_colors[0]; | 113 | return m_colors[0]; | ||
114 | } | 114 | } | ||
115 | QColor color2() const { | 115 | QColor color2() const { | ||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |