Changeset View
Changeset View
Standalone View
Standalone View
effects/startupfeedback/startupfeedback.h
Show All 17 Lines | |||||
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | *********************************************************************/ | 19 | *********************************************************************/ | ||
20 | 20 | | |||
21 | #ifndef KWIN_STARTUPFEEDBACK_H | 21 | #ifndef KWIN_STARTUPFEEDBACK_H | ||
22 | #define KWIN_STARTUPFEEDBACK_H | 22 | #define KWIN_STARTUPFEEDBACK_H | ||
23 | #include <QObject> | 23 | #include <QObject> | ||
24 | #include <kwineffects.h> | 24 | #include <kwineffects.h> | ||
25 | #include <KStartupInfo> | 25 | #include <KStartupInfo> | ||
26 | #include <KConfigWatcher> | ||||
26 | 27 | | |||
27 | class KSelectionOwner; | 28 | class KSelectionOwner; | ||
28 | namespace KWin | 29 | namespace KWin | ||
29 | { | 30 | { | ||
30 | class GLTexture; | 31 | class GLTexture; | ||
31 | 32 | | |||
32 | class StartupFeedbackEffect | 33 | class StartupFeedbackEffect | ||
33 | : public Effect | 34 | : public Effect | ||
▲ Show 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | 64 | private: | |||
82 | int m_frame; | 83 | int m_frame; | ||
83 | int m_progress; | 84 | int m_progress; | ||
84 | GLTexture* m_bouncingTextures[5]; | 85 | GLTexture* m_bouncingTextures[5]; | ||
85 | GLTexture* m_texture; // for passive and blinking | 86 | GLTexture* m_texture; // for passive and blinking | ||
86 | FeedbackType m_type; | 87 | FeedbackType m_type; | ||
87 | QRect m_currentGeometry, m_dirtyRect; | 88 | QRect m_currentGeometry, m_dirtyRect; | ||
88 | GLShader *m_blinkingShader; | 89 | GLShader *m_blinkingShader; | ||
89 | int m_cursorSize; | 90 | int m_cursorSize; | ||
91 | KConfigWatcher::Ptr m_configWatcher; | ||||
90 | }; | 92 | }; | ||
91 | } // namespace | 93 | } // namespace | ||
92 | 94 | | |||
93 | #endif | 95 | #endif |