Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Added icon for options page.
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoch committed Jun 2, 2016
1 parent d474f84 commit 013717b
Show file tree
Hide file tree
Showing 5 changed files with 1,975 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/TestLinker/Options/TestLinkerOptionsPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@
using JetBrains.UI.Options;
using JetBrains.UI.Options.OptionsDialog2.SimpleOptions;
using JetBrains.UI.Options.OptionsDialog2.SimpleOptions.ViewModel;
using JetBrains.UI.Resources;

namespace TestLinker.Options
{
[OptionsPage (c_pageId, c_pageTitle, typeof(CommonThemedIcons.Bulb), ParentId = UnitTestingOptionsPageIdHolder.PID)]
[OptionsPage (c_pageId, c_pageTitle, typeof(TestLinkerThemedIcons.TestLinker), ParentId = UnitTestingOptionsPageIdHolder.PID, Sequence = 0.1d)]
public class TestLinkerOptionsPage : SimpleOptionsPage
{
private const string c_pageId = "TestLinkerOptions";
Expand Down
17 changes: 16 additions & 1 deletion src/TestLinker/TestLinker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@
<HintPath>..\..\packages\NVelocity.1.0.3\lib\NVelocity.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="protobuf-net, Version=2.0.0.668, Culture=neutral, PublicKeyToken=257b51d87d2e4d67, processorArchitecture=MSIL">
<HintPath>..\..\packages\JetBrains.Timeline.Protobuf-net.2.0.20150514.0\lib\protobuf-net.dll</HintPath>
<Private>True</Private>
Expand All @@ -150,6 +152,7 @@
<HintPath>..\..\packages\JetBrains.Platform.Lib.System.Windows.Interactivity.2.0.20140318.0\lib\System.Windows.Interactivity.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Xaml" />
<Reference Include="Vestris.ResourceLib, Version=1.4.33.0, Culture=neutral, PublicKeyToken=ec632d8ba5e5750d, processorArchitecture=MSIL">
<HintPath>..\..\packages\Vestris.ResourceLib.JetBrains.1.4.20150303.0\lib\Net\Vestris.ResourceLib.dll</HintPath>
<Private>True</Private>
Expand Down Expand Up @@ -202,12 +205,24 @@
<Compile Include="Options\TestLinkerOptionsPage.cs" />
<Compile Include="Options\TestLinkerSettings.cs" />
<Compile Include="Options\ZoneMarker.cs" />
<Compile Include="TestLinkerIcons\ThemedIcons.TestLinker.Generated.cs" />
<Compile Include="ZoneMarker.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
<ThemedIconsXamlV3 Include="TestLinkerIcons\TestLinker.xaml">
<ThemeColumns>Color</ThemeColumns>
<RemoveBackgroundElement>True</RemoveBackgroundElement>
</ThemedIconsXamlV3>
</ItemGroup>
<ItemGroup>
<Page Include="TestLinkerIcons\ThemedIcons.TestLinker.Generated.Xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>if exist "$(Vs12Installation)" xcopy /Y "$(TargetDir)TestLinker.*" "$(Vs12Installation)"
Expand Down
20 changes: 20 additions & 0 deletions src/TestLinker/TestLinkerIcons/TestLinker.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<DrawingBrush x:Key="TestLinker" Stretch="Uniform">
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Brush="#FFFF00FF" Geometry="M 183.718,192.582L 199.718,192.582L 199.718,209.361L 183.718,209.361L 183.718,192.582 Z ">
<GeometryDrawing.Pen>
<Pen Thickness="1.28871" LineJoin="Round" Brush="#FF000000"/>
</GeometryDrawing.Pen>
</GeometryDrawing>
<GeometryDrawing Brush="#FF0A5772" Geometry="F1 M 199.645,207.235C 199.645,208.378 198.718,209.305 197.575,209.305L 185.87,209.305C 184.726,209.305 183.799,208.378 183.799,207.235L 183.799,195.53C 183.799,194.386 184.726,193.459 185.87,193.459L 197.575,193.459C 198.718,193.459 199.645,194.386 199.645,195.53"/>
<GeometryDrawing Brush="#FF0083BE" Geometry="F1 M 199.645,206.406C 199.645,207.55 198.718,208.477 197.575,208.477L 185.87,208.477C 184.726,208.477 183.799,207.55 183.799,206.406L 183.799,194.702C 183.799,193.558 184.726,192.631 185.87,192.631L 197.575,192.631C 198.718,192.631 199.645,193.558 199.645,194.702"/>
<GeometryDrawing Brush="#FF0064A2" Geometry="F1 M 199.645,206.406L 199.645,199.469C 199.615,199.439 199.585,199.41 199.554,199.382C 199.42,199.237 199.275,199.101 199.136,198.962C 198.997,198.823 198.862,198.678 198.717,198.545C 198.584,198.4 198.439,198.265 198.299,198.125C 198.16,197.987 198.025,197.841 197.881,197.708C 197.747,197.564 197.602,197.428 197.463,197.289C 197.323,197.15 197.189,197.005 197.044,196.872C 196.91,196.727 196.765,196.591 196.626,196.452C 196.487,196.314 196.353,196.17 196.21,196.037C 195.983,195.824 195.615,195.83 195.395,196.051C 195.323,196.123 195.251,196.195 195.179,196.267C 194.896,196.551 194.612,196.835 194.329,197.119C 194.293,197.154 194.257,197.19 194.222,197.226C 194.219,197.229 194.211,197.24 194.207,197.241C 194.124,197.186 194.038,197.135 193.95,197.089C 193.607,196.908 193.227,196.798 192.84,196.766C 192.121,196.706 191.386,196.917 190.816,197.36C 190.578,197.545 190.37,197.775 190.158,197.987L 189.255,198.891C 189.073,199.072 188.885,199.25 188.709,199.438C 188.264,199.915 187.989,200.535 187.935,201.185C 187.882,201.825 188.043,202.476 188.392,203.016C 188.408,203.039 188.413,203.036 188.397,203.052C 188.384,203.065 188.371,203.078 188.357,203.091C 188.309,203.139 188.261,203.188 188.213,203.236C 188.066,203.383 187.92,203.529 187.774,203.675C 187.635,203.814 187.496,203.953 187.357,204.092C 187.267,204.182 187.165,204.269 187.108,204.385C 187.04,204.524 187.03,204.687 187.08,204.833C 187.105,204.908 187.146,204.977 187.199,205.035C 187.264,205.106 187.334,205.174 187.404,205.24C 187.471,205.312 187.548,205.375 187.613,205.449C 187.678,205.523 187.753,205.59 187.822,205.659C 187.961,205.798 188.097,205.943 188.241,206.076C 188.308,206.149 188.385,206.212 188.45,206.286C 188.514,206.359 188.589,206.427 188.659,206.495C 188.797,206.635 188.934,206.779 189.078,206.913C 189.144,206.985 189.221,207.049 189.286,207.123C 189.351,207.196 189.426,207.263 189.495,207.332C 189.634,207.472 189.77,207.616 189.914,207.75C 189.981,207.822 190.058,207.885 190.123,207.959C 190.188,208.033 190.263,208.1 190.332,208.169C 190.433,208.271 190.534,208.376 190.637,208.477L 197.575,208.477C 198.718,208.477 199.645,207.55 199.645,206.406 Z "/>
<GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 196.224,196.05C 195.996,195.823 195.622,195.823 195.396,196.05L 194.207,197.241C 193.719,196.917 193.16,196.756 192.599,196.756C 191.85,196.756 191.093,197.041 190.533,197.612L 188.78,199.365C 187.781,200.363 187.657,201.907 188.408,203.04L 187.219,204.23C 186.991,204.458 186.991,204.83 187.219,205.056C 187.333,205.171 187.482,205.229 187.632,205.229C 187.782,205.229 187.931,205.171 188.044,205.056L 189.235,203.866C 189.722,204.191 190.284,204.352 190.846,204.352C 191.583,204.352 192.34,204.066 192.911,203.495L 194.659,201.743C 195.66,200.744 195.784,199.2 195.032,198.068L 196.224,196.877C 196.454,196.649 196.454,196.279 196.224,196.05 Z M 194.347,199.677C 194.347,200.145 194.165,200.586 193.833,200.916L 192.084,202.669C 191.753,203 191.304,203.182 190.846,203.182C 190.581,203.182 190.327,203.118 190.095,203.007L 190.957,202.135C 191.185,201.907 191.185,201.537 190.957,201.31C 190.739,201.081 190.368,201.081 190.141,201.31L 189.268,202.181C 189.156,201.949 189.093,201.695 189.093,201.43C 189.093,200.962 189.275,200.521 189.607,200.191L 191.349,198.438C 191.68,198.107 192.13,197.924 192.599,197.924C 192.862,197.924 193.115,197.989 193.347,198.1L 192.459,198.99C 192.23,199.219 192.23,199.588 192.459,199.817C 192.573,199.93 192.723,199.987 192.872,199.987C 193.021,199.987 193.169,199.93 193.284,199.817L 194.172,198.927C 194.283,199.158 194.347,199.412 194.347,199.677 Z "/>
</DrawingGroup.Children>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
</ResourceDictionary>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<DrawingGroup AutomationProperties.Name="TestLinker" AutomationProperties.ItemType="Color" x:Key="0000">
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Pen="{x:Null}">
<GeometryDrawing.Geometry>
<RectangleGeometry Rect="183.073654174805,191.937652587891,17.2886962890625,18.0676879882813" />
</GeometryDrawing.Geometry>
</GeometryDrawing>
<GeometryDrawing Brush="#FF0A5772" Geometry="F1M199.645,207.235C199.645,208.378,198.718,209.305,197.575,209.305L185.87,209.305C184.726,209.305,183.799,208.378,183.799,207.235L183.799,195.53C183.799,194.386,184.726,193.459,185.87,193.459L197.575,193.459C198.718,193.459,199.645,194.386,199.645,195.53" />
<GeometryDrawing Brush="#FF0083BE" Geometry="F1M199.645,206.406C199.645,207.55,198.718,208.477,197.575,208.477L185.87,208.477C184.726,208.477,183.799,207.55,183.799,206.406L183.799,194.702C183.799,193.558,184.726,192.631,185.87,192.631L197.575,192.631C198.718,192.631,199.645,193.558,199.645,194.702" />
<GeometryDrawing Brush="#FF0064A2" Geometry="F1M199.645,206.406L199.645,199.469C199.615,199.439 199.585,199.41 199.554,199.382 199.42,199.237 199.275,199.101 199.136,198.962 198.997,198.823 198.862,198.678 198.717,198.545 198.584,198.4 198.439,198.265 198.299,198.125 198.16,197.987 198.025,197.841 197.881,197.708 197.747,197.564 197.602,197.428 197.463,197.289 197.323,197.15 197.189,197.005 197.044,196.872 196.91,196.727 196.765,196.591 196.626,196.452 196.487,196.314 196.353,196.17 196.21,196.037 195.983,195.824 195.615,195.83 195.395,196.051 195.323,196.123 195.251,196.195 195.179,196.267 194.896,196.551 194.612,196.835 194.329,197.119 194.293,197.154 194.257,197.19 194.222,197.226 194.219,197.229 194.211,197.24 194.207,197.241 194.124,197.186 194.038,197.135 193.95,197.089 193.607,196.908 193.227,196.798 192.84,196.766 192.121,196.706 191.386,196.917 190.816,197.36 190.578,197.545 190.37,197.775 190.158,197.987L189.255,198.891C189.073,199.072 188.885,199.25 188.709,199.438 188.264,199.915 187.989,200.535 187.935,201.185 187.882,201.825 188.043,202.476 188.392,203.016 188.408,203.039 188.413,203.036 188.397,203.052 188.384,203.065 188.371,203.078 188.357,203.091 188.309,203.139 188.261,203.188 188.213,203.236 188.066,203.383 187.92,203.529 187.774,203.675 187.635,203.814 187.496,203.953 187.357,204.092 187.267,204.182 187.165,204.269 187.108,204.385 187.04,204.524 187.03,204.687 187.08,204.833 187.105,204.908 187.146,204.977 187.199,205.035 187.264,205.106 187.334,205.174 187.404,205.24 187.471,205.312 187.548,205.375 187.613,205.449 187.678,205.523 187.753,205.59 187.822,205.659 187.961,205.798 188.097,205.943 188.241,206.076 188.308,206.149 188.385,206.212 188.45,206.286 188.514,206.359 188.589,206.427 188.659,206.495 188.797,206.635 188.934,206.779 189.078,206.913 189.144,206.985 189.221,207.049 189.286,207.123 189.351,207.196 189.426,207.263 189.495,207.332 189.634,207.472 189.77,207.616 189.914,207.75 189.981,207.822 190.058,207.885 190.123,207.959 190.188,208.033 190.263,208.1 190.332,208.169 190.433,208.271 190.534,208.376 190.637,208.477L197.575,208.477C198.718,208.477,199.645,207.55,199.645,206.406z" />
<GeometryDrawing Brush="#FFFFFFFF" Geometry="F1M196.224,196.05C195.996,195.823,195.622,195.823,195.396,196.05L194.207,197.241C193.719,196.917 193.16,196.756 192.599,196.756 191.85,196.756 191.093,197.041 190.533,197.612L188.78,199.365C187.781,200.363,187.657,201.907,188.408,203.04L187.219,204.23C186.991,204.458 186.991,204.83 187.219,205.056 187.333,205.171 187.482,205.229 187.632,205.229 187.782,205.229 187.931,205.171 188.044,205.056L189.235,203.866C189.722,204.191 190.284,204.352 190.846,204.352 191.583,204.352 192.34,204.066 192.911,203.495L194.659,201.743C195.66,200.744,195.784,199.2,195.032,198.068L196.224,196.877C196.454,196.649,196.454,196.279,196.224,196.05z M194.347,199.677C194.347,200.145,194.165,200.586,193.833,200.916L192.084,202.669C191.753,203 191.304,203.182 190.846,203.182 190.581,203.182 190.327,203.118 190.095,203.007L190.957,202.135C191.185,201.907 191.185,201.537 190.957,201.31 190.739,201.081 190.368,201.081 190.141,201.31L189.268,202.181C189.156,201.949 189.093,201.695 189.093,201.43 189.093,200.962 189.275,200.521 189.607,200.191L191.349,198.438C191.68,198.107 192.13,197.924 192.599,197.924 192.862,197.924 193.115,197.989 193.347,198.1L192.459,198.99C192.23,199.219 192.23,199.588 192.459,199.817 192.573,199.93 192.723,199.987 192.872,199.987 193.021,199.987 193.169,199.93 193.284,199.817L194.172,198.927C194.283,199.158,194.347,199.412,194.347,199.677z" />
</DrawingGroup.Children>
<DrawingGroup.ClipGeometry>
<RectangleGeometry Rect="183.073654174805,191.937652587891,17.2886962890625,18.0676879882813" />
</DrawingGroup.ClipGeometry>
</DrawingGroup>
</ResourceDictionary>
Loading

0 comments on commit 013717b

Please sign in to comment.