From d710d130ca4a667623282219cfbd6d6ccbb014ac Mon Sep 17 00:00:00 2001 From: Simon Steinbeiss Date: Thu, 26 Jan 2017 21:06:54 +0100 Subject: [PATCH] Improve crosshair cursor icon --- data/icons/16x16/xc_crosshair.png | Bin 195 -> 359 bytes data/icons/16x16/xc_crosshair.svg | 103 +++++++++------- data/icons/24x24/xc_crosshair.png | Bin 211 -> 358 bytes data/icons/24x24/xc_crosshair.svg | 187 ++++++++++++++++++++++++------ src/process-window.c | 2 +- 5 files changed, 216 insertions(+), 76 deletions(-) diff --git a/data/icons/16x16/xc_crosshair.png b/data/icons/16x16/xc_crosshair.png index 55cadfafb93f3820272d63fdb8a482c63a8e08a2..b6e794f43cb7bcd8f1b21702cd27ae096678b559 100644 GIT binary patch delta 257 zcmX@i_?&4%Ui}kK7sn8b-mQ}k_O=-CxYi3 zs-3u^64J`H>~q<)_I>_y%{wlWR36P~F6L8Y$+^93-LEfm83Yp}#n!y$O52xREoN~j z>i13uo3Gi8%SB(TJ8;J1vWU{B7Y%HVz%PwE7+N>kIRAkGw3sHw9 zn3H)rIxdvn^)x;IIezk*tuvngoTA;uWVNp>=l@+9LBUze4l?$B|F`L8RQDzw!Sx5v z>{!ChuxiyL0VWp~27|uG=_*FXzxEwB;Hg(O{I{!~^<_4Dzsk1U-;<8Wn;ZH+)wZ9? R%)r3F;OXk;vd$@?2>=vwc9H-9 delta 92 zcmaFPbeM5MUZ{hoi(`mIZ*sx{<{$n3lRASgyYnU_BseA|^S=H6|Nn0zBcn%MoNi(% ytr4LHMtR4S-KS`~UuInT;Q#;sb|zaH7=ncae{T&Fy3WABz~JfX=d#Wzp$PyTc_rrn 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"> + id="defs8"> + + + + + + + + + + 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" /> - + - - - diff --git a/data/icons/24x24/xc_crosshair.png b/data/icons/24x24/xc_crosshair.png index 69770d7d621b0db2b703ba8411336512862ab4ec..3fe86dc29a0b00d5655c64ade828aa0bc30175c3 100644 GIT binary patch delta 256 zcmcc2_>5^nUj1WF7sn8f&bJ|sea!|uGS^S)S8&MeJkZE}|3RbR9Km?Tk6h>F!p=HH zZ&`U|YS*rPDn-ZSs-H+$?Do_$IBhgb(xXY`TB&c>-X%gSw4PNS+oV%)ZfV<6;hf3y z<{zm3znvvtHPGl%b-&Gd$4{D_k94k=%09nyX2aY{Nt!=OV$9@TFT3!}-z4YTh%Wtef64Bb#YqqE` QFfcH9y85}Sb4q9e06ji>tpET3 delta 108 zcmaFHbeVBNUTT1+i(`mK=iAASTn7|*SnfXh{3`qRftRrvAs4zf6mzG{v{liZc{#zP zU~NWXBWv-=t1|a215~!wInHNV(Bk>><&DfA$$w6Y + 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"> + id="defs8"> + + + + + + + + + + + + + + + + + + + + + + inkscape:export-xdpi="90" + inkscape:export-ydpi="90" /> + + + 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;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:evenodd;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" /> - + 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;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:evenodd;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" /> - 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);