Add svg icons for play pause etc
This commit is contained in:
@@ -104,6 +104,28 @@ static const char *g_icon_svgs[UI_ICON_COUNT] = {
|
||||
<rect style="fill:url(#linearGradient7734)" transform="scale(1,-1)" rx="1.021" ry="0.264" height="0.932" width="59.883" y="-578.82" x="847.89"/>
|
||||
<rect style="fill:url(#linearGradient7736)" transform="scale(1,-1)" rx="1.012" ry="0.166" height="0.588" width="59.347" y="-569.52" x="847.89"/>
|
||||
</svg>)SVG",
|
||||
|
||||
// UI_ICON_TRANSPORT_REWIND - skip to start (|<<)
|
||||
R"(<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<rect x="3" y="5" width="2.5" height="14" rx="0.5" fill="white"/>
|
||||
<path d="M11 5 L11 19 L4 12 Z" fill="white"/>
|
||||
<path d="M20 5 L20 19 L13 12 Z" fill="white"/>
|
||||
</svg>)",
|
||||
|
||||
// UI_ICON_TRANSPORT_STOP - filled square
|
||||
R"(<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<rect x="5" y="5" width="14" height="14" rx="1.5" fill="white"/>
|
||||
</svg>)",
|
||||
|
||||
// UI_ICON_TRANSPORT_PLAY - right-pointing triangle
|
||||
R"(<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<path d="M6 4 L6 20 L20 12 Z" fill="white"/>
|
||||
</svg>)",
|
||||
|
||||
// UI_ICON_TRANSPORT_RECORD - filled circle
|
||||
R"(<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<circle cx="12" cy="12" r="8" fill="white"/>
|
||||
</svg>)",
|
||||
};
|
||||
|
||||
U8 *ui_icons_rasterize_atlas(S32 *out_w, S32 *out_h, S32 icon_size) {
|
||||
|
||||
Reference in New Issue
Block a user