1
0
mirror of synced 2024-11-30 18:24:39 +01:00

Add audio meta data icons

This commit is contained in:
KillzXGaming 2019-07-13 15:54:39 -04:00
parent 3f0278ed03
commit 631f59ef93
16 changed files with 24 additions and 0 deletions

Binary file not shown.

View File

@ -235,6 +235,9 @@ namespace FirstPlugin
for (int i = 0; i < bars.AudioEntries.Count; i++)
{
var amtaWrapper = new MetaDataNodeWrapper(bars.AudioEntries[i].MetaData);
amtaWrapper.ImageKey = "MetaInfo";
amtaWrapper.SelectedImageKey = amtaWrapper.ImageKey;
string audioName = bars.AudioEntries[i].MetaData.Name;
amtaWrapper.Text = $"{audioName}.amta";

View File

@ -1322,5 +1322,8 @@
<ItemGroup>
<None Include="Resources\ArrowIcon.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\MetaInfo.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@ -127,6 +127,8 @@ namespace Switch_Toolbox.Library
imgList.Images.Add("folder", Properties.Resources.skeleton);
imgList.Images.Add("TextureMaterialMap", Properties.Resources.TextureMaterialMap);
imgList.Images.Add("MetaInfo", Properties.Resources.MetaInfo);
imgList.Images.Add("MaterialTranslucent", Properties.Resources.materialSphereTranslucent);
imgList.Images.Add("MaterialTransparent", Properties.Resources.materialSphereTransparent);

View File

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

View File

@ -376,4 +376,7 @@
<data name="resource_factory_info" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\resource_factory_info.tsv;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="MetaInfo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\MetaInfo.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: 3.4 KiB

View File

@ -1201,5 +1201,8 @@
<ItemGroup>
<None Include="Resources\materialSphereTransparent.tif" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\MetaInfo.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

BIN
Toolbox/Lib/BarsLibrary.zip Normal file

Binary file not shown.