Converted more text labels to icons. Also made input boxes lose focus on mousedown in workarea

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1529 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2010-04-20 13:21:51 +00:00
parent 91b033a470
commit 2103595301
4 changed files with 132 additions and 30 deletions

View File

@@ -312,6 +312,37 @@
</svg>
</g>
<g id="fill">
<svg width="32" height="33" xmlns="http://www.w3.org/2000/svg">
<g id="svg_5">
<path id="svg_4" d="m17.49167,10.97621c6.9875,-0.325 12.1875,2.70833 12.13333,7.36667l-0.325,10.075c-0.75833,4.0625 -2.275,3.0875 -3.03333,0.10833l0.21667,-9.64166c-0.43333,-0.975 -1.08333,-1.625 -1.95,-1.51667" stroke-linejoin="round" stroke="#606060" fill="#c0c0c0"/>
<path id="svg_1" d="m2.00055,17.1309l10.72445,-10.72445l12.67445,12.13279l-3.52056,0.05389l-9.15389,9.26223l-10.72445,-10.72445z" stroke-linejoin="round" stroke="#000000" fill="#c0c0c0"/>
<path id="svg_3" d="m14.35,13.57621c-0.1625,-3.95417 0.86667,-11.7 -1.84167,-11.59167c-2.70833,0.10833 -2.6,2.05833 -2.16667,6.93333" stroke-linejoin="round" stroke="#000000" fill="none"/>
<circle id="svg_2" r="1.60938" cy="15.20121" cx="14.45833" stroke-linejoin="round" stroke="#000000" fill="none"/>
</g>
</svg>
</g>
<g id="stroke">
<svg width="50" height="50" xmlns="http://www.w3.org/2000/svg">
<rect fill="none" stroke="#707070" stroke-width="10" x="8.625" y="8.625" width="32.75" height="32.75" id="svg_1"/>
</svg>
</g>
<g id="opacity">
<svg width="50" height="50" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient y2="0.1" x2="0.9" y1="0.9" x1="0.1" id="svg_7">
<stop stop-color="#000000" offset="0"/>
<stop stop-opacity="0" stop-color="#000000" offset="1"/>
</linearGradient>
</defs>
<rect id="svg_4" height="50" width="50" y="0" x="0" fill="#ffffff"/>
<rect id="svg_1" height="25" width="25" y="0" x="0" fill="#a0a0a0"/>
<rect id="svg_2" height="25" width="25" y="25" x="25" fill="#a0a0a0"/>
<rect id="svg_3" height="50" width="50" y="0" x="0" stroke-width="2" stroke="url(#svg_7)" fill="url(#svg_7)"/>
</svg>
</g>
<g id="new_image">
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -657,6 +688,32 @@
</svg>
</g>
<g id="angle">
<svg width="50" height="50" xmlns="http://www.w3.org/2000/svg">
<path stroke-width="2" stroke-dasharray="1,3" id="svg_6" d="m32.78778,41.03469c-0.40379,-8.68145 -4.50873,-16.79003 -12.11365,-20.5932" stroke="#000000" fill="none"/>
<path id="svg_7" d="m29.20348,7.67055l-24.20348,34.47921l41.16472,0" stroke-width="3" stroke="#404040" fill="none"/>
</svg>
</g>
<!-- Currently does not work with svg-icons... -->
<!--
<g id="blur">
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="svg_2" x1="0.36328" y1="0.10156" x2="1" y2="1">
<stop offset="0" stop-color="#ffffff"/>
<stop offset="1" stop-color="#3b7e9b"/>
</linearGradient>
<filter id="svg_4_blur">
<feGaussianBlur stdDeviation="0.8" in="SourceGraphic"/>
</filter>
</defs>
<path id="svg_1" d="m11.625,18l-9.625,0l0,-12l9.625,0" stroke="#000000" fill="url(#svg_2)"/>
<path filter="url(#svg_4_blur)" id="svg_4" d="m11.75,6l10.25,0l0,12l-10.25,0" stroke="#000000" fill="url(#svg_2)"/>
</svg>
</g>
-->
<g id="align">
<svg width="22" height="22" xmlns="http://www.w3.org/2000/svg">
<rect stroke="#606060" fill="#c0c0c0" id="svg_4" height="7" width="12" y="7.5" x="4.5"/>