Browse Source

Add separate icon for constructors.

pull/1704/head
Siegfried Pammer 6 years ago
parent
commit
94099689e9
  1. 5
      ILSpy/ILSpy.csproj
  2. 70
      ILSpy/Images/Constructor.svg
  3. 12
      ILSpy/Images/Constructor.xaml
  4. 2
      ILSpy/Images/Images.cs

5
ILSpy/ILSpy.csproj

@ -319,6 +319,7 @@ @@ -319,6 +319,7 @@
<Page Include="Images\Back.xaml" />
<Page Include="Images\Class.xaml" />
<Page Include="Images\CollapseAll.xaml" />
<Page Include="Images\Constructor.xaml" />
<Page Include="Images\Copy.xaml" />
<Page Include="Images\Delegate.xaml" />
<Page Include="Images\Delete.xaml" />
@ -461,6 +462,10 @@ @@ -461,6 +462,10 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Constructor.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Copy.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>

70
ILSpy/Images/Constructor.svg

@ -0,0 +1,70 @@ @@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 16 16"
enable-background="new 0 0 16 16"
version="1.1"
id="svg8"
sodipodi:docname="Constructor.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata14">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs12" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1017"
id="namedview10"
showgrid="false"
inkscape:zoom="5.2149125"
inkscape:cx="34.571566"
inkscape:cy="-20.671176"
inkscape:window-x="-8"
inkscape:window-y="340"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
<style
type="text/css"
id="style2">.icon-canvas-transparent{opacity:0;fill:#F6F6F6;} .icon-vs-out{fill:#F6F6F6;} .icon-vs-fg{fill:#F0EFF1;} .icon-vs-action-purple{fill:#652D90;}</style>
<path
class="icon-canvas-transparent"
d="M16 16h-16v-16h16v16z"
id="canvas" />
<path
class="icon-vs-out"
d="M15 3.349v8.403l-6.025 4.248h-.905l-7.07-4.418v-8.255l6.595-3.327h1.118l6.287 3.349z"
id="outline" />
<path
class="icon-vs-fg"
d="M12.715 4.398l-4.228 2.622-4.922-2.748 4.578-2.309 4.572 2.435zm-9.715.704l5 2.792v5.705l-5-3.125v-5.372zm6 8.434v-5.658l4-2.48v5.317l-4 2.821z"
id="iconFg" />
<path
class="icon-vs-action-purple"
d="M8.156.837l-6.156 3.105v7.085l6.517 4.073 5.483-3.867v-7.283l-5.844-3.113zm4.559 3.561l-4.228 2.622-4.922-2.748 4.578-2.309 4.572 2.435zm-9.715.704l5 2.792v5.705l-5-3.125v-5.372zm6 8.434v-5.658l4-2.48v5.317l-4 2.821z"
id="iconBg"
style="fill:#218022;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

12
ILSpy/Images/Constructor.xaml

@ -0,0 +1,12 @@ @@ -0,0 +1,12 @@
<!-- This file was generated by the AiToXaml tool.-->
<!-- Tool Version: 14.0.22307.0 -->
<DrawingGroup xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<GeometryDrawing Geometry="F1 M16,16z M0,0z M16,16L0,16 0,0 16,0 16,16z">
<GeometryDrawing.Brush>
<SolidColorBrush Color="#FFF6F6F6" Opacity="0" />
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1 M16,16z M0,0z M15,3.349L15,11.752 8.975,16 8.07,16 1,11.582 1,3.327 7.595,0 8.713,0 15,3.349z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1 M16,16z M0,0z M12.715,4.398L8.487,7.02 3.565,4.272 8.143,1.963 12.715,4.398z M3,5.102L8,7.894 8,13.599 3,10.474 3,5.102z M9,13.536L9,7.878 13,5.398 13,10.715 9,13.536z" />
<GeometryDrawing Brush="#FF218022" Geometry="F1 M16,16z M0,0z M8.156,0.837L2,3.942 2,11.027 8.517,15.1 14,11.233 14,3.95 8.156,0.837z M12.715,4.398L8.487,7.02 3.565,4.272 8.143,1.963 12.715,4.398z M3,5.102L8,7.894 8,13.599 3,10.474 3,5.102z M9,13.536L9,7.878 13,5.398 13,10.715 9,13.536z" />
</DrawingGroup>

2
ILSpy/Images/Images.cs

@ -93,7 +93,7 @@ namespace ICSharpCode.ILSpy @@ -93,7 +93,7 @@ namespace ICSharpCode.ILSpy
public static readonly ImageSource EnumValue = Load("EnumValue");
public static readonly ImageSource Method = Load("Method");
public static readonly ImageSource Constructor = Load("Method");
public static readonly ImageSource Constructor = Load("Constructor");
public static readonly ImageSource VirtualMethod = Load("Method");
public static readonly ImageSource Operator = Load("Operator");
public static readonly ImageSource ExtensionMethod = Load("ExtensionMethod");

Loading…
Cancel
Save