Add audio meta data icons
This commit is contained in:
parent
3f0278ed03
commit
631f59ef93
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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";
|
||||
|
@ -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>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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);
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
BIN
Switch_Toolbox_Library/Resources/MetaInfo.png
Normal file
BIN
Switch_Toolbox_Library/Resources/MetaInfo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
@ -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
BIN
Toolbox/Lib/BarsLibrary.zip
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user