Rename "Random images" effect to "Particles"

This commit is contained in:
Jaex 2019-12-17 21:27:08 +03:00
parent 196a45ff37
commit 16b41172d2
3 changed files with 5 additions and 5 deletions

View file

@ -36,8 +36,8 @@ You should have received a copy of the GNU General Public License
namespace ShareX.ImageEffectsLib namespace ShareX.ImageEffectsLib
{ {
[Description("Random images")] [Description("Particles")]
public class DrawRandomImages : ImageEffect public class DrawParticles : ImageEffect
{ {
[DefaultValue(""), Editor(typeof(DirectoryNameEditor), typeof(UITypeEditor))] [DefaultValue(""), Editor(typeof(DirectoryNameEditor), typeof(UITypeEditor))]
public string ImageFolder { get; set; } public string ImageFolder { get; set; }
@ -92,7 +92,7 @@ public int ImageCount
private List<Rectangle> imageRectangles = new List<Rectangle>(); private List<Rectangle> imageRectangles = new List<Rectangle>();
public DrawRandomImages() public DrawParticles()
{ {
this.ApplyDefaultPropertyValues(); this.ApplyDefaultPropertyValues();
} }

View file

@ -100,7 +100,7 @@ private void AddAllEffectsToContextMenu()
typeof(DrawCheckerboard), typeof(DrawCheckerboard),
typeof(DrawImage), typeof(DrawImage),
typeof(DrawText), typeof(DrawText),
typeof(DrawRandomImages)); typeof(DrawParticles));
AddEffectToContextMenu(Resources.ImageEffectsForm_AddAllEffectsToTreeView_Manipulations, AddEffectToContextMenu(Resources.ImageEffectsForm_AddAllEffectsToTreeView_Manipulations,
typeof(AutoCrop), typeof(AutoCrop),

View file

@ -109,7 +109,7 @@
<Compile Include="Adjustments\MatrixColor.cs" /> <Compile Include="Adjustments\MatrixColor.cs" />
<Compile Include="Drawings\DrawCheckerboard.cs" /> <Compile Include="Drawings\DrawCheckerboard.cs" />
<Compile Include="Drawings\DrawImage.cs" /> <Compile Include="Drawings\DrawImage.cs" />
<Compile Include="Drawings\DrawRandomImages.cs" /> <Compile Include="Drawings\DrawParticles.cs" />
<Compile Include="Drawings\DrawText.cs" /> <Compile Include="Drawings\DrawText.cs" />
<Compile Include="Enums.cs" /> <Compile Include="Enums.cs" />
<Compile Include="Filters\EdgeDetect.cs" /> <Compile Include="Filters\EdgeDetect.cs" />