aboutsummaryrefslogtreecommitdiff
path: root/util/coreboot-configurator/src/application/ToggleSwitch.svg.h
blob: 4aeb12b1224bd08958912dd349b19df806a5ec02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/* SPDX-License-Identifier: GPL-2.0-only */

#pragma once

/* Embed SVG files into code as debian packages does weird things when svgs are included as qrc */
namespace ToggleSwitchSVG {
static constexpr char s_toggledOnContent[] =
    "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n"
    "<svg\n"
    "   xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\n"
    "   xmlns:cc=\"http://creativecommons.org/ns#\"\n"
    "   xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n"
    "   xmlns:svg=\"http://www.w3.org/2000/svg\"\n"
    "   xmlns=\"http://www.w3.org/2000/svg\"\n"
    "   xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\"\n"
    "   xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\"\n"
    "   inkscape:version=\"1.0rc1 (1.0rc1+100)\"\n"
    "   sodipodi:docname=\"toggle-on.svg\"\n"
    "   id=\"svg6\"\n"
    "   version=\"1.1\"\n"
    "   viewBox=\"0 0 40 20\"\n"
    "   height=\"20\"\n"
    "   width=\"40\">\n"
    "  <metadata\n"
    "     id=\"metadata12\">\n"
    "    <rdf:RDF>\n"
    "      <cc:Work\n"
    "         rdf:about=\"\">\n"
    "        <dc:format>image/svg+xml</dc:format>\n"
    "        <dc:type\n"
    "           rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />\n"
    "      </cc:Work>\n"
    "    </rdf:RDF>\n"
    "  </metadata>\n"
    "  <defs\n"
    "     id=\"defs10\" />\n"
    "  <sodipodi:namedview\n"
    "     inkscape:current-layer=\"svg6\"\n"
    "     inkscape:window-maximized=\"1\"\n"
    "     inkscape:window-y=\"28\"\n"
    "     inkscape:window-x=\"65\"\n"
    "     inkscape:cy=\"10\"\n"
    "     inkscape:cx=\"20.062112\"\n"
    "     inkscape:zoom=\"32.2\"\n"
    "     showgrid=\"false\"\n"
    "     id=\"namedview8\"\n"
    "     inkscape:window-height=\"1020\"\n"
    "     inkscape:window-width=\"1855\"\n"
    "     inkscape:pageshadow=\"2\"\n"
    "     inkscape:pageopacity=\"0\"\n"
    "     guidetolerance=\"10\"\n"
    "     gridtolerance=\"10\"\n"
    "     objecttolerance=\"10\"\n"
    "     borderopacity=\"1\"\n"
    "     bordercolor=\"#666666\"\n"
    "     pagecolor=\"#ffffff\" />\n"
    "  <rect\n"
    "     style=\"fill:#0068bf;fill-opacity:1\"\n"
    "     id=\"rect2\"\n"
    "     fill=\"#1a73e8\"\n"
    "     ry=\"8\"\n"
    "     height=\"16\"\n"
    "     width=\"36\"\n"
    "     y=\"2\"\n"
    "     x=\"2\" />\n"
    "  <circle\n"
    "     id=\"circle4\"\n"
    "     fill=\"#ffffff\"\n"
    "     r=\"6\"\n"
    "     cy=\"10\"\n"
    "     cx=\"30\" />\n"
    "</svg>\n";
static constexpr char s_toggledOffContent[] =
    "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"40\" height=\"20\" viewBox=\"0 0 40 20\">\n"
    "  <rect x=\"2\" y=\"2\" width=\"36\" height=\"16\" ry=\"8\" fill=\"#000000\" fill-opacity=\".26\"/>\n"
    "  <circle cx=\"10\" cy=\"10\" r=\"6\" fill=\"#ffffff\"/>\n"
    "</svg>";
}