Bug 375842 - JJ: add invert button to the levels filter
Summary: JJ: add invert button to the levels filter
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Filters (other bugs)
Version First Reported In: 3.1.1
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2017-02-01 14:10 UTC by Alex
Modified: 2017-12-22 12:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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