Use trash icon where appropriate

This commit is contained in:
Michael Kavanagh 2020-12-11 20:58:24 +00:00 committed by Seth Hillbrand
parent 40d4dd9a95
commit cf6f0b9b92
9 changed files with 174 additions and 5 deletions

View File

@ -449,6 +449,7 @@ set( BMAPS_MID
three_d
tool_ratsnest
tools
trash24
undo
unit_inch
unit_mil

View File

@ -0,0 +1,45 @@
/* 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, 0x01, 0xc1, 0x49, 0x44, 0x41, 0x54, 0x38, 0xcb, 0x95, 0x54, 0x3b, 0x4c, 0x42,
0x31, 0x14, 0xad, 0x2e, 0x38, 0x18, 0x07, 0x27, 0x83, 0xc1, 0xc9, 0xc1, 0xb8, 0x09, 0xac, 0xee,
0x02, 0x4e, 0xbc, 0xdb, 0x84, 0xe8, 0x20, 0xa0, 0x71, 0x36, 0x0e, 0x02, 0xc6, 0x81, 0xc1, 0x55,
0x70, 0x72, 0x30, 0x9a, 0xb8, 0x08, 0x46, 0xdd, 0x18, 0x74, 0x10, 0x1d, 0x34, 0x31, 0x24, 0x4e,
0xfe, 0x70, 0x60, 0x22, 0x1a, 0x4d, 0x48, 0x88, 0x46, 0x57, 0x7c, 0x9e, 0xf6, 0xb5, 0xe5, 0x39,
0x01, 0xed, 0xd0, 0x73, 0xee, 0xbd, 0x87, 0x7b, 0x6e, 0xfb, 0x02, 0xa3, 0x0a, 0xd9, 0x3d, 0xec,
0x0a, 0xa3, 0x46, 0x4f, 0x82, 0x06, 0xa3, 0x32, 0xd9, 0x3c, 0xc2, 0xd4, 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E trash24_xpm[1] = {{ png, sizeof( png ), "trash24_xpm" }};
//EOF

View File

@ -471,6 +471,7 @@ EXTERN_BITMAP( track_locked_xpm )
EXTERN_BITMAP( track_sketch_xpm )
EXTERN_BITMAP( track_unlocked_xpm )
EXTERN_BITMAP( trash_xpm )
EXTERN_BITMAP( trash24_xpm )
EXTERN_BITMAP( tree_nosel_xpm )
EXTERN_BITMAP( tree_sel_xpm )
EXTERN_BITMAP( triangle_right_xpm )

122
bitmaps_png/sources/trash24.svg Executable file
View File

@ -0,0 +1,122 @@
<?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"
id="Слой_1"
data-name="Слой 1"
viewBox="0 0 24 24"
version="1.1"
sodipodi:docname="trash.svg"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1609"
inkscape:window-height="1286"
id="namedview30"
showgrid="true"
inkscape:zoom="27.961538"
inkscape:cx="9.966641"
inkscape:cy="10.903933"
inkscape:window-x="0"
inkscape:window-y="37"
inkscape:window-maximized="0"
inkscape:document-rotation="0"
inkscape:current-layer="Слой_1">
<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_arc</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="defs27397">
<style
id="style27395">.cls-1{fill:none;stroke:#545454;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style>
</defs>
<title
id="title27399">trash</title>
<polygon
class="cls-1"
points="20,24.026 24,1.974 2,1.974 6,24.026 "
id="polygon27401"
transform="translate(-1,-1)" />
<line
class="cls-1"
x1="2.125"
y1="5.9668999"
x2="21.807301"
y2="5.9668999"
id="line27403" />
<line
class="cls-1"
x1="3.4445"
y1="11.6533"
x2="20.604099"
y2="11.6533"
id="line27405" />
<line
class="cls-1"
x1="4.487"
y1="17.339701"
x2="19.607599"
y2="17.339701"
id="line27407" />
<line
class="cls-1"
x1="7.9896002"
y1="1.2402"
x2="8.9896002"
y2="22.6766"
id="line27409" />
<line
class="cls-1"
x1="16.059"
y1="1.1932001"
x2="15.059"
y2="22.629601"
id="line27411" />
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -185,7 +185,7 @@ TOOL_ACTION ACTIONS::doDelete( "common.Interactive.delete",
AS_GLOBAL,
WXK_DELETE, LEGACY_HK_NAME( "Delete Item" ),
_( "Delete" ), _( "Deletes selected item(s)" ),
delete_xpm );
trash24_xpm );
TOOL_ACTION ACTIONS::deleteTool( "common.Interactive.deleteTool",
AS_GLOBAL, 0, "",

View File

@ -1585,7 +1585,7 @@ SIM_PLOT_FRAME::SIGNAL_CONTEXT_MENU::SIGNAL_CONTEXT_MENU( const wxString& aSigna
AddMenuItem( this, HIDE_SIGNAL, _( "Hide Signal" ),
_( "Erase the signal from plot screen" ),
KiBitmap( delete_xpm ) );
KiBitmap( trash24_xpm ) );
TRACE* trace = plot->GetTrace( m_signal );

View File

@ -130,7 +130,7 @@ TOOL_ACTION EE_ACTIONS::duplicateSymbol( "eeschema.SymbolLibraryControl.duplicat
TOOL_ACTION EE_ACTIONS::deleteSymbol( "eeschema.SymbolLibraryControl.deleteSymbol",
AS_GLOBAL, 0, "",
_( "Delete" ), _( "Remove the selected symbol from its library" ),
delete_xpm );
trash24_xpm );
TOOL_ACTION EE_ACTIONS::cutSymbol( "eeschema.SymbolLibraryControl.cutSymbol",
AS_GLOBAL, 0, "",

View File

@ -718,7 +718,7 @@ void PROJECT_TREE_PANE::OnRight( wxTreeEvent& Event )
}
AddMenuItem( &popup_menu, ID_PROJECT_DELETE, _( "Delete" ), help_text,
KiBitmap( delete_xpm ) );
KiBitmap( trash24_xpm ) );
}
if( can_print )

View File

@ -351,7 +351,7 @@ TOOL_ACTION PCB_ACTIONS::editFootprint( "pcbnew.ModuleEditor.editFootprint",
TOOL_ACTION PCB_ACTIONS::deleteFootprint( "pcbnew.ModuleEditor.deleteFootprint",
AS_GLOBAL, 0, "",
_( "Delete Footprint from Library" ), "",
delete_xpm );
trash24_xpm );
TOOL_ACTION PCB_ACTIONS::cutFootprint( "pcbnew.ModuleEditor.cutFootprint",
AS_GLOBAL, 0, "",