core status bar icon - add yabause and bsnes icons

This commit is contained in:
adelikat 2014-04-25 21:41:34 +00:00
parent 8952e61067
commit 51be257486
7 changed files with 39 additions and 4 deletions

View File

@ -1381,6 +1381,7 @@
<None Include="config\ControllerImages\GENController.png" />
</ItemGroup>
<ItemGroup>
<None Include="images\yabause.png" />
<None Include="images\QuickNes.png" />
<None Include="images\QuickNES_128.ico" />
<None Include="images\sms-icon.png" />
@ -1486,6 +1487,7 @@
<None Include="images\gba-icon.png" />
<None Include="images\checkbox.png" />
<None Include="images\Erase.png" />
<None Include="images\bsnes.png" />
<Content Include="images\logo.ico" />
<None Include="images\Paste.png" />
<None Include="images\reboot.png" />

View File

@ -20,6 +20,7 @@ using BizHawk.Emulation.Cores.Nintendo.NES;
using BizHawk.Emulation.Cores.Nintendo.SNES;
using BizHawk.Emulation.Cores.PCEngine;
using BizHawk.Emulation.Cores.Sega.MasterSystem;
using BizHawk.Emulation.Cores.Sega.Saturn;
using BizHawk.Emulation.DiscSystem;
namespace BizHawk.Client.EmuHawk
@ -2349,13 +2350,19 @@ namespace BizHawk.Client.EmuHawk
{
CoreNameStatusBarButton.Image = BizHawk.Client.EmuHawk.Properties.Resources.QuickNes;
}
else if (Global.Emulator is LibsnesCore)
{
CoreNameStatusBarButton.Image = BizHawk.Client.EmuHawk.Properties.Resources.bsnes;
}
else if (Global.Emulator is Yabause)
{
CoreNameStatusBarButton.Image = BizHawk.Client.EmuHawk.Properties.Resources.yabause;
}
// TODO: other icons
// unknown
// yabause,
// bsnes,
// mupen64plus,
// atari 7800,
// emu7800,
// ppsspp,
// gambattte,
// meteor,

View File

@ -190,6 +190,16 @@ namespace BizHawk.Client.EmuHawk.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap bsnes {
get {
object obj = ResourceManager.GetObject("bsnes", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@ -1268,5 +1278,15 @@ namespace BizHawk.Client.EmuHawk.Properties {
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap yabause {
get {
object obj = ResourceManager.GetObject("yabause", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

View File

@ -903,7 +903,13 @@
<data name="sms_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\sms-icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="bsnes" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\bsnes.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="QuickNes" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\QuickNes.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="yabause" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\yabause.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: 815 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -61,7 +61,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES
"BSNES",
"byuu",
isPorted: true,
isReleased: false
isReleased: true
)]
public unsafe class LibsnesCore : IEmulator, IVideoProvider
{