Change cursor drawing tool icon

This commit is contained in:
Jaex 2019-04-08 00:26:57 +03:00
parent cee71e9635
commit 5a660e390f
5 changed files with 16 additions and 2 deletions

View file

@ -19,7 +19,7 @@ namespace ShareX.ScreenCaptureLib.Properties {
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
@ -1661,6 +1661,16 @@ internal static System.Drawing.Bitmap smiley_yell {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap stamp_cursor {
get {
object obj = ResourceManager.GetObject("stamp_cursor", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>

View file

@ -652,4 +652,7 @@ X: {4} Y: {5}</value>
<data name="ImageEffects" xml:space="preserve">
<value>Add image effects...</value>
</data>
<data name="stamp_cursor" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\stamp-cursor.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 B

View file

@ -277,7 +277,7 @@ internal void CreateToolbar()
}
break;
case ShapeType.DrawingCursor:
img = Resources.cursor;
img = Resources.stamp_cursor;
break;
case ShapeType.EffectBlur:
img = Resources.layer_shade;

View file

@ -235,6 +235,7 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="Resources\stamp-cursor.png" />
<None Include="Resources\smiley-yell.png" />
<None Include="Resources\smiley-cool.png" />
<None Include="Resources\gradient.png" />