Merge pull request #9025 from dotCooCoo/fix/distinct-tool-icons
Tool icons: every tool gets an icon of its own instead of sharing its group's
@@ -154,6 +154,7 @@ Generated-in-code art is original and has no file to list. This covers the defau
|
||||
| `assets/icons/dc-clear.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-color-guide.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-contour.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (a solid rounded square inside four corner arcs, its offset outline); not derived from any other application's icon | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-corner-tool.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-crystallize.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-cube.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-curvature-circle.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (an arch with the circle that touches it at its top, and that circle's center) | MIT OR Apache-2.0 | |
|
||||
@@ -194,6 +195,15 @@ Generated-in-code art is original and has no file to list. This covers the defau
|
||||
| `assets/icons/dc-grad-stroke-along.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-grad-stroke-within.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-gradient.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-area.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-bar.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-column.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-line.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-pie.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-radar.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-scatter.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-stacked-bar.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graph-stacked-column.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-graphic-styles.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-grid-view.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-group-select.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
@@ -203,6 +213,9 @@ Generated-in-code art is original and has no file to list. This covers the defau
|
||||
| `assets/icons/dc-join-round.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-join.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-knife.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-lasso-enclosing.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-lasso-polygonal.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-lasso.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-line-cut.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-line.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-list-view.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
@@ -230,6 +243,7 @@ Generated-in-code art is original and has no file to list. This covers the defau
|
||||
| `assets/icons/dc-para-rtl.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-path-eraser.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-pathfinder.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-perspective-select.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-perspective.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-pf-crop.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-pf-divide.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
@@ -262,7 +276,11 @@ Generated-in-code art is original and has no file to list. This covers the defau
|
||||
| `assets/icons/dc-screen-mode.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-selection.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-shape-builder.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-shared-edge.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-shear.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-slice-select.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-slice.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-slide-anchor.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-smooth.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-stroke-center.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-stroke-inside.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
@@ -273,7 +291,14 @@ Generated-in-code art is original and has no file to list. This covers the defau
|
||||
| `assets/icons/dc-swatch-kinds.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-swatch-process.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (a square, a process color) | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-swatch-spot.svg` | VectorCraft contributors | Original work, drawn for VectorCraft (a dot in a ring, a spot color) | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-screener.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-scruncher.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-shifter.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-sizer.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-spinner.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-sprayer.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-stainer.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-symbol-styler.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-touch-type.svg` | VectorCraft contributors (designed by ham9zah) | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-transform-panel.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
| `assets/icons/dc-transparency.svg` | VectorCraft contributors | Original work, drawn for VectorCraft | MIT OR Apache-2.0 | |
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 20v-8a8 8 0 0 1 8-8h8"/><path d="M12 12L6.34 6.34" stroke-dasharray="1.5 2"/><circle cx="12" cy="12" r="1.5" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 332 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 15l4-4 4 3 4-6 4 3v9H4Z" fill="currentColor" fill-opacity="0.4"/><path d="M4 4v16h16"/></svg>
|
||||
|
After Width: | Height: | Size: 289 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4v16h16"/><rect x="4" y="5" width="9" height="3"/><rect x="4" y="9.5" width="15" height="3"/><rect x="4" y="14" width="6" height="3"/></svg>
|
||||
|
After Width: | Height: | Size: 336 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4v16h16"/><rect x="7" y="11" width="3" height="9"/><rect x="11.5" y="6" width="3" height="14"/><rect x="16" y="9" width="3" height="11"/></svg>
|
||||
|
After Width: | Height: | Size: 339 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4v16h16"/><path d="M7 15l4-5 3 3 6-7"/></svg>
|
||||
|
After Width: | Height: | Size: 241 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="8"/><path d="M12 12V4a8 8 0 0 1 6.93 12Z" fill="currentColor" fill-opacity="0.4"/></svg>
|
||||
|
After Width: | Height: | Size: 299 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 4.5l7.61 5.53-2.91 8.94H7.3l-2.91-8.94Z"/><path d="M12 12.5V4.5M12 12.5l7.61-2.47M12 12.5l4.7 6.47M12 12.5l-4.7 6.47M12 12.5l-7.61-2.47" stroke-width="0.75"/><path d="M12 7.5l5.23 3.3-2.58 5.34-5.59.41-1.34-5.44Z" fill="currentColor" fill-opacity="0.4"/></svg>
|
||||
|
After Width: | Height: | Size: 457 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4v16h16"/><circle cx="8" cy="15" r="1.3" fill="currentColor"/><circle cx="10.5" cy="10" r="1.3" fill="currentColor"/><circle cx="13.5" cy="13.5" r="1.3" fill="currentColor"/><circle cx="16" cy="7.5" r="1.3" fill="currentColor"/><circle cx="18" cy="11.5" r="1.3" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 485 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4v16h16"/><rect x="4" y="5" width="9" height="3"/><rect x="4" y="9.5" width="15" height="3"/><rect x="4" y="14" width="6" height="3"/><rect x="4" y="5" width="5" height="3" fill="currentColor"/><rect x="4" y="9.5" width="8" height="3" fill="currentColor"/><rect x="4" y="14" width="3" height="3" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 519 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4v16h16"/><rect x="7" y="11" width="3" height="9"/><rect x="11.5" y="6" width="3" height="14"/><rect x="16" y="9" width="3" height="11"/><rect x="7" y="16" width="3" height="4" fill="currentColor"/><rect x="11.5" y="13" width="3" height="7" fill="currentColor"/><rect x="16" y="15" width="3" height="5" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 526 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 15.7A8.5 6.5 0 1 1 11 16.4"/><circle cx="7" cy="17.6" r="1.5"/><path d="M6.2 19c-.4 1-1 1.8-1.9 2.4"/><rect x="10" y="8" width="4" height="4" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 365 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 15.7L3.5 9 9 3.5l9 1 3 6.5-6 5.4h-4"/><circle cx="7" cy="17.6" r="1.5"/><path d="M6.2 19c-.4 1-1 1.8-1.9 2.4"/></svg>
|
||||
|
After Width: | Height: | Size: 313 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 15.7A8.5 6.5 0 1 1 11 16.4"/><circle cx="7" cy="17.6" r="1.5"/><path d="M6.2 19c-.4 1-1 1.8-1.9 2.4"/></svg>
|
||||
|
After Width: | Height: | Size: 304 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M2 21l4.5-9h7l4.5 9Z"/><path d="M10 12v9M4.25 16.5h11.5"/><path d="M15 2v9.5l2.4-2.3 1.7 3.6 1.5-.7-1.7-3.5h3.3Z" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 334 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7h9v2h9v9H3Z"/><path d="M12 9v9" stroke-dasharray="2 2"/></svg>
|
||||
|
After Width: | Height: | Size: 259 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="10" height="10" stroke-dasharray="2 2.5"/><rect x="3" y="3" width="4" height="3.5" fill="currentColor"/><path d="M14.5 12.5v9l2.3-2.2 1.6 3.4 1.4-.7-1.6-3.3h3.1Z" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 399 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="10" height="10" stroke-dasharray="2 2.5"/><rect x="3" y="3" width="4" height="3.5" fill="currentColor"/><path d="M11.5 21.5l2.5-6 3.5 3.5Z" fill="currentColor"/><path d="M15.75 17.25l4.5-4.5a1.6 1.6 0 0 1 2.25 2.25l-4.5 4.5Z"/></svg>
|
||||
|
After Width: | Height: | Size: 442 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 18C7 8 17 8 21 18"/><rect x="10.5" y="9" width="3" height="3" fill="currentColor"/><path d="M8 5H3.5M5.5 3L3.5 5l2 2M16 5h4.5M18.5 3l2 2-2 2"/></svg>
|
||||
|
After Width: | Height: | Size: 345 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="5.5" cy="12" r="3" fill="currentColor"/><circle cx="12" cy="12" r="3" fill="currentColor" fill-opacity="0.4"/><circle cx="18.5" cy="12" r="3"/></svg>
|
||||
|
After Width: | Height: | Size: 345 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="10" cy="10.5" r="2"/><circle cx="14" cy="10.5" r="2"/><circle cx="12" cy="14" r="2"/><path d="M2 12h4M4.5 10.5L6 12l-1.5 1.5M22 12h-4M19.5 10.5L18 12l1.5 1.5"/></svg>
|
||||
|
After Width: | Height: | Size: 362 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="6.5" r="2"/><circle cx="5" cy="12" r="2"/><circle cx="7" cy="17.5" r="2"/><path d="M11 12h10M18 9l3 3-3 3"/></svg>
|
||||
|
After Width: | Height: | Size: 317 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="18" r="2"/><circle cx="15.5" cy="8.5" r="5.5"/><path d="M8 16l3-3M8.5 13H11v2.5"/></svg>
|
||||
|
After Width: | Height: | Size: 291 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 9l3 3-3 3-3-3Z"/><path d="M19.5 12a7.5 7.5 0 1 1-2.2-5.3"/><path d="M17.3 3.2v3.5h-3.5"/></svg>
|
||||
|
After Width: | Height: | Size: 292 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="6.5" cy="7" r="2.5"/><circle cx="6.5" cy="16.5" r="2.5" fill="currentColor"/><path d="M16 5c2.6 3.5 4 5.6 4 7.6a4 4 0 0 1-8 0c0-2 1.4-4.1 4-7.6Z" fill="currentColor"/></svg>
|
||||
|
After Width: | Height: | Size: 369 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="7" cy="15" r="3.5"/><circle cx="15.5" cy="11" r="4.5" fill="currentColor" fill-opacity="0.4"/><circle cx="15.5" cy="11" r="2"/><path d="M19.5 2.5v3M18 4h3"/></svg>
|
||||
|
After Width: | Height: | Size: 359 B |
@@ -29,9 +29,9 @@ pub const PATH_TOOLS: &[ToolInfo] = &[
|
||||
ToolInfo { id: extend_path::ID, label: "Extend Path Tool", shortcut: None, icon: "dc-arrow-extend" },
|
||||
ToolInfo { id: measure_inspect::ID, label: "Measure & Inspect Tool", shortcut: None, icon: "ruler" },
|
||||
ToolInfo { id: parametric_shape::ID, label: "Parametric Shape Tool", shortcut: None, icon: "hexagon" },
|
||||
ToolInfo { id: corner_tool::ID, label: "Corner Tool", shortcut: None, icon: "dc-rounded-rect" },
|
||||
ToolInfo { id: slide_anchor::ID, label: "Slide Anchor Along Path", shortcut: None, icon: "dc-anchor" },
|
||||
ToolInfo { id: shared_edge::ID, label: "Shared Edge Merge Tool", shortcut: None, icon: "dc-join" },
|
||||
ToolInfo { id: corner_tool::ID, label: "Corner Tool", shortcut: None, icon: "dc-corner-tool" },
|
||||
ToolInfo { id: slide_anchor::ID, label: "Slide Anchor Along Path", shortcut: None, icon: "dc-slide-anchor" },
|
||||
ToolInfo { id: shared_edge::ID, label: "Shared Edge Merge Tool", shortcut: None, icon: "dc-shared-edge" },
|
||||
ToolInfo { id: tangent_circle::ID, label: "Tangent Circle Tool", shortcut: None, icon: "circle" },
|
||||
];
|
||||
|
||||
@@ -40,9 +40,10 @@ pub const SMART_PEN: &[ToolInfo] = &[ToolInfo { id: smart_pen::ID, label: "Smart
|
||||
|
||||
pub const CONTOUR: &[ToolInfo] = &[ToolInfo { id: contour::ID, label: "Contour Tool", shortcut: None, icon: "tool-contour" }];
|
||||
|
||||
pub const BOX_3D: &[ToolInfo] = &[ToolInfo { id: box3d::ID, label: "3D Box Tool", shortcut: None, icon: "box" }];
|
||||
pub const BOX_3D: &[ToolInfo] = &[ToolInfo { id: box3d::ID, label: "3D Box Tool", shortcut: None, icon: "dc-cube" }];
|
||||
|
||||
pub const POLYGONAL_LASSO: &[ToolInfo] = &[ToolInfo { id: polygonal_lasso::ID, label: "Polygonal Lasso Tool", shortcut: None, icon: "tool-lasso" }];
|
||||
pub const POLYGONAL_LASSO: &[ToolInfo] =
|
||||
&[ToolInfo { id: polygonal_lasso::ID, label: "Polygonal Lasso Tool", shortcut: None, icon: "dc-lasso-polygonal" }];
|
||||
|
||||
/// The add-ons' tool groups, after the toolbar's own ([`crate::TOOL_GROUPS`]), each with the
|
||||
/// heading the All Tools drawer lists it under (its add-on's name).
|
||||
@@ -128,7 +129,7 @@ mod tests {
|
||||
let ids: Vec<_> = groups[0].iter().map(|t| t.id).collect();
|
||||
assert_eq!(ids, ["lasso", id]);
|
||||
let info = crate::tool_info(id).expect("catalogued");
|
||||
assert_eq!((info.label, info.shortcut, info.icon), ("Enclosing Lasso Tool", None, "tool-lasso"));
|
||||
assert_eq!((info.label, info.shortcut, info.icon), ("Enclosing Lasso Tool", None, "tool-lasso-enclosing"));
|
||||
assert_eq!(crate::tool_info("lasso").and_then(|t| t.shortcut), Some("Q"), "the Lasso keeps its shortcut");
|
||||
assert_eq!(create(id).map(|tool| tool.id()), Some(id));
|
||||
assert!(heading(id).is_none(), "not listed again under the add-on");
|
||||
|
||||
@@ -27,7 +27,7 @@ pub const TOOL_GROUPS: &[&[ToolInfo]] = &[
|
||||
&[
|
||||
t("lasso", "Lasso Tool", Some("Q"), "tool-lasso"),
|
||||
// Enclosing Lasso's tool, kept out of `addons::GROUPS` so that `all_tools` lists it once.
|
||||
t(crate::addons::enclosing_lasso::ID, "Enclosing Lasso Tool", None, "tool-lasso"),
|
||||
t(crate::addons::enclosing_lasso::ID, "Enclosing Lasso Tool", None, "tool-lasso-enclosing"),
|
||||
],
|
||||
&[
|
||||
t("pen", "Pen Tool", Some("P"), "tool-pen"),
|
||||
@@ -117,29 +117,29 @@ pub const TOOL_GROUPS: &[&[ToolInfo]] = &[
|
||||
&[t("dimension", "Dimension Tool", None, "tool-dimension")],
|
||||
&[
|
||||
t("symbolSprayer", "Symbol Sprayer Tool", Some("Shift+S"), "tool-symbol"),
|
||||
t("symbolShifter", "Symbol Shifter Tool", None, "tool-symbol"),
|
||||
t("symbolScruncher", "Symbol Scruncher Tool", None, "tool-symbol"),
|
||||
t("symbolSizer", "Symbol Sizer Tool", None, "tool-symbol"),
|
||||
t("symbolSpinner", "Symbol Spinner Tool", None, "tool-symbol"),
|
||||
t("symbolStainer", "Symbol Stainer Tool", None, "tool-symbol"),
|
||||
t("symbolScreener", "Symbol Screener Tool", None, "tool-symbol"),
|
||||
t("symbolStyler", "Symbol Styler Tool", None, "tool-symbol"),
|
||||
t("symbolShifter", "Symbol Shifter Tool", None, "tool-symbol-shifter"),
|
||||
t("symbolScruncher", "Symbol Scruncher Tool", None, "tool-symbol-scruncher"),
|
||||
t("symbolSizer", "Symbol Sizer Tool", None, "tool-symbol-sizer"),
|
||||
t("symbolSpinner", "Symbol Spinner Tool", None, "tool-symbol-spinner"),
|
||||
t("symbolStainer", "Symbol Stainer Tool", None, "tool-symbol-stainer"),
|
||||
t("symbolScreener", "Symbol Screener Tool", None, "tool-symbol-screener"),
|
||||
t("symbolStyler", "Symbol Styler Tool", None, "tool-symbol-styler"),
|
||||
],
|
||||
&[
|
||||
t("columnGraph", "Column Graph Tool", Some("J"), "tool-graph"),
|
||||
t("stackedColumnGraph", "Stacked Column Graph Tool", None, "tool-graph"),
|
||||
t("barGraph", "Bar Graph Tool", None, "tool-graph"),
|
||||
t("stackedBarGraph", "Stacked Bar Graph Tool", None, "tool-graph"),
|
||||
t("lineGraph", "Line Graph Tool", None, "tool-graph"),
|
||||
t("areaGraph", "Area Graph Tool", None, "tool-graph"),
|
||||
t("scatterGraph", "Scatter Graph Tool", None, "tool-graph"),
|
||||
t("pieGraph", "Pie Graph Tool", None, "tool-graph"),
|
||||
t("radarGraph", "Radar Graph Tool", None, "tool-graph"),
|
||||
t("stackedColumnGraph", "Stacked Column Graph Tool", None, "tool-graph-stacked-column"),
|
||||
t("barGraph", "Bar Graph Tool", None, "tool-graph-bar"),
|
||||
t("stackedBarGraph", "Stacked Bar Graph Tool", None, "tool-graph-stacked-bar"),
|
||||
t("lineGraph", "Line Graph Tool", None, "tool-graph-line"),
|
||||
t("areaGraph", "Area Graph Tool", None, "tool-graph-area"),
|
||||
t("scatterGraph", "Scatter Graph Tool", None, "tool-graph-scatter"),
|
||||
t("pieGraph", "Pie Graph Tool", None, "tool-graph-pie"),
|
||||
t("radarGraph", "Radar Graph Tool", None, "tool-graph-radar"),
|
||||
],
|
||||
&[
|
||||
t("artboard", "Artboard Tool", Some("Shift+O"), "tool-artboard"),
|
||||
t("slice", "Slice Tool", Some("Shift+K"), "tool-slice"),
|
||||
t("sliceSelection", "Slice Selection Tool", None, "tool-slice"),
|
||||
t("sliceSelection", "Slice Selection Tool", None, "tool-slice-select"),
|
||||
],
|
||||
&[
|
||||
t("hand", "Hand Tool", Some("H"), "tool-hand"),
|
||||
|
||||
@@ -66,6 +66,7 @@ pub static ICONS: &[(&str, &[u8])] = &[
|
||||
("dc-clear", include_bytes!("../../../assets/icons/dc-clear.svg")),
|
||||
("dc-color-guide", include_bytes!("../../../assets/icons/dc-color-guide.svg")),
|
||||
("dc-contour", include_bytes!("../../../assets/icons/dc-contour.svg")),
|
||||
("dc-corner-tool", include_bytes!("../../../assets/icons/dc-corner-tool.svg")),
|
||||
("dc-crystallize", include_bytes!("../../../assets/icons/dc-crystallize.svg")),
|
||||
("dc-cube", include_bytes!("../../../assets/icons/dc-cube.svg")),
|
||||
("dc-curvature-circle", include_bytes!("../../../assets/icons/dc-curvature-circle.svg")),
|
||||
@@ -106,6 +107,15 @@ pub static ICONS: &[(&str, &[u8])] = &[
|
||||
("dc-grad-stroke-along", include_bytes!("../../../assets/icons/dc-grad-stroke-along.svg")),
|
||||
("dc-grad-stroke-within", include_bytes!("../../../assets/icons/dc-grad-stroke-within.svg")),
|
||||
("dc-gradient", include_bytes!("../../../assets/icons/dc-gradient.svg")),
|
||||
("dc-graph-area", include_bytes!("../../../assets/icons/dc-graph-area.svg")),
|
||||
("dc-graph-bar", include_bytes!("../../../assets/icons/dc-graph-bar.svg")),
|
||||
("dc-graph-column", include_bytes!("../../../assets/icons/dc-graph-column.svg")),
|
||||
("dc-graph-line", include_bytes!("../../../assets/icons/dc-graph-line.svg")),
|
||||
("dc-graph-pie", include_bytes!("../../../assets/icons/dc-graph-pie.svg")),
|
||||
("dc-graph-radar", include_bytes!("../../../assets/icons/dc-graph-radar.svg")),
|
||||
("dc-graph-scatter", include_bytes!("../../../assets/icons/dc-graph-scatter.svg")),
|
||||
("dc-graph-stacked-bar", include_bytes!("../../../assets/icons/dc-graph-stacked-bar.svg")),
|
||||
("dc-graph-stacked-column", include_bytes!("../../../assets/icons/dc-graph-stacked-column.svg")),
|
||||
("dc-graphic-styles", include_bytes!("../../../assets/icons/dc-graphic-styles.svg")),
|
||||
("dc-grid-view", include_bytes!("../../../assets/icons/dc-grid-view.svg")),
|
||||
("dc-group-select", include_bytes!("../../../assets/icons/dc-group-select.svg")),
|
||||
@@ -115,6 +125,9 @@ pub static ICONS: &[(&str, &[u8])] = &[
|
||||
("dc-join-miter", include_bytes!("../../../assets/icons/dc-join-miter.svg")),
|
||||
("dc-join-round", include_bytes!("../../../assets/icons/dc-join-round.svg")),
|
||||
("dc-knife", include_bytes!("../../../assets/icons/dc-knife.svg")),
|
||||
("dc-lasso", include_bytes!("../../../assets/icons/dc-lasso.svg")),
|
||||
("dc-lasso-enclosing", include_bytes!("../../../assets/icons/dc-lasso-enclosing.svg")),
|
||||
("dc-lasso-polygonal", include_bytes!("../../../assets/icons/dc-lasso-polygonal.svg")),
|
||||
("dc-line", include_bytes!("../../../assets/icons/dc-line.svg")),
|
||||
("dc-line-cut", include_bytes!("../../../assets/icons/dc-line-cut.svg")),
|
||||
("dc-list-view", include_bytes!("../../../assets/icons/dc-list-view.svg")),
|
||||
@@ -143,6 +156,7 @@ pub static ICONS: &[(&str, &[u8])] = &[
|
||||
("dc-path-eraser", include_bytes!("../../../assets/icons/dc-path-eraser.svg")),
|
||||
("dc-pathfinder", include_bytes!("../../../assets/icons/dc-pathfinder.svg")),
|
||||
("dc-perspective", include_bytes!("../../../assets/icons/dc-perspective.svg")),
|
||||
("dc-perspective-select", include_bytes!("../../../assets/icons/dc-perspective-select.svg")),
|
||||
("dc-pf-crop", include_bytes!("../../../assets/icons/dc-pf-crop.svg")),
|
||||
("dc-pf-divide", include_bytes!("../../../assets/icons/dc-pf-divide.svg")),
|
||||
("dc-pf-exclude", include_bytes!("../../../assets/icons/dc-pf-exclude.svg")),
|
||||
@@ -174,7 +188,11 @@ pub static ICONS: &[(&str, &[u8])] = &[
|
||||
("dc-screen-mode", include_bytes!("../../../assets/icons/dc-screen-mode.svg")),
|
||||
("dc-selection", include_bytes!("../../../assets/icons/dc-selection.svg")),
|
||||
("dc-shape-builder", include_bytes!("../../../assets/icons/dc-shape-builder.svg")),
|
||||
("dc-shared-edge", include_bytes!("../../../assets/icons/dc-shared-edge.svg")),
|
||||
("dc-shear", include_bytes!("../../../assets/icons/dc-shear.svg")),
|
||||
("dc-slice", include_bytes!("../../../assets/icons/dc-slice.svg")),
|
||||
("dc-slice-select", include_bytes!("../../../assets/icons/dc-slice-select.svg")),
|
||||
("dc-slide-anchor", include_bytes!("../../../assets/icons/dc-slide-anchor.svg")),
|
||||
("dc-smooth", include_bytes!("../../../assets/icons/dc-smooth.svg")),
|
||||
("dc-stroke", include_bytes!("../../../assets/icons/dc-stroke.svg")),
|
||||
("dc-stroke-center", include_bytes!("../../../assets/icons/dc-stroke-center.svg")),
|
||||
@@ -185,7 +203,14 @@ pub static ICONS: &[(&str, &[u8])] = &[
|
||||
("dc-swatch-kinds", include_bytes!("../../../assets/icons/dc-swatch-kinds.svg")),
|
||||
("dc-swatch-process", include_bytes!("../../../assets/icons/dc-swatch-process.svg")),
|
||||
("dc-swatch-spot", include_bytes!("../../../assets/icons/dc-swatch-spot.svg")),
|
||||
("dc-symbol-screener", include_bytes!("../../../assets/icons/dc-symbol-screener.svg")),
|
||||
("dc-symbol-scruncher", include_bytes!("../../../assets/icons/dc-symbol-scruncher.svg")),
|
||||
("dc-symbol-shifter", include_bytes!("../../../assets/icons/dc-symbol-shifter.svg")),
|
||||
("dc-symbol-sizer", include_bytes!("../../../assets/icons/dc-symbol-sizer.svg")),
|
||||
("dc-symbol-spinner", include_bytes!("../../../assets/icons/dc-symbol-spinner.svg")),
|
||||
("dc-symbol-sprayer", include_bytes!("../../../assets/icons/dc-symbol-sprayer.svg")),
|
||||
("dc-symbol-stainer", include_bytes!("../../../assets/icons/dc-symbol-stainer.svg")),
|
||||
("dc-symbol-styler", include_bytes!("../../../assets/icons/dc-symbol-styler.svg")),
|
||||
("dc-touch-type", include_bytes!("../../../assets/icons/dc-touch-type.svg")),
|
||||
("dc-transform-panel", include_bytes!("../../../assets/icons/dc-transform-panel.svg")),
|
||||
("dc-transparency", include_bytes!("../../../assets/icons/dc-transparency.svg")),
|
||||
|
||||
@@ -18,7 +18,8 @@ pub fn tool_icon(name: &str) -> &'static str {
|
||||
"tool-direct" => "dc-direct",
|
||||
"tool-group-select" => "dc-group-select",
|
||||
"tool-magic-wand" => "wand_sparkles",
|
||||
"tool-lasso" => "lasso",
|
||||
"tool-lasso" => "dc-lasso",
|
||||
"tool-lasso-enclosing" => "dc-lasso-enclosing",
|
||||
"tool-pen" => "pen-tool",
|
||||
"tool-pen-add" => "pen-tool-add",
|
||||
"tool-pen-delete" => "pen-tool-delete",
|
||||
@@ -79,7 +80,7 @@ pub fn tool_icon(name: &str) -> &'static str {
|
||||
"tool-fill-area" => "dc-fill-area",
|
||||
"tool-live-select" => "dc-live-select",
|
||||
"tool-perspective" => "dc-perspective",
|
||||
"tool-perspective-select" => "dc-perspective",
|
||||
"tool-perspective-select" => "dc-perspective-select",
|
||||
"tool-mesh" => "dc-mesh",
|
||||
"tool-gradient" => "dc-gradient",
|
||||
"tool-eyedropper" => "eyedropper",
|
||||
@@ -89,9 +90,25 @@ pub fn tool_icon(name: &str) -> &'static str {
|
||||
"tool-blend" => "dc-blend",
|
||||
"tool-objects-on-path" => "dc-objects-on-path",
|
||||
"tool-symbol" => "dc-symbol-sprayer",
|
||||
"tool-graph" => "chart-column",
|
||||
"tool-symbol-shifter" => "dc-symbol-shifter",
|
||||
"tool-symbol-scruncher" => "dc-symbol-scruncher",
|
||||
"tool-symbol-sizer" => "dc-symbol-sizer",
|
||||
"tool-symbol-spinner" => "dc-symbol-spinner",
|
||||
"tool-symbol-stainer" => "dc-symbol-stainer",
|
||||
"tool-symbol-screener" => "dc-symbol-screener",
|
||||
"tool-symbol-styler" => "dc-symbol-styler",
|
||||
"tool-graph" => "dc-graph-column",
|
||||
"tool-graph-stacked-column" => "dc-graph-stacked-column",
|
||||
"tool-graph-bar" => "dc-graph-bar",
|
||||
"tool-graph-stacked-bar" => "dc-graph-stacked-bar",
|
||||
"tool-graph-line" => "dc-graph-line",
|
||||
"tool-graph-area" => "dc-graph-area",
|
||||
"tool-graph-scatter" => "dc-graph-scatter",
|
||||
"tool-graph-pie" => "dc-graph-pie",
|
||||
"tool-graph-radar" => "dc-graph-radar",
|
||||
"tool-artboard" => "artboard",
|
||||
"tool-slice" => "slice_knife",
|
||||
"tool-slice" => "dc-slice",
|
||||
"tool-slice-select" => "dc-slice-select",
|
||||
"tool-hand" => "hand",
|
||||
"tool-rotate-view" => "dc-rotate-view",
|
||||
"tool-print-tiling" => "printer",
|
||||
@@ -163,6 +180,20 @@ mod tests {
|
||||
}
|
||||
}
|
||||
|
||||
/// Every cataloged tool, the add-ons' included, maps to an existing icon that is not the
|
||||
/// dashed placeholder and that no other tool uses.
|
||||
#[test]
|
||||
fn every_tool_has_an_icon_no_other_tool_uses() {
|
||||
let mut users: std::collections::BTreeMap<&str, Vec<&str>> = std::collections::BTreeMap::new();
|
||||
for tool in vectorcraft_tools::catalog::all_tools() {
|
||||
let name = tool_icon(tool.icon);
|
||||
assert!(resolves(name) && name != "rect_dashed", "{} maps to {name}, which isn't an icon of its own", tool.id);
|
||||
users.entry(name).or_default().push(tool.id);
|
||||
}
|
||||
let shared: Vec<_> = users.iter().filter(|(_, tools)| tools.len() > 1).collect();
|
||||
assert!(shared.is_empty(), "tools that share an icon: {shared:?}");
|
||||
}
|
||||
|
||||
/// An unresolved name draws the fallback square silently, and the registration only logs a refused
|
||||
/// icon: this is what notices either.
|
||||
#[test]
|
||||
|
||||