Add white outline to alpha icon

This commit is contained in:
Lusamine 2023-02-06 20:04:25 -06:00
parent 3871b2f316
commit 59e4ad61fb
5 changed files with 19 additions and 3 deletions

View file

@ -14030,6 +14030,16 @@ namespace PKHeX.Drawing.PokeSprite.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap alpha_alt {
get {
object obj = ResourceManager.GetObject("alpha_alt", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@ -53199,7 +53209,7 @@ namespace PKHeX.Drawing.PokeSprite.Properties {
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>

View file

@ -1294,6 +1294,9 @@
<data name="alpha" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\img\Pokemon Sprite Overlays\alpha.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="alpha_alt" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\img\Pokemon Sprite Overlays\alpha_alt.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="a_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\img\Artwork Pokemon Sprites\a_1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@ -15946,6 +15949,9 @@
<data name="rare_icon_alt" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\img\Pokemon Sprite Overlays\rare_icon_alt.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="rare_icon_alt_2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\img\Pokemon Sprite Overlays\rare_icon_alt_2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="slotDel" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\img\accents\slotDel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -87,7 +87,7 @@ public static class SpriteUtil
}
if (pk is IAlpha {IsAlpha: true})
{
var alpha = Resources.alpha;
var alpha = Resources.alpha_alt;
return ImageUtil.LayerImage(img, alpha, SlotTeamShiftX, 0);
}
return img;
@ -261,7 +261,7 @@ public static class SpriteUtil
}
if (enc is IAlphaReadOnly { IsAlpha: true })
{
var alpha = Resources.alpha;
var alpha = Resources.alpha_alt;
img = ImageUtil.LayerImage(img, alpha, SlotTeamShiftX, 0);
}
if (SpriteBuilder.ShowEncounterColor != SpriteBackgroundType.None)