Merge lp://staging/~dyams/unity-2d/launcher-desaturation into lp://staging/unity-2d
Proposed by
Lohith D Shivamurthy
Status: | Work in progress |
---|---|
Proposed branch: | lp://staging/~dyams/unity-2d/launcher-desaturation |
Merge into: | lp://staging/unity-2d |
Diff against target: |
270 lines (+97/-8) 6 files modified
launcher/Launcher.qml (+1/-0) launcher/LauncherItem.qml (+5/-0) launcher/LauncherList.qml (+42/-1) launcher/app/launcherview.cpp (+23/-1) launcher/app/launcherview.h (+5/-0) libunity-2d-private/src/iconimageprovider.cpp (+21/-6) |
To merge this branch: | bzr merge lp://staging/~dyams/unity-2d/launcher-desaturation |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Florian Boucault | Pending | ||
Review via email: mp+85490@code.staging.launchpad.net |
Description of the change
[launcher][dash] While Dash is open hovering a tile will bring to normal otherwise tile is desaturated
To post a comment you must log in.
Unmerged revisions
- 825. By Lohith D Shivamurthy
-
Removed few unused lines
- 824. By Lohith D Shivamurthy
-
[launcher][dash] While Dash is open hovering a tile will bring to normal otherwise tile is desaturated
- 823. By Lohith D Shivamurthy
-
[launcher] Initial commit for Desaturation and tint effect of launcher icons while dash is open
Change description:
Added new property 'isDashActive' to launcherView. LauncherItem already has mouseArea with hoverEnabled = true.
By listening to these two property changes we can achieve the desired effect.
QML icons provider is informed about the desaturated icon by appending :desaturate string to the icon id. The desaturate and tint effect is not perfect yet. At the moment it is achieved through QIcon and QPixmap, Which might need further tuning though.