VBoii - controller image for controller config dialog

This commit is contained in:
adelikat 2017-05-30 18:36:29 -05:00
parent 9e1b00fd58
commit 2783881254
5 changed files with 23 additions and 5 deletions

View File

@ -719,11 +719,11 @@
<Compile Include="PresentationPanel.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="RomStatusPicker.cs">
<SubType>Form</SubType>
</Compile>
@ -2100,6 +2100,7 @@
<None Include="images\LightOn.png" />
<None Include="images\Both.png" />
<None Include="config\ControllerImages\A78Joystick.png" />
<None Include="config\ControllerImages\VBoyController.png" />
<None Include="config\ControllerImages\IntVController.png" />
<None Include="config\ControllerImages\Lynx.png" />
<Content Include="config\ControllerImages\N64.png" />

View File

@ -69,6 +69,16 @@ 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 VBoyController {
get {
object obj = ResourceManager.GetObject("VBoyController", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.

View File

@ -142,6 +142,9 @@
<data name="A78Joystick" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\ControllerImages\A78Joystick.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="VBoyController" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\ControllerImages\VBoyController.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="cdlogger" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\cdlogger.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@ -1557,4 +1560,7 @@
<data name="WSW" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\WSW.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="VBoyController" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\ControllerImages\VBoyController.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

View File

@ -45,6 +45,7 @@ namespace BizHawk.Client.EmuHawk
ControllerImages.Add("PSX Gamepad Controller", Properties.Resources.PSX_Original_Controller);
ControllerImages.Add("PSX DualShock Controller", Properties.Resources.psx_dualshock);
ControllerImages.Add("Apple IIe Keyboard", Properties.Resources.AppleIIKeyboard);
ControllerImages.Add("VirtualBoy Controller", Properties.Resources.VBoyController);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB