Split gerbview diff and xor into two separate view modes.
Fixes https://gitlab.com/kicad/code/kicad/issues/101227.0
-
2common/bitmap_info.cpp
-
19gerbview/files.cpp
-
2gerbview/gbr_display_options.h
-
18gerbview/gerbview_frame.cpp
-
6gerbview/gerbview_frame.h
-
13gerbview/gerbview_painter.cpp
-
1gerbview/menubar.cpp
-
2gerbview/toolbars_gerber.cpp
-
9gerbview/tools/gerbview_actions.cpp
-
3gerbview/tools/gerbview_actions.h
-
19gerbview/tools/gerbview_control.cpp
-
1resources/bitmaps_png/CMakeLists.txt
-
BINresources/bitmaps_png/png/gbr_select_mode1_24.png
-
BINresources/bitmaps_png/png/gbr_select_mode1_dark_24.png
-
BINresources/bitmaps_png/png/gbr_select_mode2_24.png
-
BINresources/bitmaps_png/png/gbr_select_mode2_dark_24.png
-
111resources/bitmaps_png/sources/dark/gbr_select_mode1.svg
-
41resources/bitmaps_png/sources/dark/gbr_select_mode2.svg
-
111resources/bitmaps_png/sources/light/gbr_select_mode1.svg
-
41resources/bitmaps_png/sources/light/gbr_select_mode2.svg
After Width: 24 | Height: 24 | Size: 545 B |
After Width: 24 | Height: 24 | Size: 527 B |
Before Width: 24 | Height: 24 | Size: 603 B After Width: 24 | Height: 24 | Size: 564 B |
Before Width: 24 | Height: 24 | Size: 604 B After Width: 24 | Height: 24 | Size: 593 B |
@ -0,0 +1,111 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|||
<svg |
|||
height="24" |
|||
width="24" |
|||
version="1.1" |
|||
id="svg2" |
|||
inkscape:version="1.2.1 (9c6d41e, 2022-07-14)" |
|||
sodipodi:docname="gbr_select_mode1.svg" |
|||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
|||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
|||
xmlns="http://www.w3.org/2000/svg" |
|||
xmlns:svg="http://www.w3.org/2000/svg" |
|||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|||
xmlns:cc="http://creativecommons.org/ns#" |
|||
xmlns:dc="http://purl.org/dc/elements/1.1/"> |
|||
<metadata |
|||
id="metadata40"> |
|||
<rdf:RDF> |
|||
<cc:Work |
|||
rdf:about=""> |
|||
<dc:format>image/svg+xml</dc:format> |
|||
<dc:type |
|||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |
|||
<dc:title /> |
|||
<cc:license |
|||
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" /> |
|||
</cc:Work> |
|||
<cc:License |
|||
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/"> |
|||
<cc:permits |
|||
rdf:resource="http://creativecommons.org/ns#Reproduction" /> |
|||
<cc:permits |
|||
rdf:resource="http://creativecommons.org/ns#Distribution" /> |
|||
<cc:requires |
|||
rdf:resource="http://creativecommons.org/ns#Notice" /> |
|||
<cc:requires |
|||
rdf:resource="http://creativecommons.org/ns#Attribution" /> |
|||
<cc:prohibits |
|||
rdf:resource="http://creativecommons.org/ns#CommercialUse" /> |
|||
<cc:permits |
|||
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> |
|||
<cc:requires |
|||
rdf:resource="http://creativecommons.org/ns#ShareAlike" /> |
|||
</cc:License> |
|||
</rdf:RDF> |
|||
</metadata> |
|||
<sodipodi:namedview |
|||
pagecolor="#ffffff" |
|||
bordercolor="#666666" |
|||
borderopacity="1" |
|||
objecttolerance="10" |
|||
gridtolerance="10" |
|||
guidetolerance="10" |
|||
inkscape:pageopacity="0" |
|||
inkscape:pageshadow="2" |
|||
inkscape:window-width="1309" |
|||
inkscape:window-height="861" |
|||
id="namedview38" |
|||
showgrid="true" |
|||
inkscape:snap-to-guides="false" |
|||
inkscape:snap-grids="true" |
|||
inkscape:zoom="16.236259" |
|||
inkscape:cx="18.877501" |
|||
inkscape:cy="19.123863" |
|||
inkscape:window-x="0" |
|||
inkscape:window-y="38" |
|||
inkscape:window-maximized="0" |
|||
inkscape:current-layer="svg2" |
|||
inkscape:document-rotation="0" |
|||
inkscape:showpageshadow="2" |
|||
inkscape:pagecheckerboard="0" |
|||
inkscape:deskcolor="#d1d1d1"> |
|||
<inkscape:grid |
|||
type="xygrid" |
|||
id="grid3017" |
|||
empspacing="2" |
|||
visible="true" |
|||
enabled="true" |
|||
snapvisiblegridlinesonly="true" |
|||
spacingx="0.5" |
|||
spacingy="0.5" |
|||
originx="0" |
|||
originy="0" /> |
|||
</sodipodi:namedview> |
|||
<defs |
|||
id="defs4" /> |
|||
<g |
|||
transform="matrix(1.6382539,0,0,1.5572263,-0.2427793,0.36314149)" |
|||
id="g16" |
|||
style="opacity:1"> |
|||
<rect |
|||
height="16" |
|||
width="16" |
|||
y="0" |
|||
x="0" |
|||
id="rect18" |
|||
style="fill-opacity:0" /> |
|||
</g> |
|||
<path |
|||
sodipodi:nodetypes="ccccc" |
|||
inkscape:connector-curvature="0" |
|||
id="path3831" |
|||
d="m 23.5,-0.5 h 5 v 22 h -28 z" |
|||
style="fill:#42B8EB;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> |
|||
<path |
|||
style="mix-blend-mode:exclusion;fill:#f2647e;fill-opacity:0.71;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" |
|||
d="m 15.5,-0.5 h 13 v 13 h -28 z" |
|||
id="rect3828" |
|||
inkscape:connector-curvature="0" |
|||
sodipodi:nodetypes="ccccc" /> |
|||
</svg> |
@ -0,0 +1,111 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
|||
<svg |
|||
height="24" |
|||
width="24" |
|||
version="1.1" |
|||
id="svg2" |
|||
inkscape:version="1.2.1 (9c6d41e, 2022-07-14)" |
|||
sodipodi:docname="gbr_select_mode1.svg" |
|||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
|||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
|||
xmlns="http://www.w3.org/2000/svg" |
|||
xmlns:svg="http://www.w3.org/2000/svg" |
|||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|||
xmlns:cc="http://creativecommons.org/ns#" |
|||
xmlns:dc="http://purl.org/dc/elements/1.1/"> |
|||
<metadata |
|||
id="metadata40"> |
|||
<rdf:RDF> |
|||
<cc:Work |
|||
rdf:about=""> |
|||
<dc:format>image/svg+xml</dc:format> |
|||
<dc:type |
|||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> |
|||
<dc:title /> |
|||
<cc:license |
|||
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" /> |
|||
</cc:Work> |
|||
<cc:License |
|||
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/"> |
|||
<cc:permits |
|||
rdf:resource="http://creativecommons.org/ns#Reproduction" /> |
|||
<cc:permits |
|||
rdf:resource="http://creativecommons.org/ns#Distribution" /> |
|||
<cc:requires |
|||
rdf:resource="http://creativecommons.org/ns#Notice" /> |
|||
<cc:requires |
|||
rdf:resource="http://creativecommons.org/ns#Attribution" /> |
|||
<cc:prohibits |
|||
rdf:resource="http://creativecommons.org/ns#CommercialUse" /> |
|||
<cc:permits |
|||
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> |
|||
<cc:requires |
|||
rdf:resource="http://creativecommons.org/ns#ShareAlike" /> |
|||
</cc:License> |
|||
</rdf:RDF> |
|||
</metadata> |
|||
<sodipodi:namedview |
|||
pagecolor="#ffffff" |
|||
bordercolor="#666666" |
|||
borderopacity="1" |
|||
objecttolerance="10" |
|||
gridtolerance="10" |
|||
guidetolerance="10" |
|||
inkscape:pageopacity="0" |
|||
inkscape:pageshadow="2" |
|||
inkscape:window-width="1309" |
|||
inkscape:window-height="938" |
|||
id="namedview38" |
|||
showgrid="true" |
|||
inkscape:snap-to-guides="false" |
|||
inkscape:snap-grids="true" |
|||
inkscape:zoom="16.236259" |
|||
inkscape:cx="17.892053" |
|||
inkscape:cy="19.647383" |
|||
inkscape:window-x="0" |
|||
inkscape:window-y="38" |
|||
inkscape:window-maximized="0" |
|||
inkscape:current-layer="svg2" |
|||
inkscape:document-rotation="0" |
|||
inkscape:showpageshadow="2" |
|||
inkscape:pagecheckerboard="0" |
|||
inkscape:deskcolor="#d1d1d1"> |
|||
<inkscape:grid |
|||
type="xygrid" |
|||
id="grid3017" |
|||
empspacing="2" |
|||
visible="true" |
|||
enabled="true" |
|||
snapvisiblegridlinesonly="true" |
|||
spacingx="0.5" |
|||
spacingy="0.5" |
|||
originx="0" |
|||
originy="0" /> |
|||
</sodipodi:namedview> |
|||
<defs |
|||
id="defs4" /> |
|||
<g |
|||
transform="matrix(1.6382539,0,0,1.5572263,-0.2427793,0.36314149)" |
|||
id="g16" |
|||
style="opacity:1"> |
|||
<rect |
|||
height="16" |
|||
width="16" |
|||
y="0" |
|||
x="0" |
|||
id="rect18" |
|||
style="fill-opacity:0" /> |
|||
</g> |
|||
<path |
|||
sodipodi:nodetypes="ccccc" |
|||
inkscape:connector-curvature="0" |
|||
id="path3831" |
|||
d="m 23.5,-0.5 h 5 v 22 h -28 z" |
|||
style="mix-blend-mode:multiply;fill:#1a81c4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> |
|||
<path |
|||
style="mix-blend-mode:exclusion;fill:#bf2641;fill-opacity:0.71;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" |
|||
d="m 15.5,-0.5 h 13 v 13 h -28 z" |
|||
id="rect3828" |
|||
inkscape:connector-curvature="0" |
|||
sodipodi:nodetypes="ccccc" /> |
|||
</svg> |