Browse Source

Add warning, find assembly and SearchMsdn icon.

pull/1704/head
Siegfried Pammer 7 years ago
parent
commit
a465c71874
  1. 15
      ILSpy/ILSpy.csproj
  2. 93
      ILSpy/Images/FindAssembly.svg
  3. 23
      ILSpy/Images/FindAssembly.xaml
  4. 89
      ILSpy/Images/SearchMsdn.svg
  5. 21
      ILSpy/Images/SearchMsdn.xaml
  6. 10
      ILSpy/Images/Warning.xaml
  7. 2
      ILSpy/Languages/CSharpLanguage.cs
  8. 2
      ILSpy/TreeNodes/SearchMsdnContextMenuEntry.cs

15
ILSpy/ILSpy.csproj

@ -327,6 +327,7 @@ @@ -327,6 +327,7 @@
<Page Include="Images\Event.xaml" />
<Page Include="Images\ExtensionMethod.xaml" />
<Page Include="Images\Field.xaml" />
<Page Include="Images\FindAssembly.xaml" />
<Page Include="Images\Folder.Closed.xaml" />
<Page Include="Images\Folder.Open.xaml" />
<Page Include="Images\Forward.xaml" />
@ -354,10 +355,12 @@ @@ -354,10 +355,12 @@
<Page Include="Images\ResourceXslt.xaml" />
<Page Include="Images\Save.xaml" />
<Page Include="Images\Search.xaml" />
<Page Include="Images\SearchMsdn.xaml" />
<Page Include="Images\Sort.xaml" />
<Page Include="Images\Struct.xaml" />
<Page Include="Images\SubTypes.xaml" />
<Page Include="Images\SuperTypes.xaml" />
<Page Include="Images\Warning.xaml" />
<Page Include="MainWindow.xaml" />
<Page Include="OpenFromGacDialog.xaml" />
<Page Include="OpenListDialog.xaml" />
@ -484,6 +487,10 @@ @@ -484,6 +487,10 @@
<Page Update="Images\Field.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\FindAssembly.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Folder.Closed.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
@ -574,6 +581,10 @@ @@ -574,6 +581,10 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\SearchMsdn.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Sort.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
@ -588,6 +599,10 @@ @@ -588,6 +599,10 @@
<Page Update="Images\SuperTypes.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Warning.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Options\DecompilerSettingsPanel.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>

93
ILSpy/Images/FindAssembly.svg

