Bug 375842

Summary: JJ: add invert button to the levels filter
Product: [Applications] krita Reporter: Alex <eneeen>
Component: FiltersAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: halla, vincentl13x
Priority: NOR Keywords: junior-jobs
Version First Reported In: 3.1.1   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alex 2017-02-01 14:10:16 UTC
It is feature from PS:
When using levels there is possibility to invert sliders, move left controller to right and vice versa, both for input and output. It would be nice to have it in Krita. It would also eliminate need for "invert" filter.
Comment 1 Wuwei Lin 2017-11-26 17:52:26 UTC
Hi, I would like to work on this
Comment 2 Halla Rempt 2017-11-26 18:17:27 UTC
Go ahead!
Comment 3 Halla Rempt 2017-12-08 11:03:58 UTC
Git commit 3a3010ca88ff0e2f5dcbccec8cb5e078e824cb2f by Boudewijn Rempt.
Committed on 08/12/2017 at 11:03.
Pushed by rempt into branch 'master'.

Add an invert button to the level filter widget

Differential Revision: https://phabricator.kde.org/D9052
CCMAIL:vincentl13x@gmail.com

Patch by Wu Weilin -- thanks!

M  +90   -60   libs/ui/widgets/kis_gradient_slider.cpp
M  +3    -0    libs/ui/widgets/kis_gradient_slider.h
M  +34   -2    plugins/filters/levelfilter/kis_level_filter.cpp
M  +4    -0    plugins/filters/levelfilter/kis_level_filter.h
M  +7    -0    plugins/filters/levelfilter/wdg_level.ui

https://commits.kde.org/krita/3a3010ca88ff0e2f5dcbccec8cb5e078e824cb2f
Comment 4 Halla Rempt 2017-12-22 12:49:30 UTC
Git commit 1e5f68ab5d785705219a971f0534ce4374d02239 by Boudewijn Rempt.
Committed on 22/12/2017 at 12:46.
Pushed by rempt into branch 'krita/3.3'.

Add an invert button to the level filter widget

Differential Revision: https://phabricator.kde.org/D9052
CCMAIL:vincentl13x@gmail.com

Patch by Wu Weilin -- thanks!

M  +90   -60   libs/ui/widgets/kis_gradient_slider.cpp
M  +3    -0    libs/ui/widgets/kis_gradient_slider.h
M  +34   -2    plugins/filters/levelfilter/kis_level_filter.cpp
M  +4    -0    plugins/filters/levelfilter/kis_level_filter.h
M  +7    -0    plugins/filters/levelfilter/wdg_level.ui

https://commits.kde.org/krita/1e5f68ab5d785705219a971f0534ce4374d02239