Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Add color overlay filter icons
Maciej Jesionowski60fc9780fadd
diff --git a/krita/krita.action b/krita/krita.actionindex 8d44f58ea4..bd0e65a53d 100644--- a/krita/krita.action+++ b/krita/krita.action@@ -2672,7 +2672,7 @@<statusTip/></Action><Action name="add_new_fast_color_overlay_mask">- <icon>filterMask</icon>+ <icon>color-overlay</icon><text>Add Color &Overlay Mask</text><whatsThis/><toolTip>Add a new Fast Color Overlay Filter Mask</toolTip>diff --git a/krita/pics/svg/dark_color-overlay.svg b/krita/pics/svg/dark_color-overlay.svgnew file mode 100644index 0000000000..ae2c9e943b--- /dev/null+++ b/krita/pics/svg/dark_color-overlay.svg@@ -0,0 +1,8 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg class="highlighter" width="16" height="16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+ <g transform="matrix(.089683 0 0 .090884 7.5726 7.5726)">+ <path d="m26.889-81.302-31.808 31.771a6.908 6.908 0 0 0-0.037438 0.0365c-7.846 8.0045-7.846 21.025 0 29.029a6.908 6.908 0 0 0 0.037438 0.0365l35.939 35.939a6.908 6.908 0 0 0 0.03744 0.0365c8.0045 7.846 21.025 7.846 29.029 0a6.908 6.908 0 0 0 0.03744-0.0365l31.806-31.771a6.9073 6.9073 0 0 0 0-9.7983 6.9073 6.9073 0 0 0-9.7983 0l-31.735 31.735c-2.7425 2.6882-6.9095 2.6882-9.652 0l-35.829-35.829c-2.6882-2.7425-2.6882-6.9096 0-9.652l31.735-31.735a6.9073 6.9073 0 0 0 0-9.7617 6.9073 6.9073 0 0 0-9.7617 0z" fill="#373737" stroke-width="0"/>+ <path d="m-1.3633-55.125h-76.201c-3.8024 0.01909-6.8745 3.1075-6.8734 6.91v134.07c0.01872 3.7882 3.0852 6.8545 6.8734 6.8734h134.07c3.8025 0.0011 6.8909-3.071 6.91-6.8734v-71.873l-3.2905 3.2905c-0.01222 0.01214-0.02433 0.02433-0.03744 0.0365-2.9728 2.9139-6.6504 4.7346-10.493 5.4841v49.79c-7e-3 3.5101-2.8506 6.3537-6.3607 6.3616h-108.37c-3.0521 0.0077-5.5283-2.4685-5.5207-5.5207v-108.59c9e-3 -3.3885 2.7537-6.1332 6.1422-6.1422h52.62c0.94644-2.9959 2.5713-5.8147 4.8991-8.1896 0.012242-0.01214 0.024335-0.02433 0.037438-0.0365z" fill="#373737" stroke-width="0" style="paint-order:markers fill stroke"/>+ <path d="m-2.7923-28.069-41.457 41.457v20.729h62.186l20.729-20.729" stroke="#373737" stroke-width="13.819"/>+ </g>+</svg>\ No newline at end of filediff --git a/krita/pics/svg/light_color-overlay.svg b/krita/pics/svg/light_color-overlay.svgnew file mode 100644index 0000000000..21e809db95--- /dev/null+++ b/krita/pics/svg/light_color-overlay.svg@@ -0,0 +1,8 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg class="highlighter" width="16" height="16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+ <g transform="matrix(.089363 0 0 .089363 25.794 6.8984)">+ <path d="m-177.31-75.175-31.808 31.771a6.908 6.908 0 0 0-0.0374 0.0365c-7.846 8.0045-7.846 21.025 0 29.029a6.908 6.908 0 0 0 0.0374 0.0365l35.939 35.939a6.908 6.908 0 0 0 0.0374 0.0365c8.0045 7.846 21.025 7.846 29.029 0a6.908 6.908 0 0 0 0.0374-0.0365l31.806-31.771a6.9073 6.9073 0 0 0 0-9.7983 6.9073 6.9073 0 0 0-9.7983 0l-31.735 31.735c-2.7425 2.6882-6.9096 2.6882-9.652 0l-35.829-35.829c-2.6882-2.7425-2.6882-6.9096 0-9.652l31.735-31.735a6.9073 6.9073 0 0 0 0-9.7617 6.9073 6.9073 0 0 0-9.7617 0z" fill="#d2d2d2" stroke-width="0"/>+ <path d="m-205.57-48.998h-76.201c-3.8024 0.01909-6.8745 3.1075-6.8734 6.91v134.07c0.0187 3.7882 3.0852 6.8545 6.8734 6.8734h134.07c3.8025 0.0011 6.8909-3.071 6.91-6.8734v-71.873l-3.2905 3.2905c-0.0122 0.01214-0.0243 0.02433-0.0374 0.0365-2.9728 2.9139-6.6504 4.7346-10.493 5.4841v49.79c-7e-3 3.5101-2.8506 6.3537-6.3607 6.3616h-108.37c-3.0521 0.0077-5.5283-2.4685-5.5207-5.5207v-108.59c9e-3 -3.3885 2.7537-6.1332 6.1422-6.1422h52.62c0.94643-2.9959 2.5713-5.8147 4.8991-8.1896 0.0122-0.01214 0.0243-0.02433 0.0374-0.0365z" fill="#d2d2d2" stroke-width="0" style="paint-order:markers fill stroke"/>+ <path d="m-207-21.942-41.457 41.457v20.729h62.186l20.729-20.729" stroke="#d2d2d2" stroke-width="13.819"/>+ </g>+</svg>\ No newline at end of filediff --git a/krita/pics/svg/svg-icons.qrc b/krita/pics/svg/svg-icons.qrcindex 131a9ac004..53c1d94f31 100644--- a/krita/pics/svg/svg-icons.qrc+++ b/krita/pics/svg/svg-icons.qrc@@ -294,6 +294,8 @@<file>dark_split-layer.svg</file><file>light_color-to-alpha.svg</file><file>dark_color-to-alpha.svg</file>+ <file>light_color-overlay.svg</file>+ <file>dark_color-overlay.svg</file><file>light_preset-switcher.svg</file><file alias="light_previous_preset.svg">light_preset-switcher.svg</file><file>dark_preset-switcher.svg</file>