Add bitmaps to Align/distribute menu ans menu items

This commit is contained in:
jean-pierre charras 2016-12-20 17:50:29 +01:00
parent b20323dc63
commit 9be5398cd2
9 changed files with 637 additions and 6 deletions

View File

@ -131,6 +131,7 @@ set( BMAPS_MID
add_tracks add_tracks
add_zone_cutout add_zone_cutout
add_zone add_zone
align_items
anchor anchor
annotate_down_right annotate_down_right
annotate_right_down annotate_right_down
@ -202,6 +203,8 @@ set( BMAPS_MID
directory directory
dismiss dismiss
display_options display_options
distribute_horizontal
distribute_vertical
down down
drag_module drag_module
drag_outline_segment drag_outline_segment

View File

@ -0,0 +1,36 @@
/* Do not modify this file, it was automatically generated by the
* PNG2cpp CMake script, using a *.png file as input.
*/
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c,
0xce, 0x00, 0x00, 0x01, 0x34, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xb5, 0x96, 0x31, 0x0a, 0xc2,
0x30, 0x14, 0x86, 0x53, 0x41, 0x74, 0xd5, 0x1b, 0xd8, 0xc9, 0x7a, 0x08, 0xf7, 0xce, 0x8d, 0x3d,
0x41, 0x9c, 0x1d, 0x5d, 0xbd, 0x86, 0x07, 0x70, 0xd6, 0x4d, 0x41, 0xc1, 0x49, 0x51, 0x3c, 0x8a,
0xb3, 0x42, 0xa5, 0x34, 0xbe, 0x48, 0x5a, 0x83, 0x26, 0x4d, 0xda, 0xa4, 0x81, 0x9f, 0x3e, 0xca,
0x6b, 0x3e, 0x78, 0xef, 0xcf, 0x4b, 0x11, 0xaa, 0xb9, 0x7a, 0x01, 0xd9, 0xf4, 0x82, 0xe9, 0xba,
0xf2, 0x87, 0x18, 0xe3, 0x0c, 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
0x13, 0xd7, 0x39, 0xbb, 0x61, 0x3f, 0x25, 0xd2, 0xc4, 0x6e, 0xae, 0xf2, 0x7a, 0xae, 0xab, 0x04,
0x4a, 0x0c, 0x5d, 0x97, 0x58, 0x81, 0x3e, 0x30, 0x03, 0xd7, 0x59, 0xff, 0x6e, 0xd5, 0x9a, 0x75,
0x23, 0xb2, 0xeb, 0x0f, 0xc9, 0xd6, 0x34, 0xff, 0x0d, 0xd5, 0xd1, 0xec, 0x83, 0xa0, 0xec, 0xca,
0x07, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
};
const BITMAP_OPAQUE align_items_xpm[1] = {{ png, sizeof( png ), "align_items_xpm" }};
//EOF

View File

@ -0,0 +1,47 @@
/* Do not modify this file, it was automatically generated by the
* PNG2cpp CMake script, using a *.png file as input.
*/
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c,
0xce, 0x00, 0x00, 0x01, 0xe1, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0x63, 0x60, 0x18, 0x05, 0x94,
0x02, 0x15, 0xcf, 0x2e, 0x65, 0x6a, 0x9b, 0xa9, 0x14, 0x38, 0x45, 0x0d, 0x43, 0x50, 0x2d, 0x64,
0x52, 0x2b, 0x35, 0x2d, 0x31, 0x36, 0x9e, 0xc9, 0xaa, 0x19, 0x36, 0xa1, 0x1f, 0x43, 0xc2, 0x28,
0x6e, 0xd6, 0x36, 0x15, 0xcf, 0x49, 0x7c, 0xd4, 0xb2, 0x48, 0x33, 0x64, 0x52, 0x9c, 0x45, 0xea,
0xbc, 0x3e, 0x0c, 0x09, 0x8b, 0xb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, 0x6a, 0x94, 0x73, 0xf0, 0xda, 0x20, 0x76, 0x56, 0x86, 0x6f, 0xd9, 0xea,
0x79, 0x18, 0x12, 0x3a, 0xe1, 0x13, 0x4a, 0xa9, 0x59, 0xf1, 0x49, 0xf9, 0x36, 0x70, 0x19, 0xc6,
0x4f, 0x9f, 0x86, 0x21, 0x21, 0x1d, 0xd8, 0x26, 0x4c, 0xed, 0xaa, 0x5c, 0xcd, 0xa3, 0xdd, 0x74,
0xb4, 0x91, 0x44, 0x31, 0x00, 0x00, 0x4f, 0x9c, 0x29, 0x3e, 0x2d, 0x1d, 0xe8, 0x70, 0x00, 0x00,
0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
};
const BITMAP_OPAQUE distribute_horizontal_xpm[1] = {{ png, sizeof( png ), "distribute_horizontal_xpm" }};
//EOF

