add emu7800 icon, don't show author in tooltip

This commit is contained in:
adelikat 2014-04-25 21:55:56 +00:00
parent d30d93849d
commit 8734537572
5 changed files with 21 additions and 3 deletions

View File

@ -1488,6 +1488,7 @@
<None Include="images\checkbox.png" />
<None Include="images\Erase.png" />
<None Include="images\bsnes.png" />
<None Include="images\emu7800.png" />
<Content Include="images\logo.ico" />
<None Include="images\Paste.png" />
<None Include="images\reboot.png" />

View File

@ -11,6 +11,7 @@ using BizHawk.Client.Common;
using BizHawk.Common;
using BizHawk.Emulation.Common;
using BizHawk.Emulation.Cores.Atari.Atari2600;
using BizHawk.Emulation.Cores.Atari.Atari7800;
using BizHawk.Emulation.Cores.Calculators;
using BizHawk.Emulation.Cores.Consoles.Nintendo.QuickNES;
using BizHawk.Emulation.Cores.Consoles.Sega.gpgx;
@ -2336,9 +2337,7 @@ namespace BizHawk.Client.EmuHawk
(!attributes.Released ? "(Experimental) " : string.Empty) +
attributes.CoreName;
CoreNameStatusBarButton.ToolTipText =
(attributes.Ported ? "(ported) " : string.Empty) +
"written by: " + attributes.Author;
CoreNameStatusBarButton.ToolTipText = attributes.Ported ? "(ported) " : string.Empty;
if (!attributes.Ported)
{
@ -2358,6 +2357,11 @@ namespace BizHawk.Client.EmuHawk
{
CoreNameStatusBarButton.Image = BizHawk.Client.EmuHawk.Properties.Resources.yabause;
}
else if (Global.Emulator is Atari7800)
{
CoreNameStatusBarButton.Image = BizHawk.Client.EmuHawk.Properties.Resources.emu7800;
}
// TODO: other icons
// unknown

View File

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

View File

@ -906,6 +906,9 @@
<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="emu7800" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\emu7800.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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 856 B