mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Using non transparent background image for Image effects window
This commit is contained in:
parent
c4052956ed
commit
a61953c705
6 changed files with 26 additions and 2 deletions
|
@ -461,6 +461,9 @@
|
|||
<ItemGroup>
|
||||
<None Include="Resources\cross.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\ShareX_Logo_Black.png" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
|
|
12
HelpersLib/Properties/Resources.Designer.cs
generated
12
HelpersLib/Properties/Resources.Designer.cs
generated
|
@ -1,7 +1,7 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18444
|
||||
// Runtime Version:4.0.30319.34209
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
@ -110,6 +110,16 @@ internal static System.Drawing.Bitmap ShareX_Logo {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap ShareX_Logo_Black {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("ShareX_Logo_Black", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
|
@ -136,4 +136,7 @@
|
|||
<data name="ShareX_Icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\resources\sharex_icon.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="ShareX_Logo_Black" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\ShareX_Logo_Black.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
BIN
HelpersLib/Resources/ShareX_Logo_Black.png
Normal file
BIN
HelpersLib/Resources/ShareX_Logo_Black.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
|
@ -45,5 +45,13 @@ public static Image Logo
|
|||
return Resources.ShareX_Logo;
|
||||
}
|
||||
}
|
||||
|
||||
public static Image LogoBlack
|
||||
{
|
||||
get
|
||||
{
|
||||
return Resources.ShareX_Logo_Black;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -621,7 +621,7 @@ private void chkShowImageEffectsWindowAfterCapture_CheckedChanged(object sender,
|
|||
|
||||
private void btnImageEffects_Click(object sender, EventArgs e)
|
||||
{
|
||||
using (ImageEffectsForm imageEffectsForm = new ImageEffectsForm(ShareXResources.Logo, TaskSettings.ImageSettings.ImageEffects))
|
||||
using (ImageEffectsForm imageEffectsForm = new ImageEffectsForm(ShareXResources.LogoBlack, TaskSettings.ImageSettings.ImageEffects))
|
||||
{
|
||||
if (imageEffectsForm.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue