Shrink cursor so that it doesn't stand out

This commit is contained in:
Seth Hillbrand 2020-12-07 15:54:30 -08:00
parent 92666f954f
commit 2f52528342
2 changed files with 87 additions and 44 deletions

View File

@ -8,22 +8,18 @@
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, 0x00, 0xde, 0x49, 0x44, 0x41, 0x54, 0x38, 0xcb, 0x63, 0x60, 0xa0, 0x0c, 0x84,
0x4c, 0x64, 0x60, 0x24, 0x5d, 0xd3, 0xff, 0xe0, 0x45, 0x0e, 0x2c, 0x24, 0x6b, 0x0a, 0xf9, 0x1f,
0xba, 0x29, 0x94, 0x93, 0x64, 0x4d, 0x40, 0x6d, 0x07, 0x43, 0xf9, 0x49, 0xd6, 0x04, 0xd4, 0x76,
0x39, 0x42, 0x8a, 0x64, 0x4d, 0x40, 0x78, 0x2f, 0x54, 0x85, 0x74, 0x4d, 0xff, 0x43, 0x9e, 0x87,
0x1a, 0x90, 0xae, 0xe9, 0x7f, 0xc8, 0xfb, 0x50, 0x1b, 0xd2, 0x35, 0xfd, 0x0f, 0xf9, 0x11, 0x1a,
0x48, 0xba, 0xa6, 0xff, 0x21, 0x7f, 0x82, 0x93, 0x48, 0xd7, 0xf4, 0x3f, 0xe4, 0x5f, 0x48, 0x09,
0xe9, 0x9a, 0x40, 0xb0, 0x03, 0x4f, 0xf2, 0xc2, 0xa9, 0xe9, 0x7f, 0xf0, 0x7c, 0x9c, 0xc9, 0x0b,
0xb7, 0x26, 0x20, 0xdc, 0x90, 0xc0, 0x41, 0xac, 0xa6, 0xbf, 0x21, 0x6f, 0x42, 0x6e, 0x85, 0x9c,
0x0c, 0xd9, 0x1e, 0xb2, 0x2c, 0x24, 0x94, 0x58, 0x4d, 0x65, 0xe4, 0x04, 0xf9, 0x93, 0x34, 0x56,
0xe2, 0x34, 0xfd, 0x08, 0x8d, 0x0d, 0xf9, 0x08, 0x0f, 0x82, 0x30, 0x62, 0x34, 0x7d, 0x0d, 0x75,
0x05, 0xe5, 0x61, 0xb8, 0x5d, 0x47, 0x09, 0x6b, 0xfa, 0x12, 0xea, 0x04, 0x62, 0x85, 0xaa, 0x00,
0x83, 0x00, 0x96, 0x51, 0xcc, 0xf0, 0x6b, 0x7a, 0x1f, 0x64, 0x01, 0x63, 0x87, 0x6e, 0x42, 0xc4,
0x11, 0x5e, 0x4d, 0x41, 0x46, 0x48, 0x06, 0x38, 0xc3, 0x1d, 0x78, 0x89, 0x94, 0x7c, 0x7c, 0x1a,
0xaa, 0x69, 0x2e, 0x09, 0x9a, 0x80, 0xfe, 0x3a, 0x14, 0xf2, 0x31, 0x74, 0x7d, 0xa0, 0x30, 0x03,
0x75, 0x00, 0x00, 0x61, 0x54, 0xfe, 0x55, 0xc9, 0xb8, 0x75, 0xda, 0x00, 0x00, 0x00, 0x00, 0x49,
0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
0x45, 0x00, 0x00, 0x00, 0x99, 0x49, 0x44, 0x41, 0x54, 0x38, 0xcb, 0x63, 0x60, 0x18, 0x05, 0xd8,
0x41, 0xc8, 0x44, 0x06, 0x46, 0xd2, 0x35, 0xfd, 0x0f, 0x5e, 0xe4, 0xc0, 0x42, 0xb2, 0xa6, 0x90,
0xff, 0xa1, 0x9b, 0x42, 0x39, 0x49, 0xd6, 0x04, 0xd4, 0x76, 0x30, 0x94, 0x9f, 0x64, 0x4d, 0x40,
0x6d, 0x97, 0x23, 0xa4, 0x48, 0xd6, 0x04, 0x84, 0xf7, 0x42, 0x55, 0x48, 0xd7, 0xf4, 0x3f, 0xe4,
0x79, 0xa8, 0x01, 0xe9, 0x9a, 0xfe, 0x87, 0xbc, 0x0f, 0xb5, 0x21, 0x5d, 0xd3, 0xff, 0x90, 0x1f,
0xa1, 0x81, 0xa4, 0x68, 0xfa, 0x1e, 0x92, 0x1b, 0x12, 0x1d, 0xe2, 0x19, 0x6a, 0x4c, 0x9c, 0xa6,
0x6f, 0x21, 0xbf, 0xc0, 0xb4, 0x27, 0xf1, 0x01, 0xf1, 0x35, 0xd8, 0x25, 0x78, 0x29, 0x38, 0xd8,
0x77, 0x10, 0xab, 0xe9, 0x73, 0x90, 0x23, 0x03, 0x43, 0xa8, 0x31, 0x34, 0xb6, 0x74, 0x89, 0xd2,
0x14, 0x64, 0x0a, 0xd5, 0x7c, 0x0c, 0xac, 0x29, 0x9f, 0xa4, 0xe4, 0x14, 0xea, 0x04, 0xf4, 0xd9,
0xbb, 0x40, 0x1d, 0x12, 0x93, 0x6e, 0x34, 0x1f, 0x89, 0xc9, 0x76, 0xe4, 0x01, 0x00, 0xba, 0xdf,
0x68, 0xa3, 0xaa, 0xd5, 0x43, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42,
0x60, 0x82,
};
const BITMAP_OPAQUE cursor_xpm[1] = {{ png, sizeof( png ), "cursor_xpm" }};

