[Differential] [Request, 442 lines] D2464: [effects] Add new effect for touch point visualization
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Tue Aug 16 18:20:20 UTC 2016
graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland, bshah.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY
The new effect is based on the mouse click effect and uses the same
rendering code (this could be improved by merging them better).
Unlike mouse click there is no keyboard shortcut needed to activate:
as soon as the effect is loaded all touch points are visualized.
The visualization creates an animated circle for each touch down
position, motion and up position. The ids are tracked and each touch
id gets the same color. The first ten different touch ids get a
different color. As touch ids are stable the first finger will always
have the same color.
REPOSITORY
rKWIN KWin
BRANCH
touch-points-effect
REVISION DETAIL
https://phabricator.kde.org/D2464
AFFECTED FILES
autotests/test_builtin_effectloader.cpp
effects/CMakeLists.txt
effects/effect_builtins.cpp
effects/touchpoints/touchpoints.cpp
effects/touchpoints/touchpoints.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, #kwin, #plasma_on_wayland, bshah
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/20160816/ceb5e97f/attachment.html>
More information about the Plasma-devel
mailing list