Icons: add new icon for Pcbnew 'Special Tools...'
This commit is contained in:
parent
6d3c1c7716
commit
5a3f4f52df
|
@ -456,6 +456,7 @@ set( BMAPS_MID
|
||||||
show_all_copper_layers
|
show_all_copper_layers
|
||||||
show_all_front_layers
|
show_all_front_layers
|
||||||
show_all_back_layers
|
show_all_back_layers
|
||||||
|
special_tools
|
||||||
spreadsheet
|
spreadsheet
|
||||||
swap_layer
|
swap_layer
|
||||||
switch_corner_rounding_shape
|
switch_corner_rounding_shape
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
|
||||||
|
/* Do not modify this file, it was automatically generated by the
|
||||||
|
* PNG2cpp CMake script, using a *.png file as input.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <bitmaps_png/bitmaps_list.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, 0x18, 0x00, 0x00, 0x00, 0x18, 0x08, 0x04, 0x00, 0x00, 0x00, 0x4a, 0x7e, 0xf5,
|
||||||
|
0x73, 0x00, 0x00, 0x00, 0xf1, 0x49, 0x44, 0x41, 0x54, 0x38, 0xcb, 0x63, 0x60, 0xc0, 0x0a, 0x02,
|
||||||
|
0x04, 0x30, 0xc5, 0x42, 0x1c, 0x18, 0x70, 0x83, 0x90, 0x06, 0x2c, 0x62, 0xfb, 0x71, 0x2a, 0x4f,
|
||||||
|
0xe0, 0x08, 0x79, 0x1f, 0xca, 0x89, 0x24, 0xc0, 0x18, 0xe4, 0x18, 0x72, 0x20, 0xe4, 0x7f, 0xc8,
|
||||||
|
0x81, 0x20, 0x47, 0xac, 0xca, 0x43, 0x93, 0x43, 0xfe, 0x87, 0x26, 0x27, 0x70, 0x40, 0xf8, 0x41,
|
||||||
|
0xa6, 0x91, 0xe7, 0x23, 0xa4, 0x70, 0xd8, 0x10, 0x20, 0x10, 0xd2, 0x10, 0xf2, 0x1e, 0x68, 0x16,
|
||||||
|
0x08, 0xbe, 0x0f, 0x69, 0x08, 0x10, 0x08, 0x32, 0x0d, 0x7f, 0x3b, 0xe9, 0x57, 0xe2, 0xeb, 0x08,
|
||||||
|
0x29, 0x9c, 0x7e, 0x40, 0xb6, 0x01, 0xa4, 0xfc, 0xd4, 0xd7, 0x7f, 0xff, 0x2b, 0xff, 0x25, 0x6d,
|
||||||
|
0xc4, 0xe3, 0x65, 0x98, 0x1f, 0x82, 0x0d, 0x23, 0xde, 0x9c, 0x04, 0x2a, 0x9f, 0xfd, 0x2f, 0xf5,
|
||||||
|
0xb6, 0x1f, 0x2f, 0x03, 0x03, 0x81, 0x50, 0x0a, 0x36, 0x0c, 0x7f, 0x4b, 0xa4, 0x72, 0x90, 0x5f,
|
||||||
|
0x82, 0x0d, 0x43, 0x3e, 0x24, 0xfd, 0x7e, 0x09, 0x54, 0x9e, 0x76, 0xcb, 0x8f, 0x17, 0x5b, 0xbc,
|
||||||
|
0xa0, 0x00, 0x90, 0xf2, 0xe0, 0x7f, 0x21, 0xff, 0x13, 0xfe, 0x82, 0x94, 0x03, 0x6d, 0xac, 0x27,
|
||||||
|
0x4a, 0x79, 0xc8, 0xcf, 0xd0, 0xcb, 0x20, 0xd3, 0x81, 0x21, 0xf7, 0x01, 0x14, 0x62, 0x84, 0x94,
|
||||||
|
0xff, 0x0a, 0xb9, 0x04, 0x73, 0x3b, 0x1e, 0x1b, 0xb0, 0x29, 0xc7, 0x9e, 0xb6, 0xf0, 0x28, 0x27,
|
||||||
|
0xd1, 0xf4, 0xa1, 0xa1, 0x3c, 0x94, 0x2d, 0xe4, 0x19, 0x34, 0xdc, 0x2f, 0x84, 0xf2, 0x30, 0x10,
|
||||||
|
0x03, 0x82, 0x2c, 0x42, 0xbf, 0x84, 0xfc, 0x09, 0xbe, 0x48, 0xa4, 0x72, 0x88, 0x96, 0x90, 0x3d,
|
||||||
|
0x24, 0x28, 0x1f, 0x4c, 0x00, 0x00, 0x8c, 0x8b, 0x9c, 0x6c, 0x37, 0x99, 0x82, 0x36, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
|
||||||
|
};
|
||||||
|
|
||||||
|
const BITMAP_OPAQUE special_tools_xpm[1] = {{ png, sizeof( png ), "special_tools_xpm" }};
|
||||||
|
|
||||||
|
//EOF
|
|
@ -492,6 +492,7 @@ EXTERN_BITMAP( small_edit_xpm )
|
||||||
EXTERN_BITMAP( small_library_xpm )
|
EXTERN_BITMAP( small_library_xpm )
|
||||||
EXTERN_BITMAP( small_plus_xpm )
|
EXTERN_BITMAP( small_plus_xpm )
|
||||||
EXTERN_BITMAP( small_up_xpm )
|
EXTERN_BITMAP( small_up_xpm )
|
||||||
|
EXTERN_BITMAP( special_tools_xpm )
|
||||||
EXTERN_BITMAP( spreadsheet_xpm )
|
EXTERN_BITMAP( spreadsheet_xpm )
|
||||||
EXTERN_BITMAP( stroke_dash_xpm )
|
EXTERN_BITMAP( stroke_dash_xpm )
|
||||||
EXTERN_BITMAP( stroke_dashdot_xpm )
|
EXTERN_BITMAP( stroke_dashdot_xpm )
|
||||||
|
|
|
@ -0,0 +1,111 @@
|
||||||
|
<?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"
|
||||||
|
version="1.1"
|
||||||
|
id="Слой_1"
|
||||||
|
inkscape:version="1.0.1 (c497b03c, 2020-09-10)"
|
||||||
|
sodipodi:docname="special_tools.svg"
|
||||||
|
x="0px"
|
||||||
|
y="0px"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
style="enable-background:new 0 0 24 24;"
|
||||||
|
xml:space="preserve"><metadata
|
||||||
|
id="metadata855"><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>folder</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:permits
|
||||||
|
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /><cc:requires
|
||||||
|
rdf:resource="http://creativecommons.org/ns#ShareAlike" /></cc:License></rdf:RDF></metadata><defs
|
||||||
|
id="defs853" />
|
||||||
|
<style
|
||||||
|
type="text/css"
|
||||||
|
id="style833">
|
||||||
|
.st0{fill:#FFFFFF;}
|
||||||
|
.st1{fill:none;stroke:#545454;stroke-miterlimit:10;}
|
||||||
|
.st2{fill:#545454;}
|
||||||
|
</style>
|
||||||
|
<sodipodi:namedview
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
gridtolerance="10000"
|
||||||
|
guidetolerance="10"
|
||||||
|
id="namedview9483"
|
||||||
|
inkscape:current-layer="Слой_1"
|
||||||
|
inkscape:cx="16.442424"
|
||||||
|
inkscape:cy="12.81332"
|
||||||
|
inkscape:document-rotation="0"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:snap-global="true"
|
||||||
|
inkscape:window-height="1035"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="23"
|
||||||
|
inkscape:zoom="24.63422"
|
||||||
|
objecttolerance="10"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
showgrid="true">
|
||||||
|
<inkscape:grid
|
||||||
|
color="#ceceff"
|
||||||
|
empspacing="2"
|
||||||
|
id="grid10046"
|
||||||
|
opacity="0.1254902"
|
||||||
|
spacingx="0.5"
|
||||||
|
spacingy="0.5"
|
||||||
|
type="xygrid">
|
||||||
|
</inkscape:grid>
|
||||||
|
</sodipodi:namedview>
|
||||||
|
<title
|
||||||
|
id="title9474">folder</title>
|
||||||
|
<g
|
||||||
|
id="g844">
|
||||||
|
<rect
|
||||||
|
x="13.8"
|
||||||
|
y="5.7"
|
||||||
|
transform="matrix(0.7071 -0.7071 0.7071 0.7071 0.1063 14.1604)"
|
||||||
|
class="st0"
|
||||||
|
width="6.7"
|
||||||
|
height="2.5"
|
||||||
|
id="rect838" />
|
||||||
|
<rect
|
||||||
|
x="1.4"
|
||||||
|
y="10.7"
|
||||||
|
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -4.9976 11.9346)"
|
||||||
|
class="st1"
|
||||||
|
width="21"
|
||||||
|
height="2.5"
|
||||||
|
id="rect840" />
|
||||||
|
<rect
|
||||||
|
x="2.2"
|
||||||
|
y="12.8"
|
||||||
|
transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.0518 11.0837)"
|
||||||
|
class="st2"
|
||||||
|
width="15.2"
|
||||||
|
height="2.5"
|
||||||
|
id="rect842" />
|
||||||
|
</g>
|
||||||
|
<polygon
|
||||||
|
class="st2"
|
||||||
|
points="21.5,0 21,2 19,2.5 21,3 21.5,5 22,3 24,2.5 22,2 "
|
||||||
|
id="polygon846" />
|
||||||
|
<polygon
|
||||||
|
class="st2"
|
||||||
|
points="11.5,0.5 10.7,3.7 7.5,4.5 10.7,5.3 11.5,8.5 12.3,5.3 15.5,4.5 12.3,3.7 "
|
||||||
|
id="polygon848" />
|
||||||
|
<polygon
|
||||||
|
class="st2"
|
||||||
|
points="19.5,8.5 19.1,10.1 17.5,10.5 19.1,10.9 19.5,12.5 19.9,10.9 21.5,10.5 19.9,10.1 "
|
||||||
|
id="polygon850" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.4 KiB |
|
@ -86,7 +86,7 @@ void EDIT_TOOL::Reset( RESET_REASON aReason )
|
||||||
SPECIAL_TOOLS_CONTEXT_MENU::SPECIAL_TOOLS_CONTEXT_MENU( TOOL_INTERACTIVE* aTool ) :
|
SPECIAL_TOOLS_CONTEXT_MENU::SPECIAL_TOOLS_CONTEXT_MENU( TOOL_INTERACTIVE* aTool ) :
|
||||||
CONDITIONAL_MENU( aTool )
|
CONDITIONAL_MENU( aTool )
|
||||||
{
|
{
|
||||||
SetIcon( options_board_xpm );
|
SetIcon( special_tools_xpm );
|
||||||
SetTitle( _( "Special Tools..." ) );
|
SetTitle( _( "Special Tools..." ) );
|
||||||
|
|
||||||
AddItem( PCB_ACTIONS::moveExact, SELECTION_CONDITIONS::ShowAlways );
|
AddItem( PCB_ACTIONS::moveExact, SELECTION_CONDITIONS::ShowAlways );
|
||||||
|
|
Loading…
Reference in New Issue