Changeset View
Changeset View
Standalone View
Standalone View
effects.cpp
Show All 24 Lines | |||||
25 | #include "effectloader.h" | 25 | #include "effectloader.h" | ||
26 | #ifdef KWIN_BUILD_ACTIVITIES | 26 | #ifdef KWIN_BUILD_ACTIVITIES | ||
27 | #include "activities.h" | 27 | #include "activities.h" | ||
28 | #endif | 28 | #endif | ||
29 | #include "deleted.h" | 29 | #include "deleted.h" | ||
30 | #include "client.h" | 30 | #include "client.h" | ||
31 | #include "cursor.h" | 31 | #include "cursor.h" | ||
32 | #include "group.h" | 32 | #include "group.h" | ||
33 | #include "osd.h" | ||||
33 | #include "pointer_input.h" | 34 | #include "pointer_input.h" | ||
34 | #include "scene_xrender.h" | 35 | #include "scene_xrender.h" | ||
35 | #include "scene_qpainter.h" | 36 | #include "scene_qpainter.h" | ||
36 | #include "unmanaged.h" | 37 | #include "unmanaged.h" | ||
37 | #ifdef KWIN_BUILD_TABBOX | 38 | #ifdef KWIN_BUILD_TABBOX | ||
38 | #include "tabbox.h" | 39 | #include "tabbox.h" | ||
39 | #endif | 40 | #endif | ||
40 | #include "screenedge.h" | 41 | #include "screenedge.h" | ||
▲ Show 20 Lines • Show All 1544 Lines • ▼ Show 20 Line(s) | 1577 | { | |||
1585 | ); | 1586 | ); | ||
1586 | } | 1587 | } | ||
1587 | 1588 | | |||
1588 | void EffectsHandlerImpl::startInteractivePositionSelection(std::function<void(const QPoint&)> callback) | 1589 | void EffectsHandlerImpl::startInteractivePositionSelection(std::function<void(const QPoint&)> callback) | ||
1589 | { | 1590 | { | ||
1590 | kwinApp()->platform()->startInteractivePositionSelection(callback); | 1591 | kwinApp()->platform()->startInteractivePositionSelection(callback); | ||
1591 | } | 1592 | } | ||
1592 | 1593 | | |||
1594 | void EffectsHandlerImpl::showOnScreenMessage(const QString &message, const QString &iconName) | ||||
1595 | { | ||||
1596 | OSD::show(message, iconName); | ||||
1597 | } | ||||
1598 | | ||||
1599 | void EffectsHandlerImpl::hideOnScreenMessage() | ||||
1600 | { | ||||
1601 | OSD::hide(); | ||||
1602 | } | ||||
1603 | | ||||
1593 | //**************************************** | 1604 | //**************************************** | ||
1594 | // EffectWindowImpl | 1605 | // EffectWindowImpl | ||
1595 | //**************************************** | 1606 | //**************************************** | ||
1596 | 1607 | | |||
1597 | EffectWindowImpl::EffectWindowImpl(Toplevel *toplevel) | 1608 | EffectWindowImpl::EffectWindowImpl(Toplevel *toplevel) | ||
1598 | : EffectWindow(toplevel) | 1609 | : EffectWindow(toplevel) | ||
1599 | , toplevel(toplevel) | 1610 | , toplevel(toplevel) | ||
1600 | , sw(NULL) | 1611 | , sw(NULL) | ||
▲ Show 20 Lines • Show All 457 Lines • Show Last 20 Lines |