View File

@ -1,35 +1,82 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:dc="http://purl.org/dc/elements/1.1/"
<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 26 26" version="1.1" sodipodi:docname="cursor.svg" inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">
<metadata id="metadata1696">
<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>cursor</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>
<sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1595" inkscape:window-height="1096" id="namedview1694" showgrid="true" inkscape:zoom="22.627417" inkscape:cx="11.63481" inkscape:cy="12.159625" inkscape:window-x="0" inkscape:window-y="37" inkscape:window-maximized="0" inkscape:current-layer="Слой_1">
<inkscape:grid type="xygrid" id="grid2259" />
</sodipodi:namedview>
<defs id="defs1687">
<style id="style1685">.cls-1{fill:#545454;}</style>
</defs>
<title id="title1689">cursor</title>
<path class="cls-1" d="m 5,1 6.634e-4,21.617727 4.7767735,-4.613483 c 0.6443481,1.46995 1.5891901,3.64083 2.4156881,5.535942 a 2.4282285,2.4282285 0 0 0 3.219717,1.247513 v 0 A 2.4631224,2.4631224 0 0 0 16.669801,21.5563 c -0.826276,-1.89542 -1.772317,-4.069722 -2.418122,-5.544178 l 6.601022,-0.451931 z" id="path1691" style="stroke-width:1" />
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="Слой_1"
data-name="Слой 1"
viewBox="0 0 26 26"
version="1.1"
sodipodi:docname="cursor.svg"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">
<metadata
id="metadata1696">
<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>cursor</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>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1595"
inkscape:window-height="1096"
id="namedview1694"
showgrid="true"
inkscape:zoom="22.627417"
inkscape:cx="11.63481"
inkscape:cy="12.159625"
inkscape:window-x="0"
inkscape:window-y="37"
inkscape:window-maximized="0"
inkscape:current-layer="Слой_1"
inkscape:document-rotation="0">
<inkscape:grid
type="xygrid"
id="grid2259" />
</sodipodi:namedview>
<defs
id="defs1687">
<style
id="style1685">.cls-1{fill:#545454;}</style>
</defs>
<title
id="title1689">cursor</title>
<path
class="cls-1"
d="m 8,5 4.18e-4,13.636621 3.013224,-2.910219 c 0.40646,0.927255 1.002473,2.296662 1.523834,3.492113 a 1.5317443,1.5317443 0 0 0 2.031021,0.78694 v 0 a 1.5537557,1.5537557 0 0 0 0.792899,-2.03839 C 14.840175,16.77142 14.243405,15.399854 13.836027,14.469757 L 18,14.184675 Z"
id="path1691"
style="stroke-width:1" />
</svg>

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB