[adwaita-icon-theme] add CSS context-menu cursor
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [adwaita-icon-theme] add CSS context-menu cursor
- Date: Tue, 17 May 2016 12:48:10 +0000 (UTC)
commit 859de0ab5d8a48078d195788d3f03182a0fe6886
Author: Jakub Steiner <jimmac gmail com>
Date: Tue May 17 14:47:08 2016 +0200
add CSS context-menu cursor
- sadly the python script no longer works for me,
lots of manual labour. Prone to make a mistake,
so beware
Adwaita/cursors/context-menu | Bin 0 -> 69120 bytes
src/cursors/adwaita.svg | 81 +++++++++++++++++++++++++++++--
src/cursors/pngs/24x24/context-menu.png | Bin 0 -> 1067 bytes
src/cursors/pngs/32x32/context-menu.png | Bin 0 -> 1496 bytes
src/cursors/pngs/48x48/context-menu.png | Bin 0 -> 2324 bytes
src/cursors/pngs/64x64/context-menu.png | Bin 0 -> 3319 bytes
src/cursors/pngs/96x96/context-menu.png | Bin 0 -> 5160 bytes
src/cursors/pngs/context-menu.in | 5 ++
src/cursors/pngs/make.sh | 1 +
9 files changed, 82 insertions(+), 5 deletions(-)
---
diff --git a/Adwaita/cursors/context-menu b/Adwaita/cursors/context-menu
new file mode 100644
index 0000000..072af01
Binary files /dev/null and b/Adwaita/cursors/context-menu differ
diff --git a/src/cursors/adwaita.svg b/src/cursors/adwaita.svg
index ccec1f2..89823bc 100644
--- a/src/cursors/adwaita.svg
+++ b/src/cursors/adwaita.svg
@@ -7994,6 +7994,19 @@
fx="304.93979"
fy="22.664869"
r="10.045941" />
+ <filter
+ inkscape:collect="always"
+ style="color-interpolation-filters:sRGB"
+ id="filter10211"
+ x="-0.23443587"
+ width="1.4688717"
+ y="-0.55030737"
+ height="2.1006147">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="0.68071875"
+ id="feGaussianBlur10213" />
+ </filter>
</defs>
<sodipodi:namedview
id="base"
@@ -8006,8 +8019,8 @@
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="1"
- inkscape:cx="12.200898"
- inkscape:cy="191.96399"
+ inkscape:cx="530.97718"
+ inkscape:cy="297.31434"
inkscape:document-units="px"
inkscape:current-layer="layer5"
width="400px"
@@ -8038,7 +8051,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
+ <dc:title></dc:title>
<dc:creator>
<cc:Agent>
<dc:title>Jakub Steiner</dc:title>
@@ -9581,6 +9594,19 @@
style="color:#000000;clip-rule:nonzero;display:block;overflow:visible;visibility:visible;opacity:0.6;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;filter:url(#filter6035);color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
inkscape:connector-curvature="0"
transform="matrix(0.87486061,0,0,0.88206691,81.91838,2.4712102)" />
+ <use
+ x="0"
+ y="0"
+ xlink:href="#path5567"
+ id="use10032"
+ transform="translate(420,0)"
+ width="100%"
+ height="100%" />
+ <path
+ inkscape:connector-curvature="0"
+
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.545;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999964;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;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;filter:url(#filter10211)"
+ d="m 450.51562,29.01562 a 1.484375,1.484375 0 0 0 -1.48437,1.484375 1.484375,1.484375 0 0 0
1.48437,1.484375 1.484375,1.484375 0 0 0 1,-0.390625 1.484375,1.484375 0 0 0 1,0.390625 1.484375,1.484375 0 0
0 1,-0.390625 1.484375,1.484375 0 0 0 1,0.390625 1.484375,1.484375 0 0 0 1.48438,-1.484375 1.484375,1.484375
0 0 0 -1.48438,-1.484375 1.484375,1.484375 0 0 0 -1,0.390625 1.484375,1.484375 0 0 0 -1,-0.390625
1.484375,1.484375 0 0 0 -1,0.390625 1.484375,1.484375 0 0 0 -1,-0.390625 z"
+ id="circle10061-0" />
</g>
<g
inkscape:label="cursors"
@@ -10524,7 +10550,7 @@
transform="matrix(1.044909,0,0,1.044909,-38.786277,139.44084)">
<circle
id="path5737"
-
style="color:#000000;display:block;overflow:visible;visibility:visible;fill:url(#radialGradient19586);fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:1.27570918;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
+
style="color:#000000;display:block;overflow:visible;visibility:visible;fill:url(#radialGradient19586);fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:1.27570915;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
cx="62.042439"
cy="56.985283"
r="8.138031" />
@@ -11966,6 +11992,36 @@
id="path6959"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccccc" />
+ <use
+ x="0"
+ y="0"
+ xlink:href="#default-pointer-c"
+ id="use10030"
+ transform="translate(420,0)"
+ width="100%"
+ height="100%" />
+ <path
+
style="color:#000000;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;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999964;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;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
+ d="M 450.51562 28.015625 A 1.484375 1.484375 0 0 0 449.03125 29.5 A 1.484375 1.484375 0 0 0 450.51562
30.984375 A 1.484375 1.484375 0 0 0 451.51562 30.59375 A 1.484375 1.484375 0 0 0 452.51562 30.984375 A
1.484375 1.484375 0 0 0 453.51562 30.59375 A 1.484375 1.484375 0 0 0 454.51562 30.984375 A 1.484375 1.484375
0 0 0 456 29.5 A 1.484375 1.484375 0 0 0 454.51562 28.015625 A 1.484375 1.484375 0 0 0 453.51562 28.40625 A
1.484375 1.484375 0 0 0 452.51562 28.015625 A 1.484375 1.484375 0 0 0 451.51562 28.40625 A 1.484375 1.484375
0 0 0 450.51562 28.015625 z "
+ id="circle10061" />
+ <circle
+
style="color:#000000;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;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999964;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;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
+ id="path10036"
+ cx="450.5"
+ cy="29.5"
+ r="0.5" />
+ <circle
+ r="0.5"
+ cy="29.5"
+ cx="452.5"
+ id="circle10053"
+
style="color:#000000;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;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999964;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;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
/>
+ <circle
+
style="color:#000000;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;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999964;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;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
+ id="circle10055"
+ cx="454.51562"
+ cy="29.5"
+ r="0.5" />
</g>
<g
inkscape:groupmode="layer"
@@ -14406,11 +14462,18 @@
id="circle6961"
cx="409.50064"
cy="20.557781" />
+ <circle
+ r="0.32421875"
+ cy="13.53033"
+ cx="438.50446"
+ id="circle10034"
+
style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
/>
</g>
<g
inkscape:label="cursors overlays"
id="g12244"
- inkscape:groupmode="layer">
+ inkscape:groupmode="layer"
+ style="display:inline">
<g
style="display:inline"
id="g12246"
@@ -16820,5 +16883,13 @@
x="398"
y="10"
inkscape:label="#rect4642" />
+ <rect
+ inkscape:label="#rect4642"
+ y="10"
+ x="435"
+ height="24"
+ width="24"
+ id="context-menu"
+
style="color:#000000;display:block;overflow:visible;visibility:visible;opacity:0.52571429;fill:#6e6e6e;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:accumulate"
/>
</g>
</svg>
diff --git a/src/cursors/pngs/24x24/context-menu.png b/src/cursors/pngs/24x24/context-menu.png
new file mode 100644
index 0000000..50fb7be
Binary files /dev/null and b/src/cursors/pngs/24x24/context-menu.png differ
diff --git a/src/cursors/pngs/32x32/context-menu.png b/src/cursors/pngs/32x32/context-menu.png
new file mode 100644
index 0000000..372d175
Binary files /dev/null and b/src/cursors/pngs/32x32/context-menu.png differ
diff --git a/src/cursors/pngs/48x48/context-menu.png b/src/cursors/pngs/48x48/context-menu.png
new file mode 100644
index 0000000..7364821
Binary files /dev/null and b/src/cursors/pngs/48x48/context-menu.png differ
diff --git a/src/cursors/pngs/64x64/context-menu.png b/src/cursors/pngs/64x64/context-menu.png
new file mode 100644
index 0000000..3646dad
Binary files /dev/null and b/src/cursors/pngs/64x64/context-menu.png differ
diff --git a/src/cursors/pngs/96x96/context-menu.png b/src/cursors/pngs/96x96/context-menu.png
new file mode 100644
index 0000000..672484e
Binary files /dev/null and b/src/cursors/pngs/96x96/context-menu.png differ
diff --git a/src/cursors/pngs/context-menu.in b/src/cursors/pngs/context-menu.in
new file mode 100644
index 0000000..94d8763
--- /dev/null
+++ b/src/cursors/pngs/context-menu.in
@@ -0,0 +1,5 @@
+24 4 4 24x24/context-menu.png
+32 5 5 32x32/context-menu.png
+48 7 7 48x48/context-menu.png
+64 9 9 64x64/context-menu.png
+96 14 13 96x96/context-menu.png
diff --git a/src/cursors/pngs/make.sh b/src/cursors/pngs/make.sh
index 694cc06..bb8a425 100755
--- a/src/cursors/pngs/make.sh
+++ b/src/cursors/pngs/make.sh
@@ -58,6 +58,7 @@ xcursorgen zoom-in.in ../../../Adwaita/cursors/zoom-in
xcursorgen zoom-out.in ../../../Adwaita/cursors/zoom-out
xcursorgen all-scroll.in ../../../Adwaita/cursors/all-scroll
xcursorgen vertical-text.in ../../../Adwaita/cursors/vertical-text
+xcursorgen context-menu.in ../../../Adwaita/cursors/context-menu
cd ../../../Adwaita/cursors
ln -sf dotbox draped_box
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]