cblack created this revision. cblack added reviewers: Plasma, mart. Herald added a project: Kirigami. Herald added a subscriber: plasma-devel. cblack requested review of this revision.
REVISION SUMMARY ColorUtils is a class that offers utilities for working with colour, offering the following items as a start: - `QColor averageColorForItem(QQuickItem*, int)` - Obtains the average colour of an item, ignoring transparent pixels - `Brightness brightnessForItem(QQuickItem*)` - Obtains the brightness of an item REPOSITORY R169 Kirigami BRANCH cblack/colour-utils REVISION DETAIL https://phabricator.kde.org/D28134 AFFECTED FILES src/CMakeLists.txt src/colorutils.cpp src/colorutils.h src/kirigamiplugin.cpp To: cblack, #plasma, mart Cc: plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, apol, ahiemstra, davidedmundson, mart