Changeset View
Changeset View
Standalone View
Standalone View
effects/presentwindows/presentwindows.cpp
Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Line(s) | 206 | { | |||
---|---|---|---|---|---|
213 | if (m_activated) | 213 | if (m_activated) | ||
214 | m_decalOpacity = qMin(1.0, m_decalOpacity + time / m_fadeDuration); | 214 | m_decalOpacity = qMin(1.0, m_decalOpacity + time / m_fadeDuration); | ||
215 | else | 215 | else | ||
216 | m_decalOpacity = qMax(0.0, m_decalOpacity - time / m_fadeDuration); | 216 | m_decalOpacity = qMax(0.0, m_decalOpacity - time / m_fadeDuration); | ||
217 | 217 | | |||
218 | effects->prePaintScreen(data, time); | 218 | effects->prePaintScreen(data, time); | ||
219 | } | 219 | } | ||
220 | 220 | | |||
221 | void PresentWindowsEffect::paintScreen(int mask, QRegion region, ScreenPaintData &data) | 221 | void PresentWindowsEffect::paintScreen(int mask, const QRegion ®ion, ScreenPaintData &data) | ||
222 | { | 222 | { | ||
223 | effects->paintScreen(mask, region, data); | 223 | effects->paintScreen(mask, region, data); | ||
224 | 224 | | |||
225 | // Display the filter box | 225 | // Display the filter box | ||
226 | if (!m_windowFilter.isEmpty()) | 226 | if (!m_windowFilter.isEmpty()) | ||
227 | m_filterFrame->render(region); | 227 | m_filterFrame->render(region); | ||
228 | 228 | | |||
229 | if (m_closeView) | 229 | if (m_closeView) | ||
▲ Show 20 Lines • Show All 1733 Lines • Show Last 20 Lines |