Library Editor: more coherent icons for part import/export

This commit is contained in:
Maciej Suminski 2017-11-14 15:06:27 +01:00
parent 8dabcc0125
commit 6400e31d5b
8 changed files with 501 additions and 4 deletions

View File

@ -228,6 +228,7 @@ set( BMAPS_MID
export_idf
export_footprint_names
export_module
export_part
export
fabrication
file_footprint
@ -276,6 +277,7 @@ set( BMAPS_MID
import_footprint_names
import_hierarchical_label
import_module
import_part
import_setup
import
info

View File

@ -0,0 +1,69 @@
/* 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, 0x03, 0x3c, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xb5, 0x96, 0x7b, 0x48, 0x53,
0x51, 0x1c, 0xc7, 0xef, 0x9c, 0xc6, 0x8a, 0xfe, 0xc9, 0xfe, 0x8a, 0xe8, 0xaf, 0xca, 0x3f, 0x12,
0x04, 0xff, 0xc8, 0xf7, 0x4c, 0xc2, 0x08, 0x09, 0x7a, 0x91, 0x98, 0xd1, 0x0b, 0x05, 0xd3, 0x68,
0x62, 0x2f, 0xc2, 0x12, 0x73, 0xbe, 0x89, 0xfc, 0x23, 0x84, 0x95, 0xa1, 0xfd, 0x13, 0x81, 0xb8,
0xa9, 0x69, 0x39, 0x9d, 0xb3, 0xcd, 0x6d, 0xce, 0xbd, 0xe7, 0x1e, 0xee, 0xe5, 0x36, 0xcd, 0xc8,
0x9a, 0x56, 0xa8, 0x85, 0x6b, 0x13, 0xb7, 0x5f, 0xe7, 0x5c, 0x9d, 0x98, 0x48, 0x6e, 0xe6, 0x2e,
0x7c, 0xb9, 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56, 0x5d, 0x02, 0xf9, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e,
0x44, 0xae, 0x42, 0x60, 0x82,
};
const BITMAP_OPAQUE export_part_xpm[1] = {{ png, sizeof( png ), "export_part_xpm" }};
//EOF

View File

@ -0,0 +1,64 @@
/* 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, 0xf2, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xb5, 0x96, 0x5f, 0x48, 0x53,
0x51, 0x1c, 0xc7, 0xcf, 0xdc, 0xbd, 0x77, 0x7f, 0x9c, 0xff, 0x8a, 0x1e, 0x2c, 0x82, 0x08, 0x14,
0xf4, 0x41, 0x91, 0xa8, 0x17, 0x6b, 0xa9, 0x29, 0x66, 0xa5, 0xa6, 0x96, 0xa9, 0xe8, 0x34, 0x2b,
0x53, 0x68, 0x69, 0x2f, 0x51, 0x38, 0xa6, 0x9b, 0xae, 0x10, 0x19, 0x3d, 0x58, 0xcb, 0x85, 0x5b,
0x45, 0x64, 0x7f, 0x96, 0xfd, 0x5f, 0xe9, 0x2c, 0xc8, 0x42, 0xc2, 0x50, 0x49, 0x7b, 0x49, 0x44,
0xea, 0x21, 0x43, 0x56, 0x84, 0x26, 0xae, 0x4d, 0xda, 0x7e, 0x9d, 0x73, 0xd9, 0x2d, 0x35, 0x67,
0xd3, 0x76, 0x0f, 0x7c, 0xb9, 0xf7, 0x9c, 0x7b, 0xcf, 0xef, 0x73, 0x7e, 0x7f, 0xce, 0xe1, 0x20,
0xb4, 0xa0, 0x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2d, 0x49,
0x4d, 0xf5, 0xa7, 0x35, 0xd1, 0xc3, 0x44, 0x19, 0x5a, 0x7a, 0x6c, 0xef, 0x09, 0x0a, 0x4a, 0xf4,
0x1b, 0x20, 0xbb, 0x59, 0xf2, 0x07, 0x66, 0x64, 0x20, 0xad, 0x89, 0xf9, 0x20, 0x57, 0xd1, 0xd5,
0x01, 0xbf, 0x9c, 0x64, 0x56, 0xd3, 0x6e, 0x02, 0xc9, 0x34, 0x30, 0x9e, 0xe4, 0x06, 0xfa, 0xb5,
0xfc, 0x24, 0x13, 0xc3, 0xcb, 0x75, 0x2b, 0x55, 0x43, 0xbf, 0xdf, 0x79, 0x8e, 0xfe, 0xb6, 0x5d,
0x45, 0x9b, 0x37, 0x55, 0x20, 0x9a, 0x8f, 0x9b, 0x10, 0x7b, 0x81, 0xdc, 0x76, 0x9a, 0x1e, 0x48,
0x52, 0x09, 0xf7, 0x04, 0xca, 0xee, 0x2f, 0xa6, 0x8a, 0xf5, 0x99, 0x69, 0x7e, 0xb8, 0x6a, 0x00,
0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
};
const BITMAP_OPAQUE import_part_xpm[1] = {{ png, sizeof( png ), "import_part_xpm" }};
//EOF

View File

@ -0,0 +1,184 @@
<?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:xlink="http://www.w3.org/1999/xlink"
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="svg2"
inkscape:version="0.92.2 5c3e80d, 2017-08-06"
sodipodi:docname="export_part.svg">
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1916"
inkscape:window-height="1176"
id="namedview43"
showgrid="true"
inkscape:zoom="21.730769"
inkscape:cx="12.884956"
inkscape:cy="13"
inkscape:window-x="1920"
inkscape:window-y="20"
inkscape:window-maximized="1"
inkscape:current-layer="svg2">
<inkscape:grid
type="xygrid"
id="grid3000"
empspacing="2"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
</sodipodi:namedview>
<metadata
id="metadata4">
<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>
<defs
id="defs6">
<filter
id="filter3941">
<feGaussianBlur
stdDeviation="0.05617153"
id="feGaussianBlur9" />
</filter>
<filter
id="filter3945">
<feGaussianBlur
stdDeviation="0.05617153"
id="feGaussianBlur12" />
</filter>
<radialGradient
id="radialGradient3010"
gradientUnits="userSpaceOnUse"
cy="20.494"
cx="35.293"
gradientTransform="matrix(0,-0.37207013,-0.43717023,0,26.320772,18.586092)"
r="16.956">
<stop
stop-color="#539bed"
offset="0"
id="stop15" />
<stop
stop-color="#0969d3"
offset="1"
id="stop17" />
</radialGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4207"
id="linearGradient4213"
x1="8.5"
y1="16"
x2="25.5"
y2="16"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
id="linearGradient4207">
<stop
id="stop4211"
offset="0"
style="stop-color:#cd87de;stop-opacity:1" />
<stop
id="stop4209"
offset="1"
style="stop-color:#ab37c8;stop-opacity:1" />
</linearGradient>
</defs>
<path
d="m 4.5,1.5 0,23 17,-11.5 z"
stroke-miterlimit="4"
id="path19"
style="fill:#fafafa;stroke:#800000;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
d="m 7.5,9.5 4,0"
stroke-miterlimit="4"
id="path21"
style="fill:#f0f0f0;stroke:#800000;stroke-width:1.20000005;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
d="m 7.5,15.5 4,0"
stroke-miterlimit="4"
id="path23"
style="fill:#f0f0f0;stroke:#800000;stroke-width:1.20000005;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
stroke-linejoin="miter"
d="M21.5,13,25,13"
stroke="#4d4d4d"
stroke-linecap="round"
stroke-dasharray="none"
stroke-miterlimit="4"
stroke-width="1.50000000000000000"
fill="#f0f0f0"
id="path25"
style="stroke:#800000" />
<path
d="M 4.5,9 1,9"
stroke-miterlimit="4"
id="path27"
style="fill:#f0f0f0;stroke:#800000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
d="M 4.5,17 1,17"
stroke-miterlimit="4"
id="path29"
style="fill:#f0f0f0;stroke:#800000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
d="m 9.5,13.5 0,4"
stroke-miterlimit="4"
id="path31"
style="fill:#f0f0f0;stroke:#800000;stroke-width:1.20000005;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<g
transform="translate(-0.22142,2.9613778)"
id="g4228"
style="stroke:#892ca0">
<g
id="g4271"
transform="matrix(0.99972422,0,0,1.0138482,0.49280792,-0.3165955)">
<path
stroke-miterlimit="4"
d="M 15.5,8.927706 V 12.5 l -6.646132,0.01746 v 6.649969 l 6.646246,-0.01746 v 3.54755 l 9.850669,-6.660207 -9.850669,-7.109421 z"
style="color:#000000;fill:url(#linearGradient4213);fill-opacity:1;stroke:#ab37c8;stroke-width:0.67293131;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="path104"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccccc" />
<path
d="m 16.272923,13.127409 -6.649096,0.01746 v 5.410651 l 6.649096,-0.01746 v 2.818171 l 7.84198,-5.35228 -7.84198,-5.712706 z"
style="color:#000000;fill:none;stroke:#ffffff;stroke-width:0.67307878px;stroke-opacity:0.29411765"
id="path106"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@ -0,0 +1,176 @@
<?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:xlink="http://www.w3.org/1999/xlink"
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="svg2"
inkscape:version="0.92.2 5c3e80d, 2017-08-06"
sodipodi:docname="import_part.svg">
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1916"
inkscape:window-height="1176"
id="namedview43"
showgrid="true"
inkscape:zoom="21.730769"
inkscape:cx="12.884956"
inkscape:cy="13"
inkscape:window-x="1920"
inkscape:window-y="20"
inkscape:window-maximized="1"
inkscape:current-layer="g3882">
<inkscape:grid
type="xygrid"
id="grid3000"
empspacing="2"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
</sodipodi:namedview>
<metadata
id="metadata4">
<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>
<defs
id="defs6">
<filter
id="filter3941">
<feGaussianBlur
stdDeviation="0.05617153"
id="feGaussianBlur9" />
</filter>
<filter
id="filter3945">
<feGaussianBlur
stdDeviation="0.05617153"
id="feGaussianBlur12" />
</filter>
<radialGradient
id="radialGradient3010"
gradientUnits="userSpaceOnUse"
cy="20.494"
cx="35.293"
gradientTransform="matrix(0,-0.37207013,-0.43717023,0,26.320772,18.586092)"
r="16.956">
<stop
stop-color="#539bed"
offset="0"
id="stop15" />
<stop
stop-color="#0969d3"
offset="1"
id="stop17" />
</radialGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#e"
id="radialGradient3886"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0,0.40730059,-0.50386077,0,29.544437,6.2435788)"
cx="35.292999"
cy="20.493999"
r="16.955999" />
<radialGradient
id="e"
gradientUnits="userSpaceOnUse"
cy="20.493999"
cx="35.292999"
gradientTransform="matrix(0,-0.84302,1.0202,0,-4.8963249,41.059418)"
r="16.955999">
<stop
stop-color="#73d216"
offset="0"
id="stop12-7" />
<stop
stop-color="#4e9a06"
offset="1"
id="stop14-2" />
</radialGradient>
</defs>
<path
d="m 4.5,1.5 0,23 17,-11.5 z"
stroke-miterlimit="4"
id="path19"
style="fill:#fafafa;stroke:#800000;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
d="m 7.5,9.5 4,0"
stroke-miterlimit="4"
id="path21"
style="fill:#f0f0f0;stroke:#800000;stroke-width:1.20000005;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
d="m 7.5,15.5 4,0"
stroke-miterlimit="4"
id="path23"
style="fill:#f0f0f0;stroke:#800000;stroke-width:1.20000005;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
stroke-linejoin="miter"
d="M21.5,13,25,13"
stroke="#4d4d4d"
stroke-linecap="round"
stroke-dasharray="none"
stroke-miterlimit="4"
stroke-width="1.50000000000000000"
fill="#f0f0f0"
id="path25"
style="stroke:#800000" />
<path
d="M 4.5,9 1,9"
stroke-miterlimit="4"
id="path27"
style="fill:#f0f0f0;stroke:#800000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
d="M 4.5,17 1,17"
stroke-miterlimit="4"
id="path29"
style="fill:#f0f0f0;stroke:#800000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
d="m 9.5,13.5 0,4"
stroke-miterlimit="4"
id="path31"
style="fill:#f0f0f0;stroke:#800000;stroke-width:1.20000005;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<g
id="g3882"
transform="matrix(0,-0.78872395,0.9644876,0,-7.4293335,31.16795)">
<path
id="path25-6"
stroke-miterlimit="10"
d="m 19.626377,7.977654 -8.892386,0.0019 v 6.277014 l -3.9488121,0.0037 8.4671621,9.661444 8.319975,-9.661927 -3.948606,-0.002 0.0024,-6.280396 z"
style="color:#000000;fill:url(#radialGradient3886);fill-rule:evenodd;stroke:#3a7304;stroke-width:0.48848495;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -207,13 +207,13 @@ void LIB_EDIT_FRAME::ReCreateMenuBar()
ID_LIBEDIT_IMPORT_PART,
_( "&Import" ),
_( "Import a part to the current library" ),
KiBitmap( export_xpm ) );
KiBitmap( import_part_xpm ) );
AddMenuItem( partMenu,
ID_LIBEDIT_EXPORT_PART,
_( "&Export" ),
_( "Export the current part" ),
KiBitmap( import_xpm ) );
KiBitmap( export_part_xpm ) );
partMenu->AppendSeparator();

View File

@ -123,10 +123,10 @@ void LIB_EDIT_FRAME::ReCreateHToolbar()
KiBitmap( save_part_xpm ),
_( "Save current part" ) );
m_mainToolBar->AddTool( ID_LIBEDIT_IMPORT_PART, wxEmptyString, KiBitmap( import_xpm ),
m_mainToolBar->AddTool( ID_LIBEDIT_IMPORT_PART, wxEmptyString, KiBitmap( import_part_xpm ),
_( "Import part" ) );
m_mainToolBar->AddTool( ID_LIBEDIT_EXPORT_PART, wxEmptyString, KiBitmap( export_xpm ),
m_mainToolBar->AddTool( ID_LIBEDIT_EXPORT_PART, wxEmptyString, KiBitmap( export_part_xpm ),
_( "Export part" ) );
m_mainToolBar->AddSeparator();

View File

@ -159,6 +159,7 @@ EXTERN_BITMAP( export_dsn_xpm )
EXTERN_BITMAP( export_idf_xpm )
EXTERN_BITMAP( export_footprint_names_xpm )
EXTERN_BITMAP( export_module_xpm )
EXTERN_BITMAP( export_part_xpm )
EXTERN_BITMAP( export_xpm )
EXTERN_BITMAP( fabrication_xpm )
EXTERN_BITMAP( file_footprint_xpm )
@ -217,6 +218,7 @@ EXTERN_BITMAP( import_cmp_from_lib_xpm )
EXTERN_BITMAP( import_footprint_names_xpm )
EXTERN_BITMAP( import_hierarchical_label_xpm )
EXTERN_BITMAP( import_module_xpm )
EXTERN_BITMAP( import_part_xpm )
EXTERN_BITMAP( import_setup_xpm )
EXTERN_BITMAP( import_xpm )
EXTERN_BITMAP( import3d_xpm )