Changeset View
Changeset View
Standalone View
Standalone View
effects/coverswitch/coverswitch.cpp
Show First 20 Lines • Show All 123 Lines • ▼ Show 20 Line(s) | 123 | if (animation || start || stop) { | |||
---|---|---|---|---|---|
124 | timeLine.update(std::chrono::milliseconds(time)); | 124 | timeLine.update(std::chrono::milliseconds(time)); | ||
125 | } | 125 | } | ||
126 | if (selected_window == nullptr) | 126 | if (selected_window == nullptr) | ||
127 | abort(); | 127 | abort(); | ||
128 | } | 128 | } | ||
129 | effects->prePaintScreen(data, time); | 129 | effects->prePaintScreen(data, time); | ||
130 | } | 130 | } | ||
131 | 131 | | |||
132 | void CoverSwitchEffect::paintScreen(int mask, QRegion region, ScreenPaintData& data) | 132 | void CoverSwitchEffect::paintScreen(int mask, const QRegion ®ion, ScreenPaintData& data) | ||
133 | { | 133 | { | ||
134 | effects->paintScreen(mask, region, data); | 134 | effects->paintScreen(mask, region, data); | ||
135 | 135 | | |||
136 | if (mActivated || stop || stopRequested) { | 136 | if (mActivated || stop || stopRequested) { | ||
137 | 137 | | |||
138 | QList< EffectWindow* > tempList = currentWindowList; | 138 | QList< EffectWindow* > tempList = currentWindowList; | ||
139 | int index = tempList.indexOf(selected_window); | 139 | int index = tempList.indexOf(selected_window); | ||
140 | if (animation || start || stop) { | 140 | if (animation || start || stop) { | ||
▲ Show 20 Lines • Show All 865 Lines • Show Last 20 Lines |