Seth Hillbrand 2 years ago
parent
commit
0775d1364a
  1. 1
      eeschema/lib_shape.cpp
  2. 1
      eeschema/sch_shape.cpp
  3. 1
      include/bitmaps/bitmaps_list.h
  4. 1
      resources/bitmaps_png/CMakeLists.txt
  5. BIN
      resources/bitmaps_png/png/add_bezier_16.png
  6. BIN
      resources/bitmaps_png/png/add_bezier_24.png
  7. BIN
      resources/bitmaps_png/png/add_bezier_32.png
  8. BIN
      resources/bitmaps_png/png/add_bezier_48.png
  9. BIN
      resources/bitmaps_png/png/add_bezier_64.png
  10. BIN
      resources/bitmaps_png/png/add_bezier_dark_16.png
  11. BIN
      resources/bitmaps_png/png/add_bezier_dark_24.png
  12. BIN
      resources/bitmaps_png/png/add_bezier_dark_32.png
  13. BIN
      resources/bitmaps_png/png/add_bezier_dark_48.png
  14. BIN
      resources/bitmaps_png/png/add_bezier_dark_64.png
  15. 131
      resources/bitmaps_png/sources/dark/add_bezier.svg
  16. 131
      resources/bitmaps_png/sources/light/add_bezier.svg

1
eeschema/lib_shape.cpp

@ -494,6 +494,7 @@ BITMAPS LIB_SHAPE::GetMenuImage() const
case SHAPE_T::CIRCLE: return BITMAPS::add_circle;
case SHAPE_T::RECTANGLE: return BITMAPS::add_rectangle;
case SHAPE_T::POLY: return BITMAPS::add_graphical_segments;
case SHAPE_T::BEZIER: return BITMAPS::add_bezier;
default:
UNIMPLEMENTED_FOR( SHAPE_T_asString() );

1
eeschema/sch_shape.cpp

@ -470,6 +470,7 @@ BITMAPS SCH_SHAPE::GetMenuImage() const
case SHAPE_T::CIRCLE: return BITMAPS::add_circle;
case SHAPE_T::RECTANGLE: return BITMAPS::add_rectangle;
case SHAPE_T::POLY: return BITMAPS::add_graphical_segments;
case SHAPE_T::BEZIER: return BITMAPS::add_bezier;
default:
UNIMPLEMENTED_FOR( SHAPE_T_asString() );

1
include/bitmaps/bitmaps_list.h

@ -41,6 +41,7 @@ enum class BITMAPS : unsigned int
about,
add_aligned_dimension,
add_arc,
add_bezier,
add_board,
add_bus,
add_bus2bus,

1
resources/bitmaps_png/CMakeLists.txt

