[Xfce4-commits] [apps/xfce4-taskmanager] 18/21: Improve crosshair cursor icon
noreply at xfce.org
noreply at xfce.org
Thu Jan 26 22:59:22 CET 2017
This is an automated email from the git hooks/post-receive script.
ochosi pushed a commit to branch master
in repository apps/xfce4-taskmanager.
commit d710d130ca4a667623282219cfbd6d6ccbb014ac
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Thu Jan 26 21:06:54 2017 +0100
Improve crosshair cursor icon
---
data/icons/16x16/xc_crosshair.png | Bin 195 -> 359 bytes
data/icons/16x16/xc_crosshair.svg | 101 +++++++++++++--------
data/icons/24x24/xc_crosshair.png | Bin 211 -> 358 bytes
data/icons/24x24/xc_crosshair.svg | 183 +++++++++++++++++++++++++++++++-------
src/process-window.c | 2 +-
5 files changed, 213 insertions(+), 73 deletions(-)
diff --git a/data/icons/16x16/xc_crosshair.png b/data/icons/16x16/xc_crosshair.png
index 55cadfa..b6e794f 100644
Binary files a/data/icons/16x16/xc_crosshair.png and b/data/icons/16x16/xc_crosshair.png differ
diff --git a/data/icons/16x16/xc_crosshair.svg b/data/icons/16x16/xc_crosshair.svg
index 3d3267d..2aa01e5 100644
--- a/data/icons/16x16/xc_crosshair.svg
+++ b/data/icons/16x16/xc_crosshair.svg
@@ -7,6 +7,7 @@
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:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="16"
@@ -15,9 +16,49 @@
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
- sodipodi:docname="xc_crosshair.svg">
+ sodipodi:docname="xc_crosshair.svg"
+ inkscape:export-filename="/home/ochosi/Nerdstuff/xfce/xfce4-taskmanager/data/icons/16x16/xc_crosshair.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
<defs
- id="defs8" />
+ id="defs8">
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient3205">
+ <stop
+ style="stop-color:#000000;stop-opacity:1"
+ offset="0"
+ id="stop3207" />
+ <stop
+ style="stop-color:#707070;stop-opacity:1"
+ offset="1"
+ id="stop3209" />
+ </linearGradient>
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3205"
+ id="radialGradient3350"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0,2.5,-2.1249999,0,8.8750001,-28.5)"
+ cx="10.2"
+ cy="-0.52941179"
+ fx="10.2"
+ fy="-0.52941179"
+ r="8" />
+ <filter
+ inkscape:collect="always"
+ style="color-interpolation-filters:sRGB"
+ id="filter3357"
+ x="-0.036"
+ width="1.072"
+ y="-0.036"
+ height="1.072">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="0.24"
+ id="feGaussianBlur3359" />
+ </filter>
+ </defs>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
@@ -27,17 +68,17 @@
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
- inkscape:window-width="1214"
- inkscape:window-height="720"
+ inkscape:window-width="1920"
+ inkscape:window-height="1029"
id="namedview6"
showgrid="true"
units="px"
inkscape:zoom="20.297462"
- inkscape:cx="2.0432798"
- inkscape:cy="5.760432"
+ inkscape:cx="-1.6130559"
+ inkscape:cy="-1.925258"
inkscape:window-x="0"
inkscape:window-y="27"
- inkscape:window-maximized="0"
+ inkscape:window-maximized="1"
inkscape:current-layer="svg2">
<inkscape:grid
type="xygrid"
@@ -56,43 +97,27 @@
</rdf:RDF>
</metadata>
<path
- inkscape:connector-curvature="0"
- id="path3196"
- d="m 8.5,15 0,-6"
- style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;opacity:0.3" />
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:url(#radialGradient3350);stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter3357)"
+ d="M 8 0 L 8 6 L 8 0 z M 0 8 L 6 8 L 0 8 z M 10 8 L 16 8 L 10 8 z M 8 10 L 8 16 L 8 10 z "
+ id="path3287" />
<path
- style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;opacity:0.3"
- d="m 8.5,8 0,-6"
- id="path3198"
+ style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="M 8,1 8,5 Z"
+ id="path3248"
inkscape:connector-curvature="0" />
<path
- inkscape:connector-curvature="0"
- id="path3200"
- d="m 9,8.5 6,0"
- style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;opacity:0.3" />
- <path
- style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;opacity:0.3"
- d="m 2,8.5 6,0"
- id="path3202"
+ style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="M 1,8 5,8 Z"
+ id="path3246"
inkscape:connector-curvature="0" />
<path
- style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="m 8.5,14 0,-6"
- id="path3232"
+ style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m 11,8 4,0 z"
+ id="path3244"
inkscape:connector-curvature="0" />
<path
- inkscape:connector-curvature="0"
- id="path3234"
- d="m 8.5,7 0,-6"
- style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
- <path
- style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="m 9,7.5 6,0"
- id="path3236"
+ style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m 8,11 0,4 z"
+ id="path3232"
inkscape:connector-curvature="0" />
- <path
- inkscape:connector-curvature="0"
- id="path3238"
- d="m 2,7.5 6,0"
- style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</svg>
diff --git a/data/icons/24x24/xc_crosshair.png b/data/icons/24x24/xc_crosshair.png
index 69770d7..3fe86dc 100644
Binary files a/data/icons/24x24/xc_crosshair.png and b/data/icons/24x24/xc_crosshair.png differ
diff --git a/data/icons/24x24/xc_crosshair.svg b/data/icons/24x24/xc_crosshair.svg
index a91908c..089f411 100644
--- a/data/icons/24x24/xc_crosshair.svg
+++ b/data/icons/24x24/xc_crosshair.svg
@@ -7,6 +7,7 @@
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:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="24"
@@ -15,9 +16,121 @@
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
- sodipodi:docname="xc_crosshair.svg">
+ sodipodi:docname="xc_crosshair.svg"
+ inkscape:export-filename="/home/ochosi/Nerdstuff/xfce/xfce4-taskmanager/data/icons/24x24/xc_crosshair.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
<defs
- id="defs8" />
+ id="defs8">
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient3205">
+ <stop
+ style="stop-color:#000000;stop-opacity:1"
+ offset="0"
+ id="stop3207" />
+ <stop
+ style="stop-color:#707070;stop-opacity:1"
+ offset="1"
+ id="stop3209" />
+ </linearGradient>
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3205"
+ id="radialGradient3259"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(2.5053694e-8,2.8533761,-4.2222222,-1.500402e-8,28.666666,-35.950199)"
+ cx="11.659806"
+ cy="3"
+ fx="11.659806"
+ fy="3"
+ r="9" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3205"
+ id="radialGradient3306"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(2.5053694e-8,2.8533761,-4.2222222,-1.500402e-8,28.666666,-35.505755)"
+ cx="11.659806"
+ cy="3"
+ fx="11.659806"
+ fy="3"
+ r="9" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3205"
+ id="radialGradient3308"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(2.226995e-8,3.2100481,-3.7530864,-1.6879522e-8,26.592592,-41.693974)"
+ cx="11.659806"
+ cy="3"
+ fx="11.659806"
+ fy="3"
+ r="9" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3205"
+ id="radialGradient3310"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(2.226995e-8,3.2100481,-3.7530864,-1.6879522e-8,27.037036,-41.693974)"
+ cx="11.659806"
+ cy="3"
+ fx="11.659806"
+ fy="3"
+ r="9" />
+ <filter
+ inkscape:collect="always"
+ style="color-interpolation-filters:sRGB"
+ id="filter3312"
+ x="-0.12"
+ width="1.24"
+ y="-0.06"
+ height="1.12">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="0.2"
+ id="feGaussianBlur3314" />
+ </filter>
+ <filter
+ inkscape:collect="always"
+ style="color-interpolation-filters:sRGB"
+ id="filter3316"
+ x="-0.06"
+ width="1.12"
+ y="-0.12"
+ height="1.24">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="0.2"
+ id="feGaussianBlur3318" />
+ </filter>
+ <filter
+ inkscape:collect="always"
+ style="color-interpolation-filters:sRGB"
+ id="filter3320"
+ x="-0.06"
+ width="1.12"
+ y="-0.12"
+ height="1.24">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="0.2"
+ id="feGaussianBlur3322" />
+ </filter>
+ <filter
+ inkscape:collect="always"
+ style="color-interpolation-filters:sRGB"
+ id="filter3324"
+ x="-0.12"
+ width="1.24"
+ y="-0.06"
+ height="1.12">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="0.2"
+ id="feGaussianBlur3326" />
+ </filter>
+ </defs>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
@@ -27,17 +140,17 @@
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
- inkscape:window-width="1214"
- inkscape:window-height="720"
+ inkscape:window-width="1920"
+ inkscape:window-height="1029"
id="namedview6"
showgrid="true"
units="px"
- inkscape:zoom="20.297462"
- inkscape:cx="7.9553492"
- inkscape:cy="11.672501"
+ inkscape:zoom="14.352473"
+ inkscape:cx="15.337088"
+ inkscape:cy="-1.6756574"
inkscape:window-x="0"
inkscape:window-y="27"
- inkscape:window-maximized="0"
+ inkscape:window-maximized="1"
inkscape:current-layer="svg2">
<inkscape:grid
type="xygrid"
@@ -56,43 +169,45 @@
</rdf:RDF>
</metadata>
<path
+ style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;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;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero [...]
+ d="m 10,2 0,8 4,0 0,-8 -4,0 z"
+ id="path3304"
inkscape:connector-curvature="0"
- id="path3196"
- d="m 11.5,22 0,-8"
- style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;opacity:0.3" />
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90" />
<path
- style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;opacity:0.3"
- d="m 11.5,13.000001 0,-8.0000006"
- id="path3198"
+ style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;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;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero [...]
+ d="m 14,10 0,4 8,0 0,-4 -8,0 z"
+ id="path3302"
inkscape:connector-curvature="0" />
<path
- inkscape:connector-curvature="0"
- id="path3200"
- d="m 12,13.5 8,0"
- style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;opacity:0.3" />
- <path
- style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;opacity:0.3"
- d="m 3,13.5 8,0"
- id="path3202"
+ style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;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;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero [...]
+ d="m 14,14 -4,0 0,8 4,0 0,-8 z"
+ id="path3300"
inkscape:connector-curvature="0" />
<path
- style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="m 11.5,21 0,-8"
- id="path3232"
+ style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;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;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero [...]
+ d="m 10,14 0,-4 -8,0 0,4 8,0 z"
+ id="path3257"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
- id="path3234"
- d="m 11.5,12.000001 0,-8.0000006"
- style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+ id="path3281"
+ d="m 11,9 2,0 0,-6 -2,0 0,6 z"
+ style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;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;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero [...]
<path
- style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="m 12,12.5 8,0"
- id="path3236"
+ style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;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;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero [...]
+ d="m 11,21 2,0 0,-6 -2,0 0,6 z"
+ id="path3287"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
- id="path3238"
- d="m 3,12.5 8,0"
- style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+ id="path3289"
+ d="m 9,13 0,-2 -6,0 0,2 6,0 z"
+ style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;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;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero [...]
+ <path
+ style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;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;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero [...]
+ d="m 21,13 0,-2 -6,0 0,2 6,0 z"
+ id="path3291"
+ inkscape:connector-curvature="0" />
</svg>
diff --git a/src/process-window.c b/src/process-window.c
index b7d925e..16ba8c0 100644
--- a/src/process-window.c
+++ b/src/process-window.c
@@ -247,7 +247,7 @@ xtm_process_window_init (XtmProcessWindow *window)
window->settings_button = xtm_settings_tool_button_new ();
gtk_toolbar_insert (GTK_TOOLBAR (window->toolbar), GTK_TOOL_ITEM (window->settings_button), 1);
- icon = gtk_image_new_from_icon_name ("xc_crosshair", GTK_ICON_SIZE_SMALL_TOOLBAR);
+ icon = gtk_image_new_from_icon_name ("xc_crosshair", GTK_ICON_SIZE_LARGE_TOOLBAR);
xwininfo = gtk_tool_button_new (icon, _("Identify Window"));
gtk_widget_set_tooltip_text (GTK_WIDGET (xwininfo), _("Identify an open window by clicking on it."));
gtk_toolbar_insert (GTK_TOOLBAR (window->toolbar), GTK_TOOL_ITEM (xwininfo), 2);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list