- added creators for concrete InputDevice instances - added a factory to manage InputDeviceCreators which are located in AddIn assemblies - implemented some InputDeviceCreators in ANX.InputSystem.Windows.XInput as reference - created the new InputSystem: ANX.InputSystem.Standard which is the default container for the new InputDevices. It is replaceable by the ANX.InputSystem.Recording e.g. - added ANX.InputSystem.Standard to build script and MSI-Installer build script - added ANX.InputSystem.Recording to the MSI-Installer build script - implemented AvailableNetworkSessions (and fixed another wrong class reported by ANXStatusComparer) - updated WindowsGame sample to support only one InputSystem at the time (replaced multi SelectBox with ComboBox) - renamed ANX.InputSystem.Windows.XInput to ANX.InputDevices.Windows.XInput because it no longer contains a InputSystem but InputDevices This version is UNSTABLE and not TESTED because of massive changes regarding the InputSystem !!!
170 lines
7.6 KiB
C#
170 lines
7.6 KiB
C#
namespace WindowsGame1
|
|
{
|
|
partial class AddInSelector
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddInSelector));
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.cbRenderSystem = new System.Windows.Forms.ComboBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.cbAudioSystem = new System.Windows.Forms.ComboBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
this.cbInputSystem = new System.Windows.Forms.ComboBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Location = new System.Drawing.Point(12, 342);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(182, 23);
|
|
this.button1.TabIndex = 0;
|
|
this.button1.Text = "Start Game";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// button2
|
|
//
|
|
this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.button2.Location = new System.Drawing.Point(313, 342);
|
|
this.button2.Name = "button2";
|
|
this.button2.Size = new System.Drawing.Size(182, 23);
|
|
this.button2.TabIndex = 1;
|
|
this.button2.Text = "Cancel";
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(52, 187);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(79, 13);
|
|
this.label1.TabIndex = 2;
|
|
this.label1.Text = "Render-System";
|
|
//
|
|
// cbRenderSystem
|
|
//
|
|
this.cbRenderSystem.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cbRenderSystem.FormattingEnabled = true;
|
|
this.cbRenderSystem.Location = new System.Drawing.Point(184, 184);
|
|
this.cbRenderSystem.Name = "cbRenderSystem";
|
|
this.cbRenderSystem.Size = new System.Drawing.Size(277, 21);
|
|
this.cbRenderSystem.TabIndex = 3;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(52, 236);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(73, 13);
|
|
this.label2.TabIndex = 4;
|
|
this.label2.Text = "Input-Systems";
|
|
//
|
|
// cbAudioSystem
|
|
//
|
|
this.cbAudioSystem.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cbAudioSystem.FormattingEnabled = true;
|
|
this.cbAudioSystem.Location = new System.Drawing.Point(184, 209);
|
|
this.cbAudioSystem.Name = "cbAudioSystem";
|
|
this.cbAudioSystem.Size = new System.Drawing.Size(277, 21);
|
|
this.cbAudioSystem.TabIndex = 7;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(52, 212);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(71, 13);
|
|
this.label3.TabIndex = 6;
|
|
this.label3.Text = "Audio-System";
|
|
//
|
|
// pictureBox1
|
|
//
|
|
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.pictureBox1.Image = global::WindowsGame1.Resource1.Logo;
|
|
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
this.pictureBox1.Size = new System.Drawing.Size(507, 169);
|
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
|
this.pictureBox1.TabIndex = 8;
|
|
this.pictureBox1.TabStop = false;
|
|
//
|
|
// cbInputSystem
|
|
//
|
|
this.cbInputSystem.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cbInputSystem.FormattingEnabled = true;
|
|
this.cbInputSystem.Location = new System.Drawing.Point(184, 233);
|
|
this.cbInputSystem.Name = "cbInputSystem";
|
|
this.cbInputSystem.Size = new System.Drawing.Size(277, 21);
|
|
this.cbInputSystem.TabIndex = 9;
|
|
//
|
|
// AddInSelector
|
|
//
|
|
this.AcceptButton = this.button1;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.button2;
|
|
this.ClientSize = new System.Drawing.Size(507, 371);
|
|
this.Controls.Add(this.cbInputSystem);
|
|
this.Controls.Add(this.pictureBox1);
|
|
this.Controls.Add(this.cbAudioSystem);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.cbRenderSystem);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.button2);
|
|
this.Controls.Add(this.button1);
|
|
this.DoubleBuffered = true;
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.Name = "AddInSelector";
|
|
this.Text = "ANX.Framework AddIn selection...";
|
|
this.Load += new System.EventHandler(this.AddInSelector_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.Button button2;
|
|
private System.Windows.Forms.Label label1;
|
|
public System.Windows.Forms.ComboBox cbRenderSystem;
|
|
private System.Windows.Forms.Label label2;
|
|
public System.Windows.Forms.ComboBox cbAudioSystem;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|
public System.Windows.Forms.ComboBox cbInputSystem;
|
|
}
|
|
} |