Diffusion KWin 2cc55e40779e

[effects] Add a colorpicker effect

Authored by graesslin on Nov 24 2016, 7:07 AM.

Description

[effects] Add a colorpicker effect

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 T4568.

Reviewers: KWin, Plasma on Wayland, broulik

Subscribers: plasma-devel, kwin

Tags: Plasma on Wayland, KWin

Differential Revision: https://phabricator.kde.org/D3480

Details

Committed
graesslinNov 25 2016, 8:30 AM
Differential Revision
D3480: [effects] Add a colorpicker effect
Parents
R108:b42eb9a31061: [effects] Cleanup screenshot effect
Branches
Unknown
Tags
Unknown