@ -0,0 +1,93 @@ @@ -0,0 +1,93 @@
<?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"
version="1.1"
id="svg12"
sodipodi:docname="FindAssembly.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata18">
<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="defs16" />
<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="namedview14"
showgrid="false"
inkscape:zoom="41.7193"
inkscape:cx="10.353315"
inkscape:cy="7.8745385"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg12" />
<style
id="style2">.st0{opacity:0}.st0,.st1{fill:#f6f6f6}.st2{fill:#424242}</style>
<path
style="opacity:0;fill:#f6f6f6"
inkscape:connector-curvature="0"
id="path4"
d="M 0,0 H 16 V 16 H 0 Z"
class="st0" />
<path
style="fill:#f6f6f6"
inkscape:connector-curvature="0"
id="path6"
d="m 16,3 v 9 H 8 V 9 H 6 v 2 H 0 V 4 H 6 V 6 H 8 V 3 Z"
class="st1" />
<style
id="style20">.icon-canvas-transparent{opacity:0;fill:#f6f6f6}.icon-vs-out{fill:#f6f6f6}.icon-vs-bg{fill:#424242}.icon-vs-fg{fill:#f0eff1}</style>
<path
style="opacity:0;fill:#f6f6f6;stroke-width:0.56247044"
inkscape:connector-curvature="0"
class="icon-canvas-transparent"
d="M 16,15.999054 H 7 V 7 h 9 z"
id="canvas" />
<path
style="fill:#424242"
inkscape:connector-curvature="0"
id="path9"
d="m 1,5 h 4 v 5 H 1 Z M 9,4 h 6 v 7 H 9 Z M 6,7 H 8 V 8 H 6 Z"
class="st2" />
<path
style="opacity:1;fill:#f6f6f6;stroke-width:0.56247044"
d="M 12.71875 7 C 10.909188 7 9.4375 8.4719028 9.4375 10.28125 A 3.200625 3.2002886 0 0 0 9.8867188 11.917969 L 7.2460938 14.558594 A 0.8443125 0.84422376 0 0 0 7.2460938 15.751953 A 0.840375 0.84028667 0 0 0 8.4394531 15.751953 L 11.080078 13.111328 A 3.1995 3.1991637 0 0 0 12.71875 13.560547 A 3.285 3.2846547 0 0 0 16 10.28125 C 16 8.4724398 14.528313 7 12.71875 7 z M 12.71875 8.125 A 2.158875 2.1586481 0 0 1 14.875 10.28125 A 2.1583125 2.1580857 0 0 1 12.71875 12.4375 C 11.529626 12.4375 10.5625 11.469687 10.5625 10.28125 C 10.5625 9.0928121 11.529626 8.125 12.71875 8.125 z "
id="outline-6" />
<path
style="opacity:0.75;fill:#f0eff1;stroke-width:0.56247044"
inkscape:connector-curvature="0"
class="icon-vs-fg"
d="m 14.875,10.280718 a 2.1583125,2.1580857 0 0 1 -2.156063,2.155836 c -1.189124,0 -2.156062,-0.967399 -2.156062,-2.155836 0,-1.1884379 0.966938,-2.1558362 2.156062,-2.1558362 A 2.158875,2.1586481 0 0 1 14.875,10.280718 Z"
id="iconFg" />
<path
style="fill:#424242;stroke-width:0.56247044"
inkscape:connector-curvature="0"
class="icon-vs-bg"
d="M 12.718937,7.5624409 A 2.7225,2.7222139 0 0 0 9.9998125,10.280718 c 0,0.647932 0.2373755,1.235682 0.6170625,1.703071 l -2.97225,2.9725 a 0.28160528,0.28157568 0 0 0 0.39825,0.398208 l 2.97225,-2.9725 c 0.468,0.38021 1.055812,0.61756 1.703812,0.61756 1.499063,0 2.718563,-1.219372 2.718563,-2.718277 0,-1.4989049 -1.2195,-2.7188391 -2.718563,-2.7188391 z m 0,4.8746751 c -1.189124,0 -2.156062,-0.967398 -2.156062,-2.155836 0,-1.1884375 0.966938,-2.1563982 2.156062,-2.1563982 1.188563,0 2.156063,0.9673983 2.156063,2.1558362 0,1.188437 -0.9675,2.156398 -2.156063,2.156398 z"
id="iconBg" />
</svg>

After

Width:  |  Height:  |  Size: 4.1 KiB

23
ILSpy/Images/FindAssembly.xaml

@ -0,0 +1,23 @@ @@ -0,0 +1,23 @@
<!-- 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 M0,0L16,0 16,16 0,16z">
<GeometryDrawing.Brush>
<SolidColorBrush Color="#FFF6F6F6" Opacity="0" />
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1 M16,16z M0,0z M16,3L16,12 8,12 8,9 6,9 6,11 0,11 0,4 6,4 6,6 8,6 8,3z" />
<GeometryDrawing Geometry="F1 M16,16z M0,0z M16,15.999054L7,15.999054 7,7 16,7z">
<GeometryDrawing.Brush>
<SolidColorBrush Color="#FFF6F6F6" Opacity="0" />
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Brush="#FF424242" Geometry="F1 M16,16z M0,0z M1,5L5,5 5,10 1,10z M9,4L15,4 15,11 9,11z M6,7L8,7 8,8 6,8z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1 M16,16z M0,0z M12.71875,7C10.909188,7,9.4375,8.4719028,9.4375,10.28125A3.200625,3.2002886,0,0,0,9.8867188,11.917969L7.2460938,14.558594A0.8443125,0.84422376,0,0,0,7.2460938,15.751953A0.840375,0.84028667,0,0,0,8.4394531,15.751953L11.080078,13.111328A3.1995,3.1991637,0,0,0,12.71875,13.560547A3.285,3.2846547,0,0,0,16,10.28125C16,8.4724398,14.528313,7,12.71875,7z M12.71875,8.125A2.158875,2.1586481,0,0,1,14.875,10.28125A2.1583125,2.1580857,0,0,1,12.71875,12.4375C11.529626,12.4375 10.5625,11.469687 10.5625,10.28125 10.5625,9.0928121 11.529626,8.125 12.71875,8.125z" />
<GeometryDrawing Geometry="F1 M16,16z M0,0z M14.875,10.280718A2.1583125,2.1580857,0,0,1,12.718937,12.436554C11.529813,12.436554 10.562875,11.469155 10.562875,10.280718 10.562875,9.0922801 11.529813,8.1248818 12.718937,8.1248818A2.158875,2.1586481,0,0,1,14.875,10.280718z">
<GeometryDrawing.Brush>
<SolidColorBrush Color="#FFF0EFF1" Opacity="0.75" />
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Brush="#FF424242" Geometry="F1 M16,16z M0,0z M12.718937,7.5624409A2.7225,2.7222139,0,0,0,9.9998125,10.280718C9.9998125,10.92865,10.237188,11.5164,10.616875,11.983789L7.644625,14.956289A0.28160528,0.28157568,0,0,0,8.042875,15.354497L11.015125,12.381997C11.483125,12.762207 12.070937,12.999557 12.718937,12.999557 14.218,12.999557 15.4375,11.780185 15.4375,10.28128 15.4375,8.7823751 14.218,7.5624409 12.718937,7.5624409z M12.718937,12.437116C11.529813,12.437116 10.562875,11.469718 10.562875,10.28128 10.562875,9.0928425 11.529813,8.1248818 12.718937,8.1248818 13.9075,8.1248818 14.875,9.0922801 14.875,10.280718 14.875,11.469155 13.9075,12.437116 12.718937,12.437116z" />
</DrawingGroup>

89
ILSpy/Images/SearchMsdn.svg

@ -0,0 +1,89 @@ @@ -0,0 +1,89 @@
<?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"
version="1.1"
id="svg8"
sodipodi:docname="SearchMsdn.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 />
</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="1432"
inkscape:window-height="1008"
id="namedview10"
showgrid="false"
inkscape:zoom="29.5"
inkscape:cx="9.8604106"
inkscape:cy="6.6116516"
inkscape:window-x="-7"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg8" />
<style
id="style2">.icon-canvas-transparent{opacity:0;fill:#f6f6f6}.icon-vs-out{fill:#f6f6f6}.icon-vs-bg{fill:#424242}.icon-vs-fg{fill:#f0eff1}</style>
<path
class="icon-canvas-transparent"
d="M16 16H0V0h16v16z"
id="canvas" />
<path
class="icon-vs-out"
d="M16 5.833a5.84 5.84 0 0 1-5.833 5.833 5.688 5.688 0 0 1-2.913-.8L2.56 15.559a1.494 1.494 0 0 1-2.121.002 1.501 1.501 0 0 1 0-2.121l4.694-4.695a5.69 5.69 0 0 1-.8-2.911C4.333 2.617 6.95 0 10.167 0S16 2.617 16 5.833z"
id="outline" />
<path
class="icon-vs-fg"
d="M14 5.833a3.837 3.837 0 0 1-3.833 3.833c-2.114 0-3.833-1.72-3.833-3.833S8.053 2 10.167 2A3.838 3.838 0 0 1 14 5.833z"
id="iconFg" />
<path
style="fill:#03a5ef;fill-opacity:1"
d="m 2,8 h 6 v 6 H 2 Z"
id="rect11-2" />
<path
style="fill:#ffb803;fill-opacity:1"
d="m 9,8 h 6 v 6 H 9 Z"
id="rect11-0-4" />
<path
style="fill:#7fbb03;fill-opacity:1"
d="m 9,1 h 6 V 7 H 9 Z"
id="rect11-0" />
<path
style="fill:#f25021;fill-opacity:1"
d="M 2,1 H 8 V 7 H 2 Z"
id="rect11" />
<path
class="icon-vs-bg"
d="M10.167 1a4.84 4.84 0 0 0-4.834 4.833c0 1.152.422 2.197 1.097 3.028l-5.284 5.285a.5.5 0 0 0 .708.708l5.284-5.285c.832.676 1.877 1.098 3.029 1.098 2.665 0 4.833-2.168 4.833-4.833S12.832 1 10.167 1zm0 8.667c-2.114 0-3.833-1.72-3.833-3.833S8.053 2 10.167 2C12.28 2 14 3.72 14 5.833s-1.72 3.834-3.833 3.834z"
id="iconBg" />
<path
inkscape:connector-curvature="0"
class="icon-vs-fg"
d="m 14,5.833 a 3.837,3.837 0 0 1 -3.833,3.8329996 c -2.114,0 -3.8330001,-1.72 -3.8330001,-3.8329996 C 6.3339999,3.72 8.053,2 10.167,2 A 3.838,3.838 0 0 1 14,5.833 Z"
id="iconFg-5"
style="fill:#f0eff1;fill-opacity:0.76862746" />
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

21
ILSpy/Images/SearchMsdn.xaml

@ -0,0 +1,21 @@ @@ -0,0 +1,21 @@
<!-- 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 M16,5.833A5.84,5.84,0,0,1,10.167,11.666A5.688,5.688,0,0,1,7.254,10.866L2.56,15.559A1.494,1.494,0,0,1,0.439,15.561A1.501,1.501,0,0,1,0.439,13.44L5.133,8.745A5.69,5.69,0,0,1,4.333,5.834C4.333,2.617 6.95,0 10.167,0 13.384,0 16,2.617 16,5.833z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1 M16,16z M0,0z M14,5.833A3.837,3.837,0,0,1,10.167,9.666C8.053,9.666 6.334,7.946 6.334,5.833 6.334,3.72 8.053,2 10.167,2A3.838,3.838,0,0,1,14,5.833z" />
<GeometryDrawing Brush="#FF03A5EF" Geometry="F1 M16,16z M0,0z M2,8L8,8 8,14 2,14z" />
<GeometryDrawing Brush="#FFFFB803" Geometry="F1 M16,16z M0,0z M9,8L15,8 15,14 9,14z" />
<GeometryDrawing Brush="#FF7FBB03" Geometry="F1 M16,16z M0,0z M9,1L15,1 15,7 9,7z" />
<GeometryDrawing Brush="#FFF25021" Geometry="F1 M16,16z M0,0z M2,1L8,1 8,7 2,7z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1 M16,16z M0,0z M10.167,1A4.84,4.84,0,0,0,5.333,5.833C5.333,6.985,5.755,8.03,6.43,8.861L1.146,14.146A0.5,0.5,0,0,0,1.854,14.854L7.138,9.569C7.97,10.245 9.015,10.667 10.167,10.667 12.832,10.667 15,8.499 15,5.834 15,3.169 12.832,1 10.167,1z M10.167,9.667C8.053,9.667 6.334,7.947 6.334,5.834 6.334,3.721 8.053,2 10.167,2 12.28,2 14,3.72 14,5.833 14,7.946 12.28,9.667 10.167,9.667z" />
<GeometryDrawing Geometry="F1 M16,16z M0,0z M14,5.833A3.837,3.837,0,0,1,10.167,9.6659996C8.053,9.6659996 6.3339999,7.9459996 6.3339999,5.833 6.3339999,3.72 8.053,2 10.167,2A3.838,3.838,0,0,1,14,5.833z">
<GeometryDrawing.Brush>
<SolidColorBrush Color="#FFF0EFF1" Opacity="0.76862746" />
</GeometryDrawing.Brush>
</GeometryDrawing>
</DrawingGroup>

10
ILSpy/Images/Warning.xaml

@ -0,0 +1,10 @@ @@ -0,0 +1,10 @@
<!-- This file was generated by the AiToXaml tool.-->
<!-- Tool Version: 14.0.22307.0 -->
<DrawingGroup xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M16,16L0,16 0,0 16,0z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M7.0002,-0.000199999999999534L0.000200000000000422,13.9998 2.0002,15.9998 14.0002,15.9998 16.0002,13.9998 9.0002,-0.000199999999999534z" />
<GeometryDrawing Brush="#FFFFCC00" Geometry="F1M9,10L7,10 7,5 9,5z M9,13L7,13 7,11 9,11z M8.382,1L7.618,1 1.217,13.803 2.5,15 13.5,15 14.783,13.803z" />
<GeometryDrawing Brush="#FF000000" Geometry="F1M9,11L7,11 7,13 9,13z M9,10L7,10 7,5 9,5z" />
</DrawingGroup.Children>
</DrawingGroup>

2
ILSpy/Languages/CSharpLanguage.cs

@ -325,7 +325,7 @@ namespace ICSharpCode.ILSpy @@ -325,7 +325,7 @@ namespace ICSharpCode.ILSpy
new Image {
Width = 32,
Height = 32,
Source = Images.LoadImage(this, "Images/Warning.png")
Source = Images.Load(this, "Images/Warning")
},
new TextBlock {
Margin = new Thickness(5, 0, 0, 0),

2
ILSpy/TreeNodes/SearchMsdnContextMenuEntry.cs

@ -23,7 +23,7 @@ using System.Threading; @@ -23,7 +23,7 @@ using System.Threading;
namespace ICSharpCode.ILSpy.TreeNodes
{
[ExportContextMenuEntry(Header = nameof(Resources.SearchMSDN), Icon = "images/SearchMsdn.png", Order = 9999)]
[ExportContextMenuEntry(Header = nameof(Resources.SearchMSDN), Icon = "images/SearchMsdn", Order = 9999)]
internal sealed class SearchMsdnContextMenuEntry : IContextMenuEntry
{
private static string msdnAddress = "http://msdn.microsoft.com/{1}/library/{0}";

Loading…
Cancel
Save