[gnome-control-center/wip/jimmac/hot-corner-rtl] multitasking: provide rtl asset




commit ad62364647833aea43de1b5354d6f7629eeef60d
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Jan 28 15:53:48 2022 +0100

    multitasking: provide rtl asset
    
    - provide a RTL variant of the hot corner graphic
    - revert one of the arrow to be outine only (unrelated to rtl)
    - provide RTL variant of the active screen edges (close button
      on the opposite side)
    
    See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1559

 .../assets/active-screen-edges-rtl.svg             | 73 +++++++++++++++++
 panels/multitasking/assets/hot-corner-rtl.svg      | 94 ++++++++++++++++++++++
 panels/multitasking/assets/hot-corner.svg          |  2 +-
 3 files changed, 168 insertions(+), 1 deletion(-)
---
diff --git a/panels/multitasking/assets/active-screen-edges-rtl.svg 
b/panels/multitasking/assets/active-screen-edges-rtl.svg
new file mode 100644
index 000000000..4a0351213
--- /dev/null
+++ b/panels/multitasking/assets/active-screen-edges-rtl.svg
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   width="160"
+   height="94"
+   viewBox="0 0 42.333 24.871"
+   version="1.1"
+   id="svg20"
+   sodipodi:docname="active-screen-edges-rtl.svg"
+   inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:svg="http://www.w3.org/2000/svg";>
+  <defs
+     id="defs24" />
+  <sodipodi:namedview
+     id="namedview22"
+     pagecolor="#505050"
+     bordercolor="#ffffff"
+     borderopacity="1"
+     inkscape:pageshadow="0"
+     inkscape:pageopacity="0"
+     inkscape:pagecheckerboard="1"
+     showgrid="false"
+     showborder="false"
+     inkscape:current-layer="svg20">
+    <inkscape:grid
+       type="xygrid"
+       id="grid1401" />
+  </sodipodi:namedview>
+  <path
+     
style="display:inline;vector-effect:none;fill:none;fill-opacity:1;stroke:#3584e4;stroke-width:0.529167;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none"
+     d="M 0.265,0.26500003 H 42.069 V 24.607 H 0.265 Z"
+     id="path2" />
+  <path
+     id="path4"
+     
style="display:inline;opacity:0.287;vector-effect:none;fill:#3584e4;fill-opacity:1;stroke:none;stroke-width:2.99998;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal"
+     d="M 1.9433594,5.1777344 V 92.859375 H 79.371094 V 77.052734 H 10.980469 c -1.6619682,0 
-3.0000002,-1.338032 -3.0000002,-3 V 22.054688 c 0,-1.661968 1.338032,-3 3.0000002,-3 H 79.371094 V 5.1777344 
Z"
+     transform="matrix(0.26458511,0,0,0.26458511,-3.0851064e-4,0)"
+     sodipodi:nodetypes="ccccssssccc" />
+  <g
+     transform="matrix(-0.26458,0,0,0.26458,424.372,1156.76)"
+     style="display:inline"
+     id="g16">
+    <rect
+       ry="3"
+       rx="3"
+       y="-4353.0068"
+       x="1520.006"
+       height="58"
+       width="76"
+       
style="opacity:1;vector-effect:none;fill:none;fill-opacity:1;stroke:#3584e4;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none"
+       id="rect6" />
+    <path
+       overflow="visible"
+       font-weight="400"
+       style="color:#bebebe;font-weight:400;line-height:normal;font-family:'Andale 
Mono';-inkscape-font-specification:'Andale 
Mono';text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-transform:none;overflow:visible;fill:#3584e4;fill-opacity:1;marker:none"
+       d="m 1583,-4348.006 h 1.031 c 0.255,0.011 0.51,0.13 0.688,0.313 l 2.281,2.28 2.312,-2.28 c 
0.266,-0.232 0.447,-0.307 0.688,-0.314 h 1 v 1 c 0,0.286 -0.034,0.55 -0.25,0.75 l -2.281,2.282 2.25,2.25 c 
0.188,0.188 0.281,0.454 0.281,0.72 v 1 h -1 c -0.265,0 -0.53,-0.094 -0.719,-0.282 l -2.281,-2.28 -2.281,2.28 
a 1.015,1.015 0 0 1 -0.719,0.281 h -1 v -1 c 0,-0.265 0.093,-0.53 0.281,-0.719 l 2.281,-2.25 -2.28,-2.28 a 
0.909,0.909 0 0 1 -0.282,-0.75 z"
+       id="path8" />
+    <g
+       style="display:inline;fill:#ffffff;fill-opacity:1;stroke:#3584e4;stroke-opacity:1"
+       id="g14">
+      <path
+         
style="color:#000000;display:block;overflow:visible;visibility:visible;fill:#3584e4;fill-opacity:1;fill-rule:nonzero;stroke:#3584e4;stroke-width:0.999998;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
+         d="m 1545.9075,-4344.7569 v 26.8381 l -6.0528,-5.9161 -3.4601,7.0703 c -0.8479,1.9133 
-5.2505,0.3755 -3.9982,-2.1826 l 3.4226,-7.3397 h -7.6394 z"
+         id="path12" />
+    </g>
+  </g>
+  <path
+     d="M0 0v2.648h.528c0-.397.395-.794.793-.794h39.675c.444 0 .807.424.807.794l.51-.002.02-2.646z"
+     
style="color:#000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000;solid-opacity:1;vector-effect:none;fill:#3584e4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:.529167;stroke-linecap:but
 
