[Differential] [Request, 241 lines] D3480: [effects] Add a colorpicker effect
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Thu Nov 24 07:11:01 UTC 2016
graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland, broulik.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY
The effect exports itself to DBus as object "/ColorPicker" and provides
an own interface "org.kde.kwin.ColorPicker".
It has one exported method to DBus "pick" which returns a QColor. When
invoked an interactive position picking selection is started. If it ends
the effect reads the color value at the picked position from the OpenGL
color buffer.
This implements https://phabricator.kde.org/T4568.
REPOSITORY
rKWIN KWin
BRANCH
color-picker-effect
REVISION DETAIL
https://phabricator.kde.org/D3480
AFFECTED FILES
autotests/test_builtin_effectloader.cpp
autotests/test_plugin_effectloader.cpp
autotests/test_scripted_effectloader.cpp
effects/CMakeLists.txt
effects/colorpicker/colorpicker.cpp
effects/colorpicker/colorpicker.h
effects/effect_builtins.cpp
effects/effect_builtins.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, #kwin, #plasma_on_wayland, broulik
Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161124/874b1f3d/attachment.html>
More information about the Plasma-devel
mailing list