@ -158,6 +158,7 @@ set( BMAPS_MID
about
add_aligned_dimension
add_arc
add_bezier
add_board
add_bus2bus
add_bus

BIN
resources/bitmaps_png/png/add_bezier_16.png

After

Width: 16  |  Height: 16  |  Size: 377 B

BIN
resources/bitmaps_png/png/add_bezier_24.png

After

Width: 24  |  Height: 24  |  Size: 446 B

BIN
resources/bitmaps_png/png/add_bezier_32.png

After

Width: 32  |  Height: 32  |  Size: 687 B

BIN
resources/bitmaps_png/png/add_bezier_48.png

After

Width: 48  |  Height: 48  |  Size: 687 B

BIN
resources/bitmaps_png/png/add_bezier_64.png

After

Width: 64  |  Height: 64  |  Size: 1.1 KiB

BIN
resources/bitmaps_png/png/add_bezier_dark_16.png

After

Width: 16  |  Height: 16  |  Size: 379 B

BIN
resources/bitmaps_png/png/add_bezier_dark_24.png

After

Width: 24  |  Height: 24  |  Size: 443 B

BIN
resources/bitmaps_png/png/add_bezier_dark_32.png

After

Width: 32  |  Height: 32  |  Size: 685 B

BIN
resources/bitmaps_png/png/add_bezier_dark_48.png

After

Width: 48  |  Height: 48  |  Size: 686 B

BIN
resources/bitmaps_png/png/add_bezier_dark_64.png

After

Width: 64  |  Height: 64  |  Size: 1.1 KiB

131
resources/bitmaps_png/sources/dark/add_bezier.svg

@ -0,0 +1,131 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
id="Слой_1"
data-name="Слой 1"
viewBox="0 0 24 24"
version="1.1"
sodipodi:docname="add_bezier.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
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/">
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="3156"
inkscape:window-height="1669"
id="namedview30"
showgrid="true"
inkscape:zoom="31.34512"
inkscape:cx="-0.82947522"
inkscape:cy="15.074117"
inkscape:window-x="0"
inkscape:window-y="38"
inkscape:window-maximized="0"
inkscape:document-rotation="0"
inkscape:current-layer="Слой_1"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1">
<inkscape:grid
type="xygrid"
id="grid_kicad"
spacingx="0.5"
spacingy="0.5"
color="#9999ff"
opacity="0.13"
empspacing="2" />
</sodipodi:namedview>
<metadata
id="metadata43">
<rdf:RDF>
<cc:Work
rdf:about="">
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>add_line</dc:title>
</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:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<defs
id="defs342">
<style
id="style340">.cls-1{fill:none;stroke:#1a81c4;stroke-linecap:round;stroke-linejoin:round;}</style>
</defs>
<title
id="title344">add_line</title>
<path
id="line346"
style="fill:none;fill-opacity:1;stroke:#42b8eb;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 18,3 c 0,0 2.5,8.5 -6.5,8.5 C 2.5,11.5 6,21 6,21"
class="cls-1"
sodipodi:nodetypes="csc" />
<ellipse
style="fill:#ffffff;fill-opacity:1;stroke:#42b8eb;stroke-width:1;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1"
id="path4797"
cx="18"
cy="3"
rx="1.5"
ry="1.4999999" />
<circle
style="fill:#ffffff;stroke:#42b8eb;stroke-width:1;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1"
id="path1792"
cx="6"
cy="21"
r="1.5" />
<path
style="fill:none;stroke:#42b8eb;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 21,11.5 H 3"
id="path1857" />
<rect
style="fill:#42b8eb;fill-opacity:1;stroke:#42b8eb;stroke-width:1;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1"
id="rect2118"
width="2"
height="2"
x="19.5"
y="10.5"
ry="0" />
<rect
style="fill:#42b8eb;stroke:#42b8eb;stroke-width:1;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1"
id="rect2118-3"
width="2"
height="2"
x="1.5"
y="10.5"
ry="0" />
<ellipse
style="fill:#ffffff;fill-opacity:1;stroke:#42b8eb;stroke-width:1;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1"
id="path4797-6"
cx="11.5"
cy="11.5"
rx="1.5"
ry="1.4999999" />
</svg>

131
resources/bitmaps_png/sources/light/add_bezier.svg

@ -0,0 +1,131 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
id="Слой_1"
data-name="Слой 1"
viewBox="0 0 24 24"
version="1.1"
sodipodi:docname="add_bezier.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
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/">
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="3156"
inkscape:window-height="1669"
id="namedview30"
showgrid="true"
inkscape:zoom="31.34512"
inkscape:cx="-0.82947522"
inkscape:cy="15.074117"
inkscape:window-x="0"
inkscape:window-y="38"
inkscape:window-maximized="0"
inkscape:document-rotation="0"
inkscape:current-layer="Слой_1"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1">
<inkscape:grid
type="xygrid"
id="grid_kicad"
spacingx="0.5"
spacingy="0.5"
color="#9999ff"
opacity="0.13"
empspacing="2" />
</sodipodi:namedview>
<metadata
id="metadata43">
<rdf:RDF>
<cc:Work
rdf:about="">
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>add_line</dc:title>
</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:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<defs
id="defs342">
<style
id="style340">.cls-1{fill:none;stroke:#1a81c4;stroke-linecap:round;stroke-linejoin:round;}</style>
</defs>
<title
id="title344">add_line</title>
<path
id="line346"
style="fill:none;fill-opacity:1;stroke:#1a81c4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 18,3 c 0,0 2.5,8.5 -6.5,8.5 C 2.5,11.5 6,21 6,21"
class="cls-1"
sodipodi:nodetypes="csc" />
<ellipse
style="fill:#ffffff;fill-opacity:1;stroke:#1a81c4;stroke-width:1;stroke-linecap:round;stroke-dasharray:none"
id="path4797"
cx="18"
cy="3"
rx="1.5"
ry="1.4999999" />
<circle
style="fill:#ffffff;stroke:#1a81c4;stroke-width:1;stroke-linecap:round;stroke-dasharray:none"
id="path1792"
cx="6"
cy="21"
r="1.5" />
<path
style="fill:none;stroke:#1a81c4;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 21,11.5 H 3"
id="path1857" />
<rect
style="fill:#1a81c4;fill-opacity:1;stroke:#1a81c4;stroke-width:1;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1"
id="rect2118"
width="2"
height="2"
x="19.5"
y="10.5"
ry="0" />
<rect
style="fill:#1a81c4;stroke:#1a81c4;stroke-width:1;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1"
id="rect2118-3"
width="2"
height="2"
x="1.5"
y="10.5"
ry="0" />
<ellipse
style="fill:#ffffff;fill-opacity:1;stroke:#1a81c4;stroke-width:1;stroke-linecap:round;stroke-dasharray:none"
id="path4797-6"
cx="11.5"
cy="11.5"
rx="1.5"
ry="1.4999999" />
</svg>
Loading…
Cancel
Save