Controller Config - more progress, including a SMS controller image

This commit is contained in:
andres.delikat 2011-01-29 02:56:50 +00:00
parent 1f4e560fc2
commit 6745437085
5 changed files with 50 additions and 2 deletions

View File

@ -198,6 +198,9 @@
<ItemGroup>
<None Include="images\restart.png" />
</ItemGroup>
<ItemGroup>
<None Include="config\ControllerImages\SMSController.png" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

View File

@ -116,6 +116,13 @@ namespace BizHawk.MultiClient.Properties {
}
}
internal static System.Drawing.Bitmap SMSController {
get {
object obj = ResourceManager.GetObject("SMSController", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
internal static System.Drawing.Bitmap undo {
get {
object obj = ResourceManager.GetObject("undo", resourceCulture);

View File

@ -142,6 +142,9 @@
<data name="search" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\search.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="SMSController" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\config\ControllerImages\SMSController.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="undo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\undo.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -21,8 +21,43 @@ namespace BizHawk.MultiClient
{
this.Text = ControllerStr + "SMS / GG / SG-1000";
Button Up = new Button();
Button Down = new Button();
Label UpLabel = new Label();
UpLabel.Text = "Up";
UpLabel.Location = new Point(8, 20);
TextBox Up = new TextBox();
Up.Location = new Point(48, 20);
Label DownLabel = new Label();
DownLabel.Text = "Down";
DownLabel.Location = new Point(8, 44);
TextBox Down = new TextBox();
Down.Location = new Point(48, 44);
Label LeftLabel = new Label();
LeftLabel.Text = "Left";
LeftLabel.Location = new Point(8, 68);
TextBox Left = new TextBox();
Left.Location = new Point(48, 68);
Label RightLabel = new Label();
RightLabel.Text = "Right";
RightLabel.Location = new Point(8, 92);
TextBox Right = new TextBox();
Right.Location = new Point(48, 92);
ButtonsGroupBox.Controls.Add(Up);
ButtonsGroupBox.Controls.Add(UpLabel);
ButtonsGroupBox.Controls.Add(Down);
ButtonsGroupBox.Controls.Add(DownLabel);
ButtonsGroupBox.Controls.Add(Left);
ButtonsGroupBox.Controls.Add(LeftLabel);
ButtonsGroupBox.Controls.Add(Right);
ButtonsGroupBox.Controls.Add(RightLabel);
ControllerImage.Image = BizHawk.MultiClient.Properties.Resources.SMSController;
}
private void DoPCE()