Added an icon for behaviours.bin

This commit is contained in:
MattNL
2022-10-19 18:38:50 -04:00
parent 62f699da23
commit b3d90eafaa
5 changed files with 19 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ namespace PckStudio
imageList.Images.Add(Resources.SKIN_ICON); // Icon for Skin files (*.png)
imageList.Images.Add(Resources.CAPE_ICON); // Icon for Cape files (*.png)
imageList.Images.Add(Resources.TEXTURE_ICON); // Icon for Texture files (*.png;*.tga)
imageList.Images.Add(Resources.BEHAVIOURS_ICON); // Icon for Behaviour files (behaviours.bin)
pckOpen.AllowDrop = true;
tabControl.SelectTab(0);
labelVersion.Text = "PCK Studio: " + Application.ProductVersion;
@@ -2830,6 +2831,10 @@ namespace PckStudio
node.ImageIndex = 14;
node.SelectedImageIndex = 14;
break;
case PCKFile.FileData.FileType.BehavioursFile:
node.ImageIndex = 15;
node.SelectedImageIndex = 15;
break;
default: // unknown file format
node.ImageIndex = 5;
node.SelectedImageIndex = 5;

View File

@@ -662,6 +662,7 @@
<None Include="Resources\iconImageList\SKIN ICON.png" />
<None Include="Resources\iconImageList\TEXTURE ICON.png" />
<None Include="Resources\iconImageList\SKINS ICON_new.png" />
<None Include="Resources\iconImageList\BEHAVIOURS ICON.png" />
<Content Include="Resources\PCK-Studio_Logo.ico" />
<None Include="Resources\bg1.png" />
<Content Include="Resources\NoImageFound.png" />

View File

@@ -80,6 +80,16 @@ namespace PckStudio.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap BEHAVIOURS_ICON {
get {
object obj = ResourceManager.GetObject("BEHAVIOURS_ICON", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>

View File

@@ -277,4 +277,7 @@
<data name="colours" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\fileTemplates\colours.col;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="BEHAVIOURS_ICON" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\iconImageList\BEHAVIOURS ICON.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: 5.1 KiB