Browse Source

Update Light graphics

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
ba6e2e9296
5 changed files with 73 additions and 61 deletions
  1. +1
    -1
      include/componentlibrary.hpp
  2. +18
    -15
      res/ComponentLibrary/LargeLight.svg
  3. +18
    -15
      res/ComponentLibrary/MediumLight.svg
  4. +18
    -15
      res/ComponentLibrary/SmallLight.svg
  5. +18
    -15
      res/ComponentLibrary/TinyLight.svg

+ 1
- 1
include/componentlibrary.hpp View File

@@ -86,7 +86,7 @@ typedef TSvgLight<> SvgLight;
template <typename Base = app::ModuleLightWidget> template <typename Base = app::ModuleLightWidget>
struct TGrayModuleLightWidget : Base { struct TGrayModuleLightWidget : Base {
TGrayModuleLightWidget() { TGrayModuleLightWidget() {
this->bgColor = nvgRGBA(0x55, 0x55, 0x55, 0xff);
this->bgColor = nvgRGBA(0x33, 0x33, 0x33, 0xff);
this->borderColor = nvgRGBA(0, 0, 0, 53); this->borderColor = nvgRGBA(0, 0, 0, 53);
} }
}; };


+ 18
- 15
res/ComponentLibrary/LargeLight.svg View File

@@ -1,4 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 25.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->

<svg <svg
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#" xmlns:cc="http://creativecommons.org/ns#"
@@ -16,8 +18,8 @@
viewBox="0 0 5 5" viewBox="0 0 5 5"
enable-background="new 0 0 5 5" enable-background="new 0 0 5 5"
xml:space="preserve" xml:space="preserve"
sodipodi:docname="LargeLed.svg"
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)"><metadata
sodipodi:docname="ledLarge-ol.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata
id="metadata22"><rdf:RDF><cc:Work id="metadata22"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
@@ -31,20 +33,19 @@
fit-margin-top="0" fit-margin-top="0"
id="base" id="base"
inkscape:current-layer="svg164153" inkscape:current-layer="svg164153"
inkscape:cx="-50.865388"
inkscape:cy="-9.1133715"
inkscape:cx="5.1230194"
inkscape:cy="5.744428"
inkscape:document-units="mm" inkscape:document-units="mm"
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:window-height="882"
inkscape:window-maximized="0"
inkscape:window-width="1600"
inkscape:window-x="0"
inkscape:window-y="18"
inkscape:zoom="7.9195959"
inkscape:window-height="1017"
inkscape:window-maximized="1"
inkscape:window-width="1920"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:zoom="31.678384"
pagecolor="#ffffff" pagecolor="#ffffff"
showgrid="false"
inkscape:document-rotation="0">
showgrid="false">
</sodipodi:namedview> </sodipodi:namedview>


<linearGradient <linearGradient
@@ -69,7 +70,8 @@
cy="1.37704" cy="1.37704"
rx="1.51927" rx="1.51927"
ry="0.92029" ry="0.92029"
id="ellipse10" />
id="ellipse10"
style="opacity:0.5" />
<linearGradient <linearGradient
id="SVGID_2_" id="SVGID_2_"
gradientUnits="userSpaceOnUse" gradientUnits="userSpaceOnUse"
@@ -94,5 +96,6 @@
cy="3.66071" cy="3.66071"
rx="1.51927" rx="1.51927"
ry="0.92029" ry="0.92029"
id="ellipse17" />
</svg>
id="ellipse17"
style="opacity:0.15" />
</svg>

+ 18
- 15
res/ComponentLibrary/MediumLight.svg View File

@@ -1,4 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 25.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->

<svg <svg
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#" xmlns:cc="http://creativecommons.org/ns#"
@@ -16,8 +18,8 @@
viewBox="0 0 3 3" viewBox="0 0 3 3"
enable-background="new 0 0 3 3" enable-background="new 0 0 3 3"
xml:space="preserve" xml:space="preserve"
sodipodi:docname="MediumLight.svg"
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)"><metadata
sodipodi:docname="ledMed-ol.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata
id="metadata22"><rdf:RDF><cc:Work id="metadata22"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
@@ -31,20 +33,19 @@
fit-margin-top="0" fit-margin-top="0"
id="base" id="base"
inkscape:current-layer="svg164153" inkscape:current-layer="svg164153"
inkscape:cx="10.136396"
inkscape:cy="10.750772"
inkscape:cx="12.517549"
inkscape:cy="7.9129718"
inkscape:document-units="mm" inkscape:document-units="mm"
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:window-height="882"
inkscape:window-maximized="0"
inkscape:window-width="1600"
inkscape:window-x="0"
inkscape:window-y="18"
inkscape:zoom="28.975876"
inkscape:window-height="1017"
inkscape:window-maximized="1"
inkscape:window-width="1920"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:zoom="44.8"
pagecolor="#ffffff" pagecolor="#ffffff"
showgrid="false"
inkscape:document-rotation="0">
showgrid="false">
</sodipodi:namedview> </sodipodi:namedview>


