more icons, don't show one if there isn't oen

This commit is contained in:
adelikat 2014-04-25 23:17:10 +00:00
parent ec8c2f8bee
commit 3901fb640b
7 changed files with 24 additions and 7 deletions

View File

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

View File

@ -2374,11 +2374,14 @@ namespace BizHawk.Client.EmuHawk
{ {
CoreNameStatusBarButton.Image = BizHawk.Client.EmuHawk.Properties.Resources.ppsspp; CoreNameStatusBarButton.Image = BizHawk.Client.EmuHawk.Properties.Resources.ppsspp;
} }
else if (Global.Emulator is Gameboy)
// TODO: other icons {
// unknown CoreNameStatusBarButton.Image = BizHawk.Client.EmuHawk.Properties.Resources.gambatte;
// mupen64plus, }
// gambattte, else
{
CoreNameStatusBarButton.Image = null;
}
} }
} }

View File

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

View File

@ -909,6 +909,9 @@
<data name="emu7800" type="System.Resources.ResXFileRef, System.Windows.Forms"> <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> <value>..\images\emu7800.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="gambatte" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\gambatte.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="genplus" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="genplus" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\genplus.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\images\genplus.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B

View File

@ -12,7 +12,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBA
"Meteor", "Meteor",
"blastrock", "blastrock",
isPorted: true, isPorted: true,
isReleased: true isReleased: false
)] )]
public class GBA : IEmulator, IVideoProvider, ISyncSoundProvider public class GBA : IEmulator, IVideoProvider, ISyncSoundProvider
{ {

View File

@ -14,7 +14,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
"Gambatte", "Gambatte",
"sinamas", "sinamas",
isPorted: true, isPorted: true,
isReleased: false isReleased: true
)] )]
public class Gameboy : IEmulator, IVideoProvider, ISyncSoundProvider public class Gameboy : IEmulator, IVideoProvider, ISyncSoundProvider
{ {