Changeset View
Changeset View
Standalone View
Standalone View
effects/effect_builtins.cpp
Show All 16 Lines | |||||
17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License | ||
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 | #include "effect_builtins.h" | 20 | #include "effect_builtins.h" | ||
21 | #ifdef EFFECT_BUILTINS | 21 | #ifdef EFFECT_BUILTINS | ||
22 | // common effects | 22 | // common effects | ||
23 | #include "backgroundcontrast/contrast.h" | 23 | #include "backgroundcontrast/contrast.h" | ||
24 | #include "blur/blur.h" | 24 | #include "blur/blur.h" | ||
25 | #include "colorpicker/colorpicker.h" | ||||
25 | #include "kscreen/kscreen.h" | 26 | #include "kscreen/kscreen.h" | ||
26 | #include "presentwindows/presentwindows.h" | 27 | #include "presentwindows/presentwindows.h" | ||
27 | #include "screenedge/screenedgeeffect.h" | 28 | #include "screenedge/screenedgeeffect.h" | ||
28 | #include "screenshot/screenshot.h" | 29 | #include "screenshot/screenshot.h" | ||
29 | #include "slidingpopups/slidingpopups.h" | 30 | #include "slidingpopups/slidingpopups.h" | ||
30 | // Common effects only relevant to desktop | 31 | // Common effects only relevant to desktop | ||
31 | #include "desktopgrid/desktopgrid.h" | 32 | #include "desktopgrid/desktopgrid.h" | ||
32 | #include "diminactive/diminactive.h" | 33 | #include "diminactive/diminactive.h" | ||
▲ Show 20 Lines • Show All 74 Lines • ▼ Show 20 Line(s) | 100 | }, { | |||
107 | false, | 108 | false, | ||
108 | #ifdef EFFECT_BUILTINS | 109 | #ifdef EFFECT_BUILTINS | ||
109 | &createHelper<BlurEffect>, | 110 | &createHelper<BlurEffect>, | ||
110 | &BlurEffect::supported, | 111 | &BlurEffect::supported, | ||
111 | &BlurEffect::enabledByDefault | 112 | &BlurEffect::enabledByDefault | ||
112 | #endif | 113 | #endif | ||
113 | EFFECT_FALLBACK | 114 | EFFECT_FALLBACK | ||
114 | }, { | 115 | }, { | ||
116 | QStringLiteral("colorpicker"), | ||||
117 | i18ndc("kwin_effects", "Name of a KWin Effect", "Color Picker"), | ||||
118 | i18ndc("kwin_effects", "Comment describing the KWin Effect", "Supports picking a color"), | ||||
119 | QStringLiteral("Accessibility"), | ||||
120 | QString(), | ||||
121 | QUrl(), | ||||
122 | true, | ||||
123 | true, | ||||
124 | #ifdef EFFECT_BUILTINS | ||||
125 | &createHelper<ColorPickerEffect>, | ||||
126 | &ColorPickerEffect::supported, | ||||
127 | nullptr | ||||
128 | #endif | ||||
129 | EFFECT_FALLBACK | ||||
130 | }, { | ||||
115 | QStringLiteral("contrast"), | 131 | QStringLiteral("contrast"), | ||
116 | i18ndc("kwin_effects", "Name of a KWin Effect", "Background contrast"), | 132 | i18ndc("kwin_effects", "Name of a KWin Effect", "Background contrast"), | ||
117 | i18ndc("kwin_effects", "Comment describing the KWin Effect", "Improve contrast and readability behind semi-transparent windows"), | 133 | i18ndc("kwin_effects", "Comment describing the KWin Effect", "Improve contrast and readability behind semi-transparent windows"), | ||
118 | QStringLiteral("Appearance"), | 134 | QStringLiteral("Appearance"), | ||
119 | QString(), | 135 | QString(), | ||
120 | QUrl(), | 136 | QUrl(), | ||
121 | true, | 137 | true, | ||
122 | false, | 138 | false, | ||
▲ Show 20 Lines • Show All 650 Lines • Show Last 20 Lines |