[swell-foop/arnaudb/shapes-only-theme] Add a "Boring Shapes" theme.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [swell-foop/arnaudb/shapes-only-theme] Add a "Boring Shapes" theme.
- Date: Mon, 1 Jun 2020 09:00:50 +0000 (UTC)
commit 280a08784756846db56af05143fcfab1edca0c22
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Jun 1 10:12:19 2020 +0200
Add a "Boring Shapes" theme.
data/themes/contrastedshapes/blue.svg | 122 +++++++++++++++++++++++++
data/themes/contrastedshapes/green.svg | 124 +++++++++++++++++++++++++
data/themes/contrastedshapes/highlight.svg | 99 ++++++++++++++++++++
data/themes/contrastedshapes/red.svg | 140 +++++++++++++++++++++++++++++
data/themes/contrastedshapes/yellow.svg | 140 +++++++++++++++++++++++++++++
data/ui/swell-foop.ui | 10 ++-
src/game-view.vala | 3 +
src/window.vala | 2 +-
8 files changed, 637 insertions(+), 3 deletions(-)
---
diff --git a/data/themes/contrastedshapes/blue.svg b/data/themes/contrastedshapes/blue.svg
new file mode 100644
index 0000000..b28e321
--- /dev/null
+++ b/data/themes/contrastedshapes/blue.svg
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<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"
+ width="50"
+ height="50"
+ id="svg2"
+ sodipodi:version="0.32"
+ inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
+ sodipodi:docname="blue.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
+ version="1.0">
+ <defs
+ id="defs4">
+ <linearGradient
+ id="linearGradient3764">
+ <stop
+ style="stop-color:#729fcf;stop-opacity:1"
+ offset="0"
+ id="stop3766" />
+ <stop
+ id="stop3772"
+ offset="0.66747934"
+ style="stop-color:#396eb3;stop-opacity:1" />
+ <stop
+ style="stop-color:#729fcf;stop-opacity:1"
+ offset="1"
+ id="stop3768" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ gridtolerance="10000"
+ guidetolerance="10"
+ objecttolerance="10"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="7.6413384"
+ inkscape:cx="34.578798"
+ inkscape:cy="20.329446"
+ inkscape:document-units="px"
+ inkscape:current-layer="g3801"
+ showgrid="false"
+ inkscape:window-width="1536"
+ inkscape:window-height="800"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ showborder="false"
+ inkscape:window-maximized="1"
+ inkscape:snap-bbox="true"
+ showguides="false"
+ inkscape:guide-bbox="true"
+ inkscape:snap-nodes="false"
+ inkscape:document-rotation="0">
+ <inkscape:grid
+ type="xygrid"
+ id="grid2992" />
+ <sodipodi:guide
+ orientation="1,0"
+ position="25,19"
+ id="guide4096" />
+ <sodipodi:guide
+ orientation="0,1"
+ position="25,25"
+ id="guide4098" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata7">
+ <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 />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-164.71428,-194.21933)">
+ <g
+ id="g3801">
+ <rect
+ ry="3.1634619"
+ rx="3.1634619"
+ y="195.71933"
+ x="166.21428"
+ height="47.000004"
+ width="47"
+ id="rect3157"
+
style="fill:#f6f5f4;fill-opacity:1;stroke:#878787;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
/>
+ <path
+ transform="matrix(1.2272723,0,0,1.2272723,160.03248,189.53753)"
+ d="m 36,25 c 0,6.075132 -4.924868,11 -11,11 -6.075132,0 -11,-4.924868 -11,-11 0,-6.075132
4.924868,-11 11,-11 6.075132,0 11,4.924868 11,11 z"
+ sodipodi:ry="11"
+ sodipodi:rx="11"
+ sodipodi:cy="25"
+ sodipodi:cx="25"
+ id="path3967-7"
+
style="opacity:0.6;color:#000000;fill:none;stroke:#878787;stroke-width:2.44444537;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ sodipodi:type="arc" />
+ <circle
+ transform="matrix(1.227272,0,0,1.227272,159.03249,188.53754)"
+ id="path3967"
+
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#2e3436;stroke-width:2.44445;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate;fill-opacity:1"
+ cx="25"
+ cy="25"
+ r="11" />
+ </g>
+ </g>
+</svg>
diff --git a/data/themes/contrastedshapes/green.svg b/data/themes/contrastedshapes/green.svg
new file mode 100644
index 0000000..1fb75e5
--- /dev/null
+++ b/data/themes/contrastedshapes/green.svg
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<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"
+ width="50"
+ height="50"
+ id="svg2"
+ sodipodi:version="0.32"
+ inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
+ sodipodi:docname="green.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
+ version="1.0">
+ <defs
+ id="defs4">
+ <linearGradient
+ id="linearGradient3953">
+ <stop
+ id="stop3955"
+ offset="0"
+ style="stop-color:#8ae234;stop-opacity:1" />
+ <stop
+ style="stop-color:#58ad07;stop-opacity:1;"
+ offset="0.66747934"
+ id="stop3957" />
+ <stop
+ id="stop3959"
+ offset="1"
+ style="stop-color:#8ae234;stop-opacity:1" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ gridtolerance="10000"
+ guidetolerance="10"
+ objecttolerance="10"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="9.1629789"
+ inkscape:cx="38.932494"
+ inkscape:cy="26.255553"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1536"
+ inkscape:window-height="800"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ showborder="false"
+ inkscape:window-maximized="1"
+ inkscape:snap-bbox="true"
+ showguides="false"
+ inkscape:guide-bbox="true"
+ inkscape:snap-nodes="false"
+ inkscape:document-rotation="0">
+ <inkscape:grid
+ type="xygrid"
+ id="grid2992" />
+ <sodipodi:guide
+ orientation="1,0"
+ position="25,19"
+ id="guide4096" />
+ <sodipodi:guide
+ orientation="0,1"
+ position="25,25"
+ id="guide4098" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata7">
+ <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 />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-164.71428,-194.21933)">
+ <g
+ id="g3816"
+ transform="translate(0,-60)">
+ <rect
+ ry="3.1634619"
+ rx="3.1634619"
+ y="255.71933"
+ x="166.21428"
+ height="47.000004"
+ width="47"
+ id="rect3157-91"
+
style="fill:#f6f5f4;fill-opacity:1;stroke:#878787;stroke-width:0.99999994;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
/>
+ <rect
+ ry="0"
+ rx="0"
+ y="268.71933"
+ x="179.21428"
+ height="23.000032"
+ width="23.000032"
+ id="rect2994-9-3"
+
style="opacity:0.4;color:#000000;fill:none;stroke:#878787;stroke-width:3.00000024;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
/>
+ <rect
+ ry="0"
+ rx="0"
+ y="267.71933"
+ x="178.21428"
+ height="23.000032"
+ width="23.000032"
+ id="rect2994-8"
+
style="color:#000000;fill:#839195;stroke:#2e3436;stroke-width:3.00000024;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;fill-opacity:1"
/>
+ </g>
+ </g>
+</svg>
diff --git a/data/themes/contrastedshapes/highlight.svg b/data/themes/contrastedshapes/highlight.svg
new file mode 100644
index 0000000..a830854
--- /dev/null
+++ b/data/themes/contrastedshapes/highlight.svg
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<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"
+ width="75"
+ height="75"
+ id="svg2"
+ sodipodi:version="0.32"
+ inkscape:version="0.46"
+ sodipodi:docname="highlight.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
+ version="1.0">
+ <defs
+ id="defs4">
+ <linearGradient
+ id="linearGradient3179">
+ <stop
+ style="stop-color:#35669b;stop-opacity:0.96078432;"
+ offset="0"
+ id="stop3181" />
+ <stop
+ style="stop-color:#5e92c8;stop-opacity:0.96078432;"
+ offset="1"
+ id="stop3183" />
+ </linearGradient>
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ id="perspective10" />
+ <filter
+ inkscape:collect="always"
+ id="filter3393"
+ x="-0.43563023"
+ width="1.8712605"
+ y="-0.43563023"
+ height="1.8712605">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="5.5324044"
+ id="feGaussianBlur3395" />
+ </filter>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#000000"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ gridtolerance="10000"
+ guidetolerance="10"
+ objecttolerance="10"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="8.76"
+ inkscape:cx="17.522831"
+ inkscape:cy="37.5"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1438"
+ inkscape:window-height="882"
+ inkscape:window-x="0"
+ inkscape:window-y="16" />
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-164.71428,-194.21933)">
+ <path
+ sodipodi:type="arc"
+
style="opacity:0.64102568;fill:#ffffff;fill-opacity:1;stroke:none;stroke-opacity:1;filter:url(#filter3393)"
+ id="path3183"
+ sodipodi:cx="22.888128"
+ sodipodi:cy="25.285389"
+ sodipodi:rx="15.239726"
+ sodipodi:ry="15.239726"
+ d="M 38.127854,25.285389 A 15.239726,15.239726 0 1 1 7.6484022,25.285389 A 15.239726,15.239726 0 1 1
38.127854,25.285389 z"
+ transform="matrix(1.247191,0,0,1.247191,173.66841,200.18362)" />
+ </g>
+</svg>
diff --git a/data/themes/contrastedshapes/red.svg b/data/themes/contrastedshapes/red.svg
new file mode 100644
index 0000000..a5f8bf4
--- /dev/null
+++ b/data/themes/contrastedshapes/red.svg
@@ -0,0 +1,140 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<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"
+ width="50"
+ height="50"
+ id="svg2"
+ sodipodi:version="0.32"
+ inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
+ sodipodi:docname="red.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
+ version="1.0">
+ <defs
+ id="defs4">
+ <linearGradient
+ id="linearGradient4080">
+ <stop
+ style="stop-color:#ef2929;stop-opacity:1"
+ offset="0"
+ id="stop4082" />
+ <stop
+ id="stop4084"
+ offset="0.66747934"
+ style="stop-color:#b80000;stop-opacity:1" />
+ <stop
+ style="stop-color:#ef2929;stop-opacity:1"
+ offset="1"
+ id="stop4086" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ gridtolerance="10000"
+ guidetolerance="10"
+ objecttolerance="10"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="9.3374875"
+ inkscape:cx="25.633818"
+ inkscape:cy="25.934032"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1536"
+ inkscape:window-height="800"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ showborder="false"
+ inkscape:window-maximized="1"
+ inkscape:snap-bbox="true"
+ showguides="false"
+ inkscape:guide-bbox="true"
+ inkscape:snap-nodes="false"
+ inkscape:document-rotation="0">
+ <inkscape:grid
+ type="xygrid"
+ id="grid2992" />
+ <sodipodi:guide
+ orientation="1,0"
+ position="25,19"
+ id="guide4096" />
+ <sodipodi:guide
+ orientation="0,1"
+ position="25,25"
+ id="guide4098" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata7">
+ <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 />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-164.71428,-194.21933)">
+ <g
+ id="g3811"
+ transform="translate(-60,-60)">
+ <rect
+ ry="3.1634617"
+ rx="3.1634617"
+ y="255.71933"
+ x="226.21428"
+ height="47.000004"
+ width="47"
+ id="rect3157-91-6"
+
style="fill:#f6f5f4;fill-opacity:1;stroke:#878787;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
/>
+ <path
+ inkscape:transform-center-y="-4.275138"
+ transform="matrix(0.89041477,0,0,0.88901435,228.45391,259.9437)"
+ d="M 41.658331,34.617692 25,34.617691 8.3416688,34.617692 16.670835,20.191155 25,5.764616
33.329165,20.191154 z"
+ inkscape:randomized="0"
+ inkscape:rounded="4.2645404e-08"
+ inkscape:flatsided="false"
+ sodipodi:arg2="1.5707963"
+ sodipodi:arg1="0.52359878"
+ sodipodi:r2="9.617691"
+ sodipodi:r1="19.235384"
+ sodipodi:cy="25"
+ sodipodi:cx="25"
+ sodipodi:sides="3"
+ id="path4100-4"
+
style="opacity:0.5;color:#000000;fill:none;stroke:#878787;stroke-width:3.37186933;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ sodipodi:type="star" />
+ <path
+ inkscape:transform-center-y="-4.275138"
+ transform="matrix(0.89041477,0,0,0.88901435,227.45391,258.9437)"
+ d="M 41.658331,34.617692 25,34.617691 8.3416688,34.617692 16.670835,20.191155 25,5.764616
33.329165,20.191154 z"
+ inkscape:randomized="0"
+ inkscape:rounded="4.2645404e-08"
+ inkscape:flatsided="false"
+ sodipodi:arg2="1.5707963"
+ sodipodi:arg1="0.52359878"
+ sodipodi:r2="9.617691"
+ sodipodi:r1="19.235384"
+ sodipodi:cy="25"
+ sodipodi:cx="25"
+ sodipodi:sides="3"
+ id="path4100"
+
style="color:#000000;fill:#c8ced0;stroke:#2e3436;stroke-width:3.37186933;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;fill-opacity:1"
+ sodipodi:type="star" />
+ </g>
+ </g>
+</svg>
diff --git a/data/themes/contrastedshapes/yellow.svg b/data/themes/contrastedshapes/yellow.svg
new file mode 100644
index 0000000..bc0e881
--- /dev/null
+++ b/data/themes/contrastedshapes/yellow.svg
@@ -0,0 +1,140 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<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"
+ width="50"
+ height="50"
+ id="svg2"
+ sodipodi:version="0.32"
+ inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
+ sodipodi:docname="yellow.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
+ version="1.0">
+ <defs
+ id="defs4">
+ <linearGradient
+ id="linearGradient3841">
+ <stop
+ id="stop3843"
+ offset="0"
+ style="stop-color:#fdf08b;stop-opacity:1;" />
+ <stop
+ style="stop-color:#edd400;stop-opacity:1"
+ offset="0.66747934"
+ id="stop3845" />
+ <stop
+ id="stop3847"
+ offset="1"
+ style="stop-color:#fdf08b;stop-opacity:1;" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ gridtolerance="10000"
+ guidetolerance="10"
+ objecttolerance="10"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="9.1618514"
+ inkscape:cx="40.751394"
+ inkscape:cy="30.037851"
+ inkscape:document-units="px"
+ inkscape:current-layer="g3806"
+ showgrid="false"
+ inkscape:window-width="1536"
+ inkscape:window-height="800"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ showborder="false"
+ inkscape:window-maximized="1"
+ inkscape:snap-bbox="true"
+ showguides="false"
+ inkscape:guide-bbox="true"
+ inkscape:snap-nodes="false"
+ inkscape:document-rotation="0">
+ <inkscape:grid
+ type="xygrid"
+ id="grid2992" />
+ <sodipodi:guide
+ orientation="1,0"
+ position="25,19"
+ id="guide4096" />
+ <sodipodi:guide
+ orientation="0,1"
+ position="25,25"
+ id="guide4098" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata7">
+ <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 />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-164.71428,-194.21933)">
+ <g
+ id="g3806"
+ transform="translate(-60,0)">
+ <rect
+ ry="3.1634617"
+ rx="3.1634617"
+ y="195.71933"
+ x="226.21428"
+ height="47.000004"
+ width="47"
+ id="rect3157-9"
+
style="fill:#f6f5f4;fill-opacity:1;stroke:#878787;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
/>
+ <path
+ inkscape:transform-center-y="-1.384171"
+ transform="matrix(0.96651072,0,0,0.96634675,168.56087,196.05586)"
+ d="m 85,10 4.408389,8.932373 9.857459,1.432372 -7.132924,6.952882 1.683854,9.817628 L 85,32.5 l
-8.816779,4.635255 1.683855,-9.817628 -7.132924,-6.952882 9.857459,-1.432372 z"
+ inkscape:randomized="0"
+ inkscape:rounded="0"
+ inkscape:flatsided="false"
+ sodipodi:arg2="-0.9424778"
+ sodipodi:arg1="-1.5707963"
+ sodipodi:r2="7.5"
+ sodipodi:r1="15"
+ sodipodi:cy="25"
+ sodipodi:cx="85"
+ sodipodi:sides="5"
+ id="path3855-3"
+
style="color:#000000;fill:none;stroke:#878787;stroke-width:3.10421228;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ sodipodi:type="star" />
+ <path
+ inkscape:transform-center-y="-1.384171"
+ transform="matrix(0.96651072,0,0,0.96634675,167.56087,195.05586)"
+ d="m 85,10 4.408389,8.932373 9.857459,1.432372 -7.132924,6.952882 1.683854,9.817628 L 85,32.5 l
-8.816779,4.635255 1.683855,-9.817628 -7.132924,-6.952882 9.857459,-1.432372 z"
+ inkscape:randomized="0"
+ inkscape:rounded="0"
+ inkscape:flatsided="false"
+ sodipodi:arg2="-0.9424778"
+ sodipodi:arg1="-1.5707963"
+ sodipodi:r2="7.5"
+ sodipodi:r1="15"
+ sodipodi:cy="25"
+ sodipodi:cx="85"
+ sodipodi:sides="5"
+ id="path3855"
+
style="color:#000000;fill:#2e3436;stroke:#2e3436;stroke-width:3.10421228;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;fill-opacity:1"
+ sodipodi:type="star" />
+ </g>
+ </g>
+</svg>
diff --git a/data/ui/swell-foop.ui b/data/ui/swell-foop.ui
index 11fcaab..1d72885 100644
--- a/data/ui/swell-foop.ui
+++ b/data/ui/swell-foop.ui
@@ -88,17 +88,23 @@
<attribute name="label" translatable="yes">A_ppearance</attribute>
<section>
<item>
- <!-- Translators: entry of the Appearance submenu of the hamburger menu (with a mnemonic that
appears when pressing Alt); change theme; other possible theme is "_Shapes and Colors" -->
+ <!-- Translators: entry of the Appearance submenu of the hamburger menu (with a mnemonic that
appears when pressing Alt); change theme; other possible themes are "_Shapes and Colors" and "_Boring Shapes"
-->
<attribute name="label" translatable="yes">_Colors</attribute>
<attribute name="action">win.change-theme</attribute>
<attribute name="target">colors</attribute>
</item>
<item>
- <!-- Translators: entry of the Appearance submenu of the hamburger menu (with a mnemonic that
appears when pressing Alt); change theme; other possible theme is "_Colors" -->
+ <!-- Translators: entry of the Appearance submenu of the hamburger menu (with a mnemonic that
appears when pressing Alt); change theme; other possible themes are "_Colors" and "_Boring Shapes" -->
<attribute name="label" translatable="yes">_Shapes and Colors</attribute>
<attribute name="action">win.change-theme</attribute>
<attribute name="target">shapesandcolors</attribute>
</item>
+ <item>
+ <!-- Translators: entry of the Appearance submenu of the hamburger menu (with a mnemonic that
appears when pressing Alt); change theme; other possible themes are "_Colors" and "_Shapes and Colors" -->
+ <attribute name="label" translatable="yes">_Boring Shapes</attribute>
+ <attribute name="action">win.change-theme</attribute>
+ <attribute name="target">contrastedshapes</attribute>
+ </item>
</section>
<section>
<item>
diff --git a/src/game-view.vala b/src/game-view.vala
index cafb0ce..d7cbe7a 100644
--- a/src/game-view.vala
+++ b/src/game-view.vala
@@ -238,6 +238,9 @@ private class GameGroup : Clutter.Group
theme = new Theme ("shapesandcolors");
themes.insert ("shapesandcolors", theme);
+
+ theme = new Theme ("contrastedshapes");
+ themes.insert ("contrastedshapes", theme);
}
/* When a tile in the model layer is closed, play an animation at the view layer */
diff --git a/src/window.vala b/src/window.vala
index 09274ef..cce805d 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -88,7 +88,7 @@ private class SwellFoopWindow : ApplicationWindow
settings.changed ["zealous"].connect ((_settings, _key_name) => { view.set_is_zealous
(_settings.get_boolean (_key_name)); });
string theme = settings.get_string ("theme");
- if (theme != "colors" && theme != "shapesandcolors")
+ if (theme != "colors" && theme != "shapesandcolors" && theme != "contrastedshapes")
theme = "shapesandcolors";
SimpleAction theme_action = (SimpleAction) lookup_action ("change-theme");
theme_action.set_state (new Variant.@string (theme));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]