Add SELECT and START to svg image

This commit is contained in:
Henrik Rydgård committed 2025-09-19 10:31:51 -06:00
1 parent 74874bb81e
commit 29f4435f55
2 files changed
+143 -6

No files matched your search

+1 -1
View File
@@ -198,7 +198,7 @@ Draw::Texture *GenerateUIAtlas(Draw::DrawContext *draw, Atlas *atlas) {
// Rasterize here, and add into image list.
rast = nsvgCreateRasterizer();
float scale = 2.0f;
float scale = 1.0f;
int svgWidth = image->width * scale;
int svgHeight = image->height * scale;
+142 -5
View File
@@ -248,6 +248,78 @@
operator="over"
result="composite2" />
</filter>
<filter
id="filter5180"
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow"
x="-0.026115784"
y="-0.13509236"
width="1.0522316"
height="1.2701847">
<feFlood
id="feFlood5182"
flood-opacity="0.2"
flood-color="rgb(0,0,0)"
result="flood" />
<feComposite
id="feComposite5184"
in2="SourceGraphic"
in="flood"
operator="in"
result="composite1" />
<feGaussianBlur
id="feGaussianBlur5186"
in="composite"
stdDeviation="0.5"
result="blur" />
<feOffset
id="feOffset5188"
dx="0"
dy="0"
result="offset" />
<feComposite
id="feComposite5190"
in2="offset"
in="SourceGraphic"
operator="over"
result="composite2" />
</filter>
<filter
id="filter5168"
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow"
x="-0.031096265"
y="-0.13509237"
width="1.0621925"
height="1.2701847">
<feFlood
id="feFlood5170"
flood-opacity="0.2"
flood-color="rgb(0,0,0)"
result="flood" />
<feComposite
id="feComposite5172"
in2="SourceGraphic"
in="flood"
operator="in"
result="composite1" />
<feGaussianBlur
id="feGaussianBlur5174"
in="composite"
stdDeviation="0.5"
result="blur" />
<feOffset
id="feOffset5176"
dx="0"
dy="0"
result="offset" />
<feComposite
id="feComposite5178"
in2="offset"
in="SourceGraphic"
operator="over"
result="composite2" />
</filter>
</defs>
<g
inkscape:label="Layer 1"
@@ -261,7 +333,7 @@
inkscape:export-filename="C:\dev\ppsspp\source_assets\image\cross.png"
inkscape:export-xdpi="135"
inkscape:export-ydpi="135"
transform="matrix(0.39648704,0,0,0.39648704,-31.47475,0.18964431)" />
transform="matrix(0.39648704,0,0,0.39648704,-26.635936,0.19936108)" />
<path
style="fill:#ffffff;fill-opacity:1;stroke:none;filter:url(#filter5228)"
d="m 132.17829,6.3071459 -5.63101,9.7516121 -5.63101,9.751609 h 11.26202 11.25922 l -5.63102,-9.751609 z m 0,4.3709281 3.70151,6.472008 3.7015,6.443254 h -7.40301 -7.40301 l 3.70151,-6.443254 z"
@@ -271,7 +343,7 @@
inkscape:export-xdpi="135"
inkscape:export-ydpi="135"
sodipodi:nodetypes="cccccccccccccc"
transform="matrix(0.39648704,0,0,0.39648704,-28.820026,1.250269)" />
transform="matrix(0.39648704,0,0,0.39648704,-16.698319,1.2599869)" />
<path
style="fill:#ffffff;fill-opacity:1;stroke:none;filter:url(#filter5192)"
d="m 98.629957,31.849006 c -5.92963,0 -10.73686,4.807225 -10.73686,10.736856 0,5.929635 4.80723,10.736852 10.73686,10.736852 5.929633,0 10.734713,-4.807217 10.734713,-10.736852 0,-5.929631 -4.80508,-10.736856 -10.734713,-10.736856 z m 0,2.41326 c 4.596833,0 8.321443,3.72677 8.321443,8.323596 0,4.596824 -3.72461,8.323598 -8.321443,8.323598 -4.59682,0 -8.3236,-3.726774 -8.3236,-8.323598 0,-4.596826 3.72678,-8.323596 8.3236,-8.323596 z"
@@ -280,7 +352,7 @@
inkscape:export-filename="C:\dev\ppsspp\source_assets\image\circle.png"
inkscape:export-xdpi="135"
inkscape:export-ydpi="135"
transform="matrix(0.39648704,0,0,0.39648704,-31.346931,6.1455387)" />
transform="matrix(0.39648704,0,0,0.39648704,19.714179,4.6735707)" />
<path
style="fill:#ffffff;fill-opacity:1;stroke:none;filter:url(#filter5216)"
d="m 112.83794,32.491906 v 19.545807 h 19.28584 V 32.491906 Z m 2.49666,2.529991 h 14.295 v 14.485834 h -14.295 z"
@@ -289,9 +361,9 @@
inkscape:export-filename="C:\dev\ppsspp\source_assets\image\square.png"
inkscape:export-xdpi="135"
inkscape:export-ydpi="135"
transform="matrix(0.39648704,0,0,0.39648704,-24.975676,6.2728297)" />
transform="matrix(0.39648704,0,0,0.39648704,-35.965116,18.732099)" />
<g
transform="matrix(0.38834816,0,0,0.38834816,-66.861088,-102.74791)"
transform="matrix(0.38834816,0,0,0.38834816,-47.683065,-102.74791)"
id="I_PAUSE"
inkscape:export-xdpi="133.41901"
inkscape:export-ydpi="133.41901">
@@ -312,5 +384,70 @@
id="rect1486"
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;filter:url(#filter5132-3)" />
</g>
<g
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;filter:url(#filter5180)"
id="I_SELECT"
inkscape:export-filename="C:\dev\ppsspp\source_assets\image\select.png"
inkscape:export-xdpi="135"
inkscape:export-ydpi="135"
transform="matrix(0.39591946,0,0,0.39591946,-31.807215,-4.1512335)">
<path
d="m 89.179947,66.471458 1.072266,-0.09375 c 0.05078,0.42969 0.168943,0.782229 0.354492,1.057618 0.185544,0.275392 0.47363,0.498048 0.864258,0.667968 0.390621,0.169923 0.830074,0.254884 1.318359,0.254883 0.433589,10e-7 0.816401,-0.06445 1.148437,-0.193359 0.332026,-0.128905 0.579096,-0.305663 0.741211,-0.530274 0.162104,-0.224607 0.243158,-0.469724 0.243164,-0.735351 -6e-6,-0.269529 -0.07813,-0.50488 -0.234375,-0.706055 -0.156255,-0.201169 -0.414068,-0.370114 -0.773437,-0.506836 -0.230474,-0.08984 -0.740239,-0.229488 -1.529297,-0.418945 -0.789065,-0.189449 -1.341799,-0.36816 -1.658203,-0.536133 -0.410158,-0.214839 -0.715822,-0.48144 -0.916992,-0.799805 -0.201173,-0.318353 -0.301759,-0.674798 -0.301758,-1.069336 -10e-7,-0.433587 0.123046,-0.83886 0.369141,-1.21582 0.246092,-0.376945 0.605466,-0.663078 1.078125,-0.858398 0.472653,-0.195304 0.998043,-0.29296 1.576171,-0.292969 0.636715,9e-6 1.198237,0.102548 1.684571,0.307617 0.486322,0.205086 0.860345,0.506844 1.12207,0.905274 0.261712,0.398444 0.402337,0.849616 0.421875,1.353515 l -1.089844,0.08203 c -0.0586,-0.542962 -0.256841,-0.953118 -0.594726,-1.230468 -0.337896,-0.277336 -0.836919,-0.416008 -1.497071,-0.416016 -0.687503,8e-6 -1.188479,0.125984 -1.502929,0.37793 -0.314456,0.25196 -0.471682,0.555671 -0.47168,0.911133 -2e-6,0.308599 0.111326,0.562505 0.333984,0.761718 0.218748,0.199225 0.790036,0.403326 1.713868,0.612305 0.923823,0.208989 1.557611,0.391606 1.901367,0.547852 0.499993,0.230473 0.869134,0.522464 1.107422,0.875976 0.238274,0.353519 0.357414,0.760745 0.357422,1.22168 -8e-6,0.457033 -0.130867,0.887697 -0.392579,1.291992 -0.261725,0.404298 -0.637701,0.71875 -1.127929,0.943359 -0.49024,0.22461 -1.041997,0.336914 -1.655274,0.336914 -0.777347,0 -1.428713,-0.113281 -1.954101,-0.339843 -0.525393,-0.226562 -0.937502,-0.567382 -1.236328,-1.022461 -0.298829,-0.455077 -0.456056,-0.969725 -0.47168,-1.543946 z"
style="font-size:12px;line-height:125%;fill:#ffffff;fill-opacity:1"
id="path3940" />
<path
d="M 97.605728,69.231224 V 60.64138 h 6.210942 v 1.013672 h -5.074223 v 2.63086 h 4.751953 v 1.007812 h -4.751953 v 2.923828 h 5.273433 v 1.013672 z"
style="font-size:12px;line-height:125%;fill:#ffffff;fill-opacity:1"
id="path3942" />
<path
d="M 105.55104,69.231224 V 60.64138 h 1.13672 v 7.576172 h 4.23047 v 1.013672 z"
style="font-size:12px;line-height:125%;fill:#ffffff;fill-opacity:1"
id="path3944" />
<path
d="M 112.30104,69.231224 V 60.64138 h 6.21094 v 1.013672 h -5.07422 v 2.63086 h 4.75195 v 1.007812 h -4.75195 v 2.923828 h 5.27344 v 1.013672 z"
style="font-size:12px;line-height:125%;fill:#ffffff;fill-opacity:1"
id="path3946" />
<path
d="m 126.42213,66.219505 1.13672,0.28711 c -0.23829,0.933595 -0.667,1.645509 -1.28613,2.135742 -0.61915,0.490234 -1.37598,0.735351 -2.27051,0.735351 -0.92578,0 -1.67871,-0.188476 -2.25879,-0.565429 -0.58008,-0.376953 -1.02148,-0.92285 -1.32422,-1.637696 -0.30273,-0.714841 -0.4541,-1.482418 -0.4541,-2.302734 0,-0.894526 0.1709,-1.674799 0.5127,-2.34082 0.34179,-0.666009 0.82812,-1.171867 1.45898,-1.517578 0.63086,-0.345695 1.32519,-0.518546 2.08301,-0.518555 0.85937,9e-6 1.58203,0.218758 2.16797,0.65625 0.58593,0.437508 0.99413,1.052741 1.22461,1.845703 l -1.11914,0.263672 c -0.19923,-0.624993 -0.48829,-1.080071 -0.86719,-1.365234 -0.37891,-0.285149 -0.85547,-0.427727 -1.42969,-0.427735 -0.66016,8e-6 -1.21191,0.158211 -1.65527,0.47461 -0.44336,0.316413 -0.75489,0.741217 -0.93457,1.274414 -0.17969,0.533208 -0.26953,1.083012 -0.26953,1.649414 0,0.730472 0.10644,1.368167 0.31933,1.913086 0.21289,0.544923 0.54395,0.95215 0.99317,1.221679 0.44921,0.269533 0.93554,0.404298 1.45898,0.404297 0.63672,10e-7 1.17578,-0.183593 1.61719,-0.550781 0.4414,-0.367186 0.74023,-0.912107 0.89648,-1.634766 z"
style="font-size:12px;line-height:125%;fill:#ffffff;fill-opacity:1"
id="path3948" />
<path
d="m 131.15065,69.231224 v -7.576172 h -2.83008 V 60.64138 h 6.8086 v 1.013672 h -2.8418 v 7.576172 z"
style="font-size:12px;line-height:125%;fill:#ffffff;fill-opacity:1"
id="path3950" />
</g>
<g
id="I_START"
style="filter:url(#filter5168)"
inkscape:export-filename="C:\dev\ppsspp\source_assets\image\start.png"
inkscape:export-xdpi="135"
inkscape:export-ydpi="135"
transform="matrix(0.39591946,0,0,0.39591946,-7.2764386,-9.6345511)">
<path
d="m 89.273987,80.321037 1.072265,-0.09375 c 0.05078,0.42969 0.168944,0.782229 0.354493,1.057617 0.185544,0.275393 0.47363,0.498049 0.864257,0.667969 0.390622,0.169923 0.830075,0.254884 1.31836,0.254883 0.433589,10e-7 0.816401,-0.06445 1.148437,-0.193359 0.332026,-0.128905 0.579096,-0.305663 0.741211,-0.530274 0.162103,-0.224607 0.243158,-0.469724 0.243164,-0.735351 -6e-6,-0.269529 -0.07813,-0.50488 -0.234375,-0.706055 -0.156256,-0.201169 -0.414068,-0.370114 -0.773437,-0.506836 -0.230474,-0.08984 -0.740239,-0.229488 -1.529297,-0.418945 -0.789066,-0.189449 -1.341799,-0.36816 -1.658203,-0.536133 -0.410158,-0.214839 -0.715822,-0.48144 -0.916992,-0.799805 -0.201173,-0.318354 -0.301759,-0.674798 -0.301758,-1.069336 -1e-6,-0.433587 0.123046,-0.83886 0.36914,-1.21582 0.246093,-0.376945 0.605467,-0.663078 1.078125,-0.858398 0.472654,-0.195304 0.998044,-0.29296 1.576172,-0.292969 0.636715,9e-6 1.198237,0.102547 1.684571,0.307617 0.486322,0.205086 0.860345,0.506844 1.12207,0.905273 0.261712,0.398445 0.402337,0.849616 0.421875,1.353516 l -1.089844,0.08203 c -0.0586,-0.542962 -0.256842,-0.953118 -0.594726,-1.230468 -0.337896,-0.277337 -0.836919,-0.416008 -1.497071,-0.416016 -0.687503,8e-6 -1.188479,0.125984 -1.502929,0.37793 -0.314456,0.25196 -0.471682,0.55567 -0.47168,0.911132 -2e-6,0.3086 0.111326,0.562506 0.333984,0.761719 0.218748,0.199224 0.790036,0.403326 1.713868,0.612305 0.923823,0.208989 1.557611,0.391606 1.901367,0.547851 0.499993,0.230473 0.869134,0.522465 1.107422,0.875977 0.238274,0.353519 0.357414,0.760745 0.357421,1.22168 -7e-6,0.457033 -0.130866,0.887697 -0.392578,1.291992 -0.261725,0.404297 -0.637701,0.71875 -1.127929,0.943359 -0.49024,0.22461 -1.041997,0.336914 -1.655274,0.336914 -0.777347,0 -1.428714,-0.113281 -1.954101,-0.339843 -0.525393,-0.226563 -0.937502,-0.567383 -1.236328,-1.022461 -0.298829,-0.455077 -0.456056,-0.969725 -0.47168,-1.543946 z"
style="font-style:normal;font-weight:normal;font-size:12px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none"
id="path3929"
inkscape:connector-curvature="0" />
<path
d="m 99.861877,83.080803 v -7.576172 h -2.830078 v -1.013672 h 6.808591 v 1.013672 h -2.84179 v 7.576172 z"
style="font-style:normal;font-weight:normal;font-size:12px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none"
id="path3931"
inkscape:connector-curvature="0" />
<path
d="m 103.71177,83.080803 3.29883,-8.589844 h 1.22461 l 3.51562,8.589844 h -1.29492 l -1.00195,-2.601563 h -3.5918 l -0.94336,2.601563 z m 2.47851,-3.527344 h 2.91211 l -0.89648,-2.378906 c -0.27344,-0.72265 -0.47657,-1.316399 -0.60938,-1.78125 -0.10937,0.550788 -0.26367,1.097663 -0.46289,1.640625 z"
style="font-style:normal;font-weight:normal;font-size:12px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none"
id="path3933"
inkscape:connector-curvature="0" />
<path
d="m 113.04547,83.080803 v -8.589844 h 3.80859 c 0.76562,9e-6 1.34766,0.07716 1.7461,0.231445 0.39843,0.154306 0.71679,0.426766 0.95508,0.817383 0.23827,0.390632 0.35741,0.822273 0.35742,1.294922 -1e-5,0.609381 -0.19727,1.123052 -0.5918,1.541016 -0.39454,0.417973 -1.00391,0.683598 -1.82812,0.796875 0.30077,0.144535 0.52929,0.287113 0.68554,0.427734 0.33203,0.304691 0.64648,0.68555 0.94336,1.142578 l 1.49414,2.337891 h -1.42968 l -1.13672,-1.787109 c -0.33204,-0.515623 -0.60548,-0.910154 -0.82032,-1.183594 -0.21484,-0.273434 -0.40723,-0.464841 -0.57714,-0.574219 -0.16993,-0.109371 -0.34278,-0.185543 -0.51856,-0.228516 -0.12891,-0.02734 -0.33985,-0.04101 -0.63281,-0.04102 h -1.31836 v 3.814453 z m 1.13672,-4.798828 h 2.44336 c 0.51953,5e-6 0.92578,-0.05371 1.21875,-0.161133 0.29296,-0.107417 0.51562,-0.279292 0.66797,-0.515625 0.15234,-0.236322 0.22851,-0.493158 0.22851,-0.770508 0,-0.406243 -0.14746,-0.740227 -0.44238,-1.001953 -0.29493,-0.261711 -0.76075,-0.39257 -1.39746,-0.392578 h -2.71875 z"
style="font-style:normal;font-weight:normal;font-size:12px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none"
id="path3935"
inkscape:connector-curvature="0" />
<path
d="m 123.88531,83.080803 v -7.576172 h -2.83007 v -1.013672 h 6.80859 v 1.013672 h -2.8418 v 7.576172 z"
style="font-style:normal;font-weight:normal;font-size:12px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none"
id="path3937"
inkscape:connector-curvature="0" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 21 KiB