View File

@ -0,0 +1,52 @@
/* Do not modify this file, it was automatically generated by the
* PNG2cpp CMake script, using a *.png file as input.
*/
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c,
0xce, 0x00, 0x00, 0x02, 0x30, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0x63, 0x60, 0x20, 0x00, 0xec,
0xd3, 0xe6, 0x5f, 0x0c, 0x6e, 0xd8, 0xf2, 0xc6, 0xbb, 0x6a, 0xe3, 0x6b, 0x10, 0x66, 0x65, 0xe7,
0xfe, 0xc7, 0xcc, 0xc6, 0xf5, 0xd7, 0x22, 0x6d, 0xf1, 0x63, 0xf3, 0xb4, 0x45, 0x60, 0xec, 0x98,
0xb5, 0xe0, 0xa9, 0x82, 0x57, 0xab, 0x01, 0x03, 0x25, 0xc0,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4, 0x54, 0xd5, 0xab, 0xcb, 0x40,
0x3f, 0x62, 0xca, 0x4c, 0x9f, 0x92, 0x55, 0xab, 0x9d, 0x8b, 0x57, 0x2e, 0x71, 0xcc, 0x5b, 0xb6,
0x32, 0xa0, 0x66, 0xc3, 0x67, 0x90, 0x4f, 0xe0, 0x16, 0xb1, 0x73, 0x41, 0x2c, 0x8a, 0x9f, 0x0d,
0xb6, 0xc4, 0x14, 0x68, 0x89, 0x65, 0xfa, 0xc2, 0x8f, 0x86, 0xb1, 0xb3, 0xe6, 0x18, 0x25, 0xcc,
0x9f, 0x62, 0x96, 0x30, 0x7b, 0x8e, 0x5a, 0x50, 0xff, 0x24, 0x39, 0xdf, 0x0e, 0x6d, 0xa2, 0x7d,
0xa7, 0xec, 0xd6, 0x22, 0x1b, 0x5c, 0xb9, 0xee, 0x1d, 0x3e, 0x8b, 0xcc, 0xd2, 0x96, 0xfe, 0xb7,
0x4b, 0x5f, 0xf0, 0x5a, 0xce, 0xbb, 0x5d, 0x89, 0xec, 0x38, 0x02, 0x59, 0x14, 0x50, 0xb6, 0xea,
0x75, 0x40, 0xcd, 0xe6, 0x6f, 0xfe, 0x35, 0x9b, 0xbf, 0x82, 0x30, 0xd0, 0xa2, 0x7f, 0x20, 0x8b,
0xcc, 0x13, 0x67, 0x7d, 0xb2, 0xca, 0x58, 0xf2, 0xd1, 0x3a, 0x73, 0xe9, 0x47, 0xbb, 0xf4, 0x79,
0xcf, 0x09, 0x59, 0x04, 0x00, 0x63, 0x85, 0x2a, 0xd2, 0x73, 0x98, 0x47, 0xf5, 0x00, 0x00, 0x00,
0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
};
const BITMAP_OPAQUE distribute_vertical_xpm[1] = {{ png, sizeof( png ), "distribute_vertical_xpm" }};
//EOF

View File

@ -0,0 +1,186 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="26"
width="26"
version="1.1"
id="svg18970"
inkscape:version="0.91 r13725"
sodipodi:docname="align_items.svg">
<metadata
id="metadata18987">
<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></dc:title>
</cc:Work>
</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="1920"
inkscape:window-height="1033"
id="namedview18985"
showgrid="true"
inkscape:zoom="22.627417"
inkscape:cx="9.176415"
inkscape:cy="11.383304"
inkscape:window-x="-4"
inkscape:window-y="-4"
inkscape:window-maximized="1"
inkscape:current-layer="svg18970"
inkscape:object-paths="true"
inkscape:object-nodes="true">
<inkscape:grid
type="xygrid"
id="grid3029"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
</sodipodi:namedview>
<defs
id="defs18972" />
<g
id="g3527"
transform="translate(-0.99688584,0.00311415)">
<rect
y="2.499999"
x="2.5"
height="7"
width="10"
id="rect3503"
style="fill:none;stroke:#545454;stroke-width:1;stroke-opacity:1" />
<rect
y="1.5"
x="3.5"
height="3"
width="2"
id="rect3505"
style="fill:#00c921;fill-opacity:1;stroke:#545454;stroke-opacity:1" />
<rect
y="1.5"
x="6.5"
height="3"
width="2"
id="rect3509"
style="fill:#00c921;fill-opacity:1;stroke:#545454;stroke-opacity:1" />
<rect
style="fill:#00c921;fill-opacity:1;stroke:#545454;stroke-opacity:1"
id="rect3514"
width="2"
height="3"
x="9.5"
y="1.5" />
<rect
style="fill:#00c921;fill-opacity:1;stroke:#545454;stroke-opacity:1"
id="rect3516"
width="2"
height="3"
x="3.5"
y="7.5" />
<rect
style="fill:#00c921;fill-opacity:1;stroke:#545454;stroke-opacity:1"
id="rect3518"
width="2"
height="3"
x="6.5"
y="7.5" />
<rect
y="7.5"
x="9.5"
height="3"
width="2"
id="rect3520"
style="fill:#00c921;fill-opacity:1;stroke:#545454;stroke-opacity:1" />
</g>
<g
id="g3527-0"
transform="translate(-1,13.972973)">
<rect
y="2.499999"
x="2.5"
height="7"
width="10"
id="rect3503-2"
style="fill:none;stroke:#545454;stroke-width:1;stroke-opacity:1" />
<rect
y="1.5"
x="3.5"
height="3"
width="2"
id="rect3505-2"
style="fill:#00c921;fill-opacity:1;stroke:#545454;stroke-opacity:1" />
<rect
y="1.5"
x="6.5"
height="3"
width="2"
id="rect3509-1"
style="fill:#00c921;fill-opacity:1;stroke:#545454;stroke-opacity:1" />
<rect
style="fill:#00c921;fill-opacity:1;stroke:#545454;stroke-opacity:1"
id="rect3514-0"
width="2"
height="3"
x="9.5"
y="1.5" />
<rect
style="fill:#00c921;fill-opacity:1;stroke:#545454;stroke-opacity:1"
id="rect3516-6"
width="2"
height="3"
x="3.5"
y="7.5" />
<rect
style="fill:#00c921;fill-opacity:1;stroke:#545454;stroke-opacity:1"
id="rect3518-2"
width="2"
height="3"
x="6.5"
y="7.5" />
<rect
y="7.5"
x="9.5"
height="3"
width="2"
id="rect3520-6"
style="fill:#00c921;fill-opacity:1;stroke:#545454;stroke-opacity:1" />
</g>
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="M 25,14 C 15,14 15,14 15,14"
id="path4182"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="m 15,14 c 6,-5 6,-5 6,-5 l 0,0 0,0"
id="path4184"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="m 15,14 c 6,5 6,5 6,5"
id="path4186"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#122964;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="m 15,1 c 0,24 0,24 0,24"
id="path4180"
inkscape:connector-curvature="0" />
</svg>

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -0,0 +1,146 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="26"
width="26"
version="1.0"
id="svg2"
inkscape:version="0.91 r13725"
sodipodi:docname="align_horizontal.svg"
shape-rendering="crispEdges">
<metadata
id="metadata28">
<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:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="20"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1800"
inkscape:window-height="886"
id="namedview26"
showgrid="false"
inkscape:zoom="22.313202"
inkscape:cx="6.7419311"
inkscape:cy="13.441558"
inkscape:window-x="82"
inkscape:window-y="39"
inkscape:window-maximized="0"
inkscape:current-layer="svg2" />
<defs
id="defs4">
<radialGradient
id="d"
gradientUnits="userSpaceOnUse"
cy="19.031"
cx="11.25"
gradientTransform="matrix(2.4806,0,0,0.68219245,-3.7302,7.903406)"
r="8.0625">
<stop
offset="0"
id="stop7" />
<stop
stop-opacity="0"
offset="1"
id="stop9" />
</radialGradient>
<linearGradient
id="c"
y2="35.855999"
gradientUnits="userSpaceOnUse"
x2="39.161999"
gradientTransform="matrix(0,1.0046,1,0,-1.9921,-0.044059)"
y1="15.633"
x1="-0.97795999">
<stop
stop-color="#fff"
offset="0"
id="stop12" />
<stop
stop-color="#fff"
stop-opacity="0"
offset="1"
id="stop14" />
</linearGradient>
<linearGradient
id="c-1"
y2="35.855999"
gradientUnits="userSpaceOnUse"
x2="39.161999"
gradientTransform="matrix(0,1.0046,1,0,-1.9921,-0.044059)"
y1="15.633"
x1="-0.97795999">
<stop
stop-color="#fff"
offset="0"
id="stop12-6" />
<stop
stop-color="#fff"
stop-opacity="0"
offset="1"
id="stop14-6" />
</linearGradient>
</defs>
<g
transform="matrix(0,-0.567239,-0.16255464,0,27.268946,26.660295)"
id="g18">
<path
style="color:#000000;fill:#3465a4;stroke:#204a87"
d="M 7.5,23.584 24.006,42.5 40.429,23.584 l -7.87,0 0,-15.084 -17.055,0 0,15.084 -8.0041,0 z"
id="path20"
inkscape:connector-curvature="0" />
<path
style="color:#000000;opacity:0.35393001;fill:#729fcf"
d="m 16.008,8.9936 7.9523,0 -0.0241,32.769 -15.345,-17.615 7.4164,0 0,-15.154 z"
id="path22"
inkscape:connector-curvature="0" />
<path
style="color:#000000;opacity:0.35400002;fill:none;stroke:url(#c)"
d="m 9.6411,24.567 14.386,16.516 14.2,-16.516 -6.738,0 0,-15.067 -14.978,0 0,15.067 -6.869,0 z"
id="path24"
inkscape:connector-curvature="0" />
</g>
<g
transform="matrix(0,-0.55837296,0.14999351,0,-1.196619,26.290553)"
id="g18-3">
<path
style="color:#000000;fill:#3465a4;stroke:#204a87"
d="M 7.5,23.584 24.006,42.5 40.429,23.584 l -7.87,0 0,-15.084 -17.055,0 0,15.084 -8.0041,0 z"
id="path20-7"
inkscape:connector-curvature="0" />
<path
style="color:#000000;opacity:0.35393001;fill:#729fcf"
d="m 16.008,8.9936 7.9523,0 -0.0241,32.769 -15.345,-17.615 7.4164,0 0,-15.154 z"
id="path22-7"
inkscape:connector-curvature="0" />
<path
style="color:#000000;opacity:0.35400002;fill:none;stroke:url(#c-1)"
d="m 9.6411,24.567 14.386,16.516 14.2,-16.516 -6.738,0 0,-15.067 -14.978,0 0,15.067 -6.869,0 z"
id="path24-6"
inkscape:connector-curvature="0" />
</g>
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="m 0,13.038764 c 25.954161,-0.06338 25.954161,-0.06338 25.954161,-0.06338"
id="path4204"
inkscape:connector-curvature="0" />
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -0,0 +1,146 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="26"
width="26"
version="1.0"
id="svg2"
inkscape:version="0.91 r13725"
sodipodi:docname="align_vertical.svg"
shape-rendering="crispEdges">
<metadata
id="metadata28">
<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></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="20"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1800"
inkscape:window-height="886"
id="namedview26"
showgrid="false"
inkscape:zoom="22.313202"
inkscape:cx="-0.47352816"
inkscape:cy="9.8834542"
inkscape:window-x="82"
inkscape:window-y="39"
inkscape:window-maximized="0"
inkscape:current-layer="svg2" />
<defs
id="defs4">
<radialGradient
id="d"
gradientUnits="userSpaceOnUse"
cy="19.031"
cx="11.25"
gradientTransform="matrix(2.4806,0,0,0.68219245,-3.7302,7.903406)"
r="8.0625">
<stop
offset="0"
id="stop7" />
<stop
stop-opacity="0"
offset="1"
id="stop9" />
</radialGradient>
<linearGradient
id="c"
y2="35.855999"
gradientUnits="userSpaceOnUse"
x2="39.161999"
gradientTransform="matrix(0,1.0046,1,0,-1.9921,-0.044059)"
y1="15.633"
x1="-0.97795999">
<stop
stop-color="#fff"
offset="0"
id="stop12" />
<stop
stop-color="#fff"
stop-opacity="0"
offset="1"
id="stop14" />
</linearGradient>
<linearGradient
id="c-1"
y2="35.855999"
gradientUnits="userSpaceOnUse"
x2="39.161999"
gradientTransform="matrix(0,1.0046,1,0,-1.9921,-0.044059)"
y1="15.633"
x1="-0.97795999">
<stop
stop-color="#fff"
offset="0"
id="stop12-6" />
<stop
stop-color="#fff"
stop-opacity="0"
offset="1"
id="stop14-6" />
</linearGradient>
</defs>
<g
transform="matrix(0.567239,0,0,-0.16255464,-0.622139,27.352941)"
id="g18">
<path
style="color:#000000;fill:#3465a4;stroke:#204a87"
d="M 7.5,23.584 24.006,42.5 40.429,23.584 l -7.87,0 0,-15.084 -17.055,0 0,15.084 -8.0041,0 z"
id="path20"
inkscape:connector-curvature="0" />
<path
style="color:#000000;opacity:0.35393001;fill:#729fcf"
d="m 16.008,8.9936 7.9523,0 -0.0241,32.769 -15.345,-17.615 7.4164,0 0,-15.154 z"
id="path22"
inkscape:connector-curvature="0" />
<path
style="color:#000000;opacity:0.35400002;fill:none;stroke:url(#c)"
d="m 9.6411,24.567 14.386,16.516 14.2,-16.516 -6.738,0 0,-15.067 -14.978,0 0,15.067 -6.869,0 z"
id="path24"
inkscape:connector-curvature="0" />
</g>
<g
transform="matrix(0.55837296,0,0,0.14999351,-0.252397,-1.1126236)"
id="g18-3">
<path
style="color:#000000;fill:#3465a4;stroke:#204a87"
d="M 7.5,23.584 24.006,42.5 40.429,23.584 l -7.87,0 0,-15.084 -17.055,0 0,15.084 -8.0041,0 z"
id="path20-7"
inkscape:connector-curvature="0" />
<path
style="color:#000000;opacity:0.35393001;fill:#729fcf"
d="m 16.008,8.9936 7.9523,0 -0.0241,32.769 -15.345,-17.615 7.4164,0 0,-15.154 z"
id="path22-7"
inkscape:connector-curvature="0" />
<path
style="color:#000000;opacity:0.35400002;fill:none;stroke:url(#c-1)"
d="m 9.6411,24.567 14.386,16.516 14.2,-16.516 -6.738,0 0,-15.067 -14.978,0 0,15.067 -6.869,0 z"
id="path24-6"
inkscape:connector-curvature="0" />
</g>
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 12.999392,0.08399541 C 13.062772,26.038156 13.062772,26.038156 13.062772,26.038156"
id="path4204"
inkscape:connector-curvature="0" />
</svg>

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -102,6 +102,7 @@ EXTERN_BITMAP( anchor_xpm )
EXTERN_BITMAP( annotate_down_right_xpm ) EXTERN_BITMAP( annotate_down_right_xpm )
EXTERN_BITMAP( annotate_right_down_xpm ) EXTERN_BITMAP( annotate_right_down_xpm )
EXTERN_BITMAP( annotate_xpm ) EXTERN_BITMAP( annotate_xpm )
EXTERN_BITMAP( align_items_xpm )
EXTERN_BITMAP( array_line_xpm ) EXTERN_BITMAP( array_line_xpm )
EXTERN_BITMAP( array_module_xpm ) EXTERN_BITMAP( array_module_xpm )
EXTERN_BITMAP( array_pad_xpm ) EXTERN_BITMAP( array_pad_xpm )
@ -174,6 +175,8 @@ EXTERN_BITMAP( dialog_warning_xpm )
EXTERN_BITMAP( directory_xpm ) EXTERN_BITMAP( directory_xpm )
EXTERN_BITMAP( dismiss_xpm ) EXTERN_BITMAP( dismiss_xpm )
EXTERN_BITMAP( display_options_xpm ) EXTERN_BITMAP( display_options_xpm )
EXTERN_BITMAP( distribute_horizontal_xpm )
EXTERN_BITMAP( distribute_vertical_xpm )
EXTERN_BITMAP( down_xpm ) EXTERN_BITMAP( down_xpm )
EXTERN_BITMAP( ortho_xpm ) EXTERN_BITMAP( ortho_xpm )
EXTERN_BITMAP( drag_module_xpm ) EXTERN_BITMAP( drag_module_xpm )

View File

@ -33,6 +33,7 @@
#include <board_commit.h> #include <board_commit.h>
#include <confirm.h> #include <confirm.h>
#include <menus_helpers.h>
PLACEMENT_TOOL::PLACEMENT_TOOL() : PLACEMENT_TOOL::PLACEMENT_TOOL() :
TOOL_INTERACTIVE( "pcbnew.Placement" ), m_selectionTool( NULL ), m_placementMenu( NULL ) TOOL_INTERACTIVE( "pcbnew.Placement" ), m_selectionTool( NULL ), m_placementMenu( NULL )
@ -58,13 +59,24 @@ bool PLACEMENT_TOOL::Init()
// Create a context menu and make it available through selection tool // Create a context menu and make it available through selection tool
m_placementMenu = new CONTEXT_MENU; m_placementMenu = new CONTEXT_MENU;
m_placementMenu->Add( COMMON_ACTIONS::alignTop ); m_placementMenu->SetIcon( align_items_xpm );
m_placementMenu->Add( COMMON_ACTIONS::alignBottom );
m_placementMenu->Add( COMMON_ACTIONS::alignLeft ); // Add all menuitem commands
m_placementMenu->Add( COMMON_ACTIONS::alignRight ); wxMenuItem* item;
item = m_placementMenu->Add( COMMON_ACTIONS::alignTop );
SET_BITMAP( KiBitmap( up_xpm ) );
item = m_placementMenu->Add( COMMON_ACTIONS::alignBottom );
SET_BITMAP( KiBitmap( down_xpm ) );
item = m_placementMenu->Add( COMMON_ACTIONS::alignLeft );
SET_BITMAP( KiBitmap( left_xpm ) );
item = m_placementMenu->Add( COMMON_ACTIONS::alignRight );
SET_BITMAP( KiBitmap( right_xpm ) );
m_placementMenu->AppendSeparator(); m_placementMenu->AppendSeparator();
m_placementMenu->Add( COMMON_ACTIONS::distributeHorizontally ); item = m_placementMenu->Add( COMMON_ACTIONS::distributeHorizontally );
m_placementMenu->Add( COMMON_ACTIONS::distributeVertically ); SET_BITMAP( KiBitmap( distribute_horizontal_xpm ) );
item = m_placementMenu->Add( COMMON_ACTIONS::distributeVertically );
SET_BITMAP( KiBitmap( distribute_vertical_xpm ) );
m_selectionTool->GetMenu().AddMenu( m_placementMenu, _( "Align/distribute" ), false, m_selectionTool->GetMenu().AddMenu( m_placementMenu, _( "Align/distribute" ), false,
SELECTION_CONDITIONS::MoreThan( 1 ) ); SELECTION_CONDITIONS::MoreThan( 1 ) );