Add 24x24 size refresh icon

Previously 16x16 was being used alongside 24x24
This commit is contained in:
Michael Kavanagh 2020-12-12 18:49:47 +00:00 committed by Seth Hillbrand
parent 2049e2ab23
commit dce4d04113
6 changed files with 155 additions and 10 deletions

View File

@ -382,6 +382,7 @@ set( BMAPS_MID
read_setup
recent
redo
refresh24
reload2
reload
render_mode

View File

@ -0,0 +1,43 @@
/* 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, 0x9f, 0x49, 0x44, 0x41, 0x54, 0x38, 0xcb, 0x63, 0x60, 0xa0, 0x0c, 0x84,
0x0a, 0x85, 0xa4, 0x87, 0x6c, 0x0c, 0xb9, 0x17, 0xf2, 0x35, 0xe4, 0x77, 0xf0, 0xfd, 0xd0, 0xad,
0xc1, 0x79, 0x91, 0x22, 0x18, 0x8a, 0x42, 0xb6, 0x87, 0x5c, 0x77, 0x60, 0x61, 0x60, 0x48, 0xe0,
0x08, 0x69, 0x0e, 0xf9, 0x14, 0xf2, 0x1f, 0x0d, 0x7e, 0x0b, 0xee, 0xf5, 0xe3, 0x45, 0xd5, 0x70,
0x23, 0xe4, 0x7f, 0xa8, 0x41, 0xa8, 0x4a, 0xf0, 0x35, 0xb0, 0x82, 0x9d, 0xa1, 0x09, 0xc1, 0xaa,
0x69, 0xac, 0xa1, 0x6c, 0xe1, 0xca, 0x21, 0xd1, 0xa1, 0x9b, 0x42, 0xfe, 0x86, 0xfc, 0x07, 0xda,
0xa5, 0x8b, 0xa4, 0x21, 0x78, 0x05, 0x50, 0x59, 0x65, 0xc8, 0x0b, 0x20, 0x79, 0x25, 0xc8, 0x02,
0xdd, 0xfe, 0x60, 0xbd, 0xd0, 0x53, 0x40, 0x99, 0x8f, 0xc1, 0x86, 0x08, 0x1b, 0x2a, 0x81, 0x02,
0xef, 0x81, 0x78, 0x7b, 0x2c, 0x37, 0x36, 0x7f, 0x79, 0xb2, 0x87, 0xac, 0x02, 0xca, 0x3e, 0x0b,
0x15, 0x85, 0x69, 0xf0, 0x04, 0x39, 0x25, 0xf8, 0x59, 0xf0, 0xdc, 0x90, 0x8d, 0x40, 0x6f, 0xaa,
0x62, 0x09, 0x0a, 0xb6, 0x90, 0xfd, 0x40, 0x35, 0xcb, 0xa0, 0xdc, 0x20, 0x19, 0x64, 0x4f, 0x06,
0x87, 0x61, 0xb3, 0x25, 0x48, 0x3e, 0xe4, 0x4b, 0xc8, 0x3f, 0xb8, 0x4f, 0x42, 0x96, 0x85, 0x6c,
0x0b, 0xa9, 0x0f, 0xcd, 0x0c, 0x0e, 0x08, 0x36, 0xc1, 0x15, 0xe0, 0xc1, 0x13, 0x80, 0x86, 0x35,
0x92, 0x10, 0x43, 0x01, 0x02, 0xa1, 0x75, 0xa1, 0x72, 0x0c, 0x83, 0x14, 0x84, 0xda, 0x07, 0x07,
0x93, 0xa4, 0x21, 0xe4, 0x36, 0x30, 0xc0, 0x54, 0x48, 0xd1, 0x30, 0x0f, 0x18, 0xfe, 0xcd, 0xd8,
0xe5, 0x1c, 0x58, 0x42, 0x4a, 0x42, 0xa6, 0x87, 0x6c, 0x08, 0x39, 0x1a, 0xf2, 0x2a, 0xf4, 0x69,
0x80, 0x00, 0x44, 0x83, 0x15, 0x28, 0xad, 0x04, 0x8a, 0x61, 0x8d, 0x30, 0x3b, 0x94, 0x48, 0xf5,
0x85, 0xf9, 0x62, 0x13, 0x28, 0x25, 0x35, 0x30, 0x61, 0xf1, 0x1f, 0x73, 0x48, 0x7a, 0x70, 0x76,
0x70, 0x4c, 0xc8, 0x43, 0x90, 0x86, 0xd0, 0x6a, 0x98, 0xb0, 0x74, 0xc8, 0x2b, 0xa0, 0xfe, 0x45,
0xa0, 0x5c, 0x81, 0x09, 0xa2, 0x04, 0x43, 0x0e, 0x03, 0x95, 0x3f, 0x00, 0xe2, 0xd5, 0x08, 0x93,
0x6c, 0x40, 0x59, 0x27, 0xf4, 0x78, 0xb0, 0x36, 0x86, 0x1d, 0x4e, 0xc1, 0x77, 0x80, 0x4a, 0x1f,
0x06, 0xbb, 0x03, 0xc9, 0xdb, 0xc8, 0x12, 0x66, 0x60, 0x33, 0xfe, 0x86, 0xac, 0x0b, 0x89, 0x08,
0x57, 0xf6, 0xe5, 0x4a, 0xe0, 0x08, 0xd5, 0x02, 0x66, 0xd7, 0xc3, 0x60, 0xd7, 0x9f, 0x09, 0x95,
0x4e, 0x63, 0x0d, 0xf9, 0x1e, 0xf2, 0x37, 0x81, 0x03, 0xd5, 0xea, 0x49, 0x21, 0x3f, 0x30, 0xb2,
0xe8, 0xdb, 0xd0, 0x8a, 0x34, 0x56, 0xb0, 0x91, 0xa5, 0x21, 0xfd, 0x98, 0xa1, 0x22, 0x19, 0x9a,
0x0f, 0xcc, 0x13, 0x8f, 0x80, 0x0e, 0xfc, 0x19, 0x7c, 0x33, 0x64, 0x55, 0x70, 0x3c, 0xf6, 0x4c,
0x45, 0x02, 0x00, 0x00, 0xe8, 0xfa, 0xcd, 0x25, 0xb0, 0xb2, 0x8b, 0x0b, 0x00, 0x00, 0x00, 0x00,
0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
};
const BITMAP_OPAQUE refresh24_xpm[1] = {{ png, sizeof( png ), "refresh24_xpm" }};
//EOF

View File

@ -382,18 +382,19 @@ EXTERN_BITMAP( py_script_xpm )
EXTERN_BITMAP( question_mark_xpm )
EXTERN_BITMAP( ratsnest_xpm )
EXTERN_BITMAP( read_setup_xpm )
EXTERN_BITMAP( reannotate_right_down_xpm );
EXTERN_BITMAP( reannotate_left_down_xpm );
EXTERN_BITMAP( reannotate_right_up_xpm );
EXTERN_BITMAP( reannotate_left_up_xpm );
EXTERN_BITMAP( reannotate_down_left_xpm );
EXTERN_BITMAP( reannotate_up_left_xpm );
EXTERN_BITMAP( reannotate_down_right_xpm );
EXTERN_BITMAP( reannotate_up_right_xpm );
EXTERN_BITMAP( reannotate_right_down_xpm )
EXTERN_BITMAP( reannotate_left_down_xpm )
EXTERN_BITMAP( reannotate_right_up_xpm )
EXTERN_BITMAP( reannotate_left_up_xpm )
EXTERN_BITMAP( reannotate_down_left_xpm )
EXTERN_BITMAP( reannotate_up_left_xpm )
EXTERN_BITMAP( reannotate_down_right_xpm )
EXTERN_BITMAP( reannotate_up_right_xpm )
EXTERN_BITMAP( recent_xpm )
EXTERN_BITMAP( redo_xpm )
EXTERN_BITMAP( red_xpm )
EXTERN_BITMAP( refresh_xpm )
EXTERN_BITMAP( refresh24_xpm )
EXTERN_BITMAP( render_mode_xpm )
EXTERN_BITMAP( reload2_xpm )
EXTERN_BITMAP( reload_xpm )

100
bitmaps_png/sources/refresh24.svg Executable file
View File

@ -0,0 +1,100 @@
<?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="refresh.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="3.3259971"
inkscape:cy="13"
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="defs26815">
<style
id="style26813">.cls-1{fill:none;stroke:#545454;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style>
</defs>
<title
id="title26817">refresh</title>
<path
class="cls-1"
d="M 2.95,7.57 A 10.2024,10.2024 0 0 1 21.5675,8.5535"
id="path26819" />
<path
class="cls-1"
d="M 21.0361,16.35 A 10.1937,10.1937 0 0 1 2.0809,14.5042"
id="path26821" />
<polyline
class="cls-1"
points="17.701 17.481 22.198 17.078 23.071 21.738"
id="polyline26823"
transform="translate(-1,-1)" />
<polyline
class="cls-1"
points="8.441 8.231 3.945 8.634 3.071 3.974"
id="polyline26825"
transform="translate(-1,-1)" />
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -267,7 +267,7 @@ TOOL_ACTION ACTIONS::zoomRedraw( "common.Control.zoomRedraw",
#endif
LEGACY_HK_NAME( "Zoom Redraw" ),
_( "Refresh" ), _( "Refresh" ),
refresh_xpm );
refresh24_xpm );
TOOL_ACTION ACTIONS::zoomFitScreen( "common.Control.zoomFitScreen",
AS_GLOBAL,

View File

@ -68,7 +68,7 @@ bool CONVERT_TOOL::Init()
// Create a context menu and make it available through selection tool
m_menu = new CONDITIONAL_MENU( this );
m_menu->SetIcon( refresh_xpm );
m_menu->SetIcon( refresh24_xpm );
m_menu->SetTitle( _( "Convert..." ) );
static KICAD_T convertableTracks[] = { PCB_TRACE_T, PCB_ARC_T, EOT };