t;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
+     id="path18" />
+</svg>
diff --git a/panels/multitasking/assets/hot-corner-rtl.svg b/panels/multitasking/assets/hot-corner-rtl.svg
new file mode 100644
index 000000000..e0286f57d
--- /dev/null
+++ b/panels/multitasking/assets/hot-corner-rtl.svg
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   width="160"
+   height="94"
+   viewBox="0 0 42.333 24.871"
+   version="1.1"
+   id="svg31"
+   sodipodi:docname="hot-corner-rtl.svg"
+   inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:svg="http://www.w3.org/2000/svg";>
+  <sodipodi:namedview
+     id="namedview33"
+     pagecolor="#505050"
+     bordercolor="#ffffff"
+     borderopacity="1"
+     inkscape:pageshadow="0"
+     inkscape:pageopacity="0"
+     inkscape:pagecheckerboard="1"
+     showgrid="false"
+     inkscape:current-layer="svg31" />
+  <defs
+     id="defs5">
+    <clipPath
+       id="a"
+       clipPathUnits="userSpaceOnUse">
+      <path
+         
style="opacity:1;vector-effect:none;fill:#3584e4;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal"
+         d="M316-4731.007h162v95H316z"
+         id="path2" />
+    </clipPath>
+  </defs>
+  <g
+     style="display:inline"
+     id="g11"
+     transform="matrix(-1,0,0,1,42.321975,0)">
+    <path
+       
style="opacity:1;vector-effect:none;fill:none;fill-opacity:1;stroke:#3584e4;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none"
+       d="m 1501.006,-3631.007 h 158 v 92 h -158 z"
+       transform="matrix(0.26458,0,0,0.26458,-396.877,960.969)"
+       id="path7" />
+    <path
+       d="M 1500.006,-3632.008 V -3622 H 1502 c 0,-1.503 1.496,-3 2.998,-3 h 149.951 c 1.68,0 3.051,1.603 
3.051,3 l 1.926,-0.01 0.08,-9.999 z"
+       
style="color:#000000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#3584e4;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;str
 
oke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
+       transform="matrix(0.26458,0,0,0.26458,-396.877,960.969)"
+       id="path9" />
+  </g>
+  <g
+     clip-path="url(#a)"
+     transform="matrix(-0.26458,0,0,0.26458,125.92997,1251.746)"
+     style="display:inline"
+     id="g21">
+    <circle
+       
style="opacity:0.249;vector-effect:none;fill:none;fill-opacity:1;stroke:#3584e4;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal"
+       cx="316"
+       cy="-4731.0068"
+       r="78.261002"
+       id="circle13" />
+    <circle
+       r="47.992001"
+       cy="-4731.0068"
+       cx="316"
+       
style="opacity:0.474;vector-effect:none;fill:none;fill-opacity:1;stroke:#3584e4;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal"
+       id="circle15" />
+    <circle
+       
style="opacity:0.705;vector-effect:none;fill:none;fill-opacity:1;stroke:#3584e4;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal"
+       cx="316"
+       cy="-4731.0068"
+       r="26.858999"
+       id="circle17" />
+    <circle
+       r="16.568001"
+       cy="-4731.0068"
+       cx="316"
+       
style="opacity:1;vector-effect:none;fill:none;fill-opacity:1;stroke:#3584e4;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal"
+       id="circle19" />
+  </g>
+  <path
+     
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:none;fill-opacity:1;stroke:#3584e4;stroke-width:0.262885;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dashoffset:0.95;stroke-opacity:1;marker:none;enable-background:accumulate"
+     d="M 30.309706,9.02423 31.651412,7.6449098 29.529545,5.5205678 37.410459,4.9137355 36.804333,12.803842 
34.682466,10.6795 31.394216,13.972016"
+     id="path23" />
+  <g
+     style="display:inline"
+     id="g27"
+     transform="translate(10.451968,0.02041233)">
+    <path
+       
style="color:#000000;display:block;overflow:visible;visibility:visible;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#3584e4;stroke-width:0.612915;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:1.22583,
 0.612915;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
+       d="m 29.691,6.634 v 16.44 l 3.712,-3.624 2.122,4.331 c 0.52,1.171 3.22,0.23 2.452,-1.337 l 
-2.099,-4.497 h 4.685 z"
+       transform="matrix(0.42866,0,0,0.42916,1.739,7.533)"
+       id="path25" />
+  </g>
+</svg>
diff --git a/panels/multitasking/assets/hot-corner.svg b/panels/multitasking/assets/hot-corner.svg
index f540458ce..bfff29791 100644
--- a/panels/multitasking/assets/hot-corner.svg
+++ b/panels/multitasking/assets/hot-corner.svg
@@ -80,7 +80,7 @@
      style="display:inline"
      id="g29">
     <path
-       
style="color:#000;display:inline;overflow:visible;visibility:visible;fill:#3584e4;stroke:none;stroke-width:0.612915;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dashoffset:0.95;stroke-opacity:1;marker:none;enable-background:accumulate;fill-opacity:1"
+       
style="color:#000;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#3584e4;stroke-width:0.612915;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dashoffset:0.95;stroke-opacity:1;marker:none;enable-background:accumulate;fill-opacity:1"
        d="m275.62 271.75-3.13-3.214 4.95-4.95-18.385-1.414 1.414 18.385 4.95-4.95 7.671 7.672"
        transform="matrix(.42866 0 0 .42916 -106.135 -107.6)"
        id="path23" />


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]