Use standard refresh icon in toolbar

Fixes https://gitlab.com/kicad/code/kicad/issues/5852
This commit is contained in:
Seth Hillbrand 2020-10-02 12:01:27 -07:00
parent 36bc44e6d7
commit 394b3b3a36
5 changed files with 1 additions and 180 deletions

View File

@ -471,7 +471,6 @@ set( BMAPS_MID
zoom_center_on_screen
zoom_in
zoom_out
zoom_redraw
zoom_selection
)

View File

@ -1,48 +0,0 @@
/* 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, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x04, 0x00, 0x00, 0x00, 0x03, 0x43, 0x84,
0x45, 0x00, 0x00, 0x01, 0xe8, 0x49, 0x44, 0x41, 0x54, 0x38, 0xcb, 0x63, 0x60, 0x18, 0x8a, 0xe0,
0x3f, 0xe7, 0x7f, 0xc5, 0xff, 0x52, 0x44, 0x2b, 0xbf, 0x2d, 0xba, 0x78, 0x7d, 0xe7, 0xab, 0x8a,
0xdf, 0x69, 0xff, 0xb2, 0xfe, 0x35, 0xfd, 0xe8, 0xbb, 0xbf, 0xbe, 0xf9, 0x3f, 0x1b, 0x01, 0x2d,
0x2b, 0xdb, 0x6a, 0x7f, 0x98, 0xfd, 0x37, 0xfd, 0x1f, 0xfc, 0x3f, 0xfb, 0x5f, 0xe6, 0x3f, 0x8f,
0xff, 0xc6, 0xff, 0x5d, 0xfe, 0x4f, 0x78, 0xbd, 0xc5, 0x05, 0x8f, 0x96, 0xe5, 0xab, 0x43, 0xff,
0x99, 0xff, 0x6f, 0xf8, 0xb6, 0x64, 0xcb, 0x39, 0xcf, 0xff, 0xe2, 0xff, 0xa5, 0x0f, 0x65, 0xcc,
0x3e, 0x9d, 0xf9, 0xc7, 0xf8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 0xcf, 0x48, 0xce, 0xe7, 0xc0, 0x9b, 0xa7, 0x0e, 0x86, 0xcd, 0x3e, 0xd4,
0xfe, 0xb4, 0xe1, 0x63, 0xeb, 0xbb, 0xf9, 0xdb, 0x19, 0x46, 0x0c, 0x00, 0x00, 0xe6, 0x3a, 0xf8,
0x4d, 0xda, 0x0f, 0x60, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60,
0x82,
};
const BITMAP_OPAQUE zoom_redraw_xpm[1] = {{ png, sizeof( png ), "zoom_redraw_xpm" }};
//EOF

View File

@ -501,7 +501,6 @@ EXTERN_BITMAP( zone_unfill_xpm )
EXTERN_BITMAP( zoom_area_xpm )
EXTERN_BITMAP( zoom_auto_fit_in_page_xpm )
EXTERN_BITMAP( zoom_center_on_screen_xpm )
EXTERN_BITMAP( zoom_redraw_xpm )
EXTERN_BITMAP( zoom_fit_in_page_xpm )
EXTERN_BITMAP( zoom_fit_to_objects_xpm )
EXTERN_BITMAP( zoom_in_xpm )

View File

@ -1,129 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<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"
width="27.733334"
height="27.733334"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.92.1 r15371"
version="1.0"
sodipodi:docname="zoom_redraw.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 13.866667 : 1"
inkscape:vp_y="0 : 1066.6667 : 0"
inkscape:vp_z="27.733333 : 13.866667 : 1"
inkscape:persp3d-origin="13.866667 : 9.2444445 : 1"
id="perspective13" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#9a9a9a"
borderopacity="1"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="21.730769"
inkscape:cx="-3.6353984"
inkscape:cy="13.046018"
inkscape:document-units="px"
inkscape:current-layer="g6799"
showgrid="true"
inkscape:showpageshadow="false"
showguides="true"
inkscape:guide-bbox="true"
inkscape:window-width="1920"
inkscape:window-height="1051"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:snap-to-guides="false"
inkscape:snap-grids="true">
<sodipodi:guide
orientation="0,1"
position="28.030022,136.53333"
id="guide2385"
inkscape:locked="false" />
<sodipodi:guide
orientation="1,0"
position="136.53333,57.687594"
id="guide2387"
inkscape:locked="false" />
<sodipodi:guide
orientation="0,1"
position="83.36671,0"
id="guide2389"
inkscape:locked="false" />
<inkscape:grid
type="xygrid"
id="grid3672"
visible="true"
enabled="true"
empspacing="2"
snapvisiblegridlinesonly="true"
originx="0"
originy="0"
spacingx="1.0666667"
spacingy="1.0666667" />
</sodipodi:namedview>
<metadata
id="metadata7">
<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>
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="Cross"
style="display:inline"
transform="translate(0,4.2666667)">
<path
sodipodi:type="arc"
style="fill:none;stroke:#333333;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path2989"
sodipodi:cx="13.8671"
sodipodi:cy="9.6000004"
sodipodi:rx="8.5333338"
sodipodi:ry="8.5333338"
d="M 14.899393,18.070665 A 8.5333338,8.5333338 0 0 1 6.1414719,13.223874 8.5333338,8.5333338 0 0 1 8.0135153,3.3908672 8.5333338,8.5333338 0 0 1 17.939713,2.1012266 8.5333338,8.5333338 0 0 1 22.262258,11.129414"
sodipodi:start="1.4495274"
sodipodi:end="0.18020189"
sodipodi:open="true" />
<path
style="fill:#333333;stroke:none;stroke-width:1.06666672"
d="M 21.866667,17.066667 18.453333,8.5333336 H 25.92 Z"
id="path3768"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
</g>
<g
transform="translate(0,4.2666667)"
style="display:inline"
inkscape:label="Display"
id="g6799"
inkscape:groupmode="layer">
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#333333;fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:0.4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 14.107422 4.3378906 C 13.61583 4.325751 13.125186 4.3528063 12.638672 4.4160156 C 10.692615 4.668853 8.8252467 5.5202474 7.328125 6.9316406 C 4.3338816 9.7544269 3.4887799 14.190469 5.2363281 17.916016 C 6.9838763 21.641561 10.934705 23.827883 15.019531 23.330078 A 1.0001 1.0001 0 1 0 14.779297 21.345703 C 11.544494 21.739918 8.4307708 20.016692 7.046875 17.066406 C 5.6629792 14.11612 6.3280561 10.622103 8.6992188 8.3867188 C 11.070381 6.1513343 14.599236 5.6927851 17.462891 7.2480469 C 19.599021 8.4081877 20.994269 10.488339 21.324219 12.800781 L 18.453125 12.800781 L 21.867188 21.333984 L 25.919922 12.800781 L 23.333984 12.800781 C 22.989917 9.7632943 21.199095 7.0017357 18.416016 5.4902344 C 17.059959 4.7537551 15.582197 4.3743096 14.107422 4.3378906 z "
transform="translate(0,-4.2666667)"
id="path6795" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 5.9 KiB

View File

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