<linearGradient <linearGradient
@@ -69,7 +70,8 @@
cy="0.82622" cy="0.82622"
rx="0.91156" rx="0.91156"
ry="0.55217" ry="0.55217"
id="ellipse10" />
id="ellipse10"
style="opacity:0.5" />
<linearGradient <linearGradient
id="SVGID_2_" id="SVGID_2_"
gradientUnits="userSpaceOnUse" gradientUnits="userSpaceOnUse"
@@ -94,5 +96,6 @@
cy="2.19643" cy="2.19643"
rx="0.91156" rx="0.91156"
ry="0.55217" ry="0.55217"
id="ellipse17" />
</svg>
id="ellipse17"
style="opacity:0.15" />
</svg>

+ 18
- 15
res/ComponentLibrary/SmallLight.svg View File

@@ -1,4 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 25.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->

<svg <svg
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#" xmlns:cc="http://creativecommons.org/ns#"
@@ -16,8 +18,8 @@
viewBox="0 0 2 2" viewBox="0 0 2 2"
enable-background="new 0 0 2 2" enable-background="new 0 0 2 2"
xml:space="preserve" xml:space="preserve"
sodipodi:docname="SmallLed.svg"
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)"><metadata
sodipodi:docname="ledSmall-ol.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata
id="metadata22"><rdf:RDF><cc:Work id="metadata22"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
@@ -31,20 +33,19 @@
fit-margin-top="0" fit-margin-top="0"
id="base" id="base"
inkscape:current-layer="svg164153" inkscape:current-layer="svg164153"
inkscape:cx="4.0653199"
inkscape:cy="4.1789873"
inkscape:cx="1.8227388"
inkscape:cy="2.2539442"
inkscape:document-units="mm" inkscape:document-units="mm"
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:window-height="882"
inkscape:window-maximized="0"
inkscape:window-width="1600"
inkscape:window-x="0"
inkscape:window-y="18"
inkscape:zoom="61.023759"
inkscape:window-height="1017"
inkscape:window-maximized="1"
inkscape:window-width="1920"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:zoom="63.356767"
pagecolor="#ffffff" pagecolor="#ffffff"
showgrid="false"
inkscape:document-rotation="0">
showgrid="false">
</sodipodi:namedview> </sodipodi:namedview>


<linearGradient <linearGradient
@@ -69,7 +70,8 @@
cy="0.55081" cy="0.55081"
rx="0.60771" rx="0.60771"
ry="0.36811" ry="0.36811"
id="ellipse10" />
id="ellipse10"
style="opacity:0.5" />
<linearGradient <linearGradient
id="SVGID_2_" id="SVGID_2_"
gradientUnits="userSpaceOnUse" gradientUnits="userSpaceOnUse"
@@ -94,5 +96,6 @@
cy="1.46428" cy="1.46428"
rx="0.60771" rx="0.60771"
ry="0.36811" ry="0.36811"
id="ellipse17" />
</svg>
id="ellipse17"
style="opacity:0.15" />
</svg>

+ 18
- 15
res/ComponentLibrary/TinyLight.svg View File

@@ -1,4 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 25.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->

<svg <svg
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#" xmlns:cc="http://creativecommons.org/ns#"
@@ -16,8 +18,8 @@
viewBox="0 0 1 1" viewBox="0 0 1 1"
enable-background="new 0 0 1 1" enable-background="new 0 0 1 1"
xml:space="preserve" xml:space="preserve"
sodipodi:docname="TinyLed.svg"
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)"><metadata
sodipodi:docname="ledTiny-ol.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"><metadata
id="metadata22"><rdf:RDF><cc:Work id="metadata22"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
@@ -31,20 +33,19 @@
fit-margin-top="0" fit-margin-top="0"
id="base" id="base"
inkscape:current-layer="svg164153" inkscape:current-layer="svg164153"
inkscape:cx="-15.084364"
inkscape:cy="-0.73704599"
inkscape:cx="2.1931134"
inkscape:cy="1.2443155"
inkscape:document-units="mm" inkscape:document-units="mm"
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:window-height="882"
inkscape:window-maximized="0"
inkscape:window-width="1600"
inkscape:window-x="0"
inkscape:window-y="18"
inkscape:zoom="22.165173"
inkscape:window-height="1017"
inkscape:window-maximized="1"
inkscape:window-width="1920"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:zoom="179.2"
pagecolor="#ffffff" pagecolor="#ffffff"
showgrid="false"
inkscape:document-rotation="0">
showgrid="false">
</sodipodi:namedview> </sodipodi:namedview>


<linearGradient <linearGradient
@@ -69,7 +70,8 @@
cy="0.27541" cy="0.27541"
rx="0.30385" rx="0.30385"
ry="0.18406" ry="0.18406"
id="ellipse10" />
id="ellipse10"
style="opacity:0.5" />
<linearGradient <linearGradient
id="SVGID_2_" id="SVGID_2_"
gradientUnits="userSpaceOnUse" gradientUnits="userSpaceOnUse"
@@ -94,5 +96,6 @@
cy="0.73214" cy="0.73214"
rx="0.30385" rx="0.30385"
ry="0.18406" ry="0.18406"
id="ellipse17" />
</svg>
id="ellipse17"
style="opacity:0.15" />
</svg>

Loading…
Cancel
Save