Changeset View
Changeset View
Standalone View
Standalone View
effects/startupfeedback/startupfeedback.cpp
Show First 20 Lines • Show All 163 Lines • ▼ Show 20 Line(s) | 161 | case BlinkingFeedback: | |||
---|---|---|---|---|---|
164 | break; | 164 | break; | ||
165 | default: | 165 | default: | ||
166 | break; // nothing | 166 | break; // nothing | ||
167 | } | 167 | } | ||
168 | } | 168 | } | ||
169 | effects->prePaintScreen(data, time); | 169 | effects->prePaintScreen(data, time); | ||
170 | } | 170 | } | ||
171 | 171 | | |||
172 | void StartupFeedbackEffect::paintScreen(int mask, QRegion region, ScreenPaintData& data) | 172 | void StartupFeedbackEffect::paintScreen(int mask, const QRegion ®ion, ScreenPaintData& data) | ||
173 | { | 173 | { | ||
174 | effects->paintScreen(mask, region, data); | 174 | effects->paintScreen(mask, region, data); | ||
175 | if (m_active) { | 175 | if (m_active) { | ||
176 | GLTexture* texture; | 176 | GLTexture* texture; | ||
177 | switch(m_type) { | 177 | switch(m_type) { | ||
178 | case BouncingFeedback: | 178 | case BouncingFeedback: | ||
179 | texture = m_bouncingTextures[ FRAME_TO_BOUNCE_TEXTURE[ m_frame ]]; | 179 | texture = m_bouncingTextures[ FRAME_TO_BOUNCE_TEXTURE[ m_frame ]]; | ||
180 | break; | 180 | break; | ||
▲ Show 20 Lines • Show All 218 Lines • Show Last 20 Lines |