diff options
author | Ian C <ianc@noddybox.co.uk> | 2012-04-27 16:24:53 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2012-04-27 16:24:53 +0000 |
commit | 0191a758903099bdd39dddb2ef456333eee04fe3 (patch) | |
tree | 31e8285ef1c2707e3f2df26a12a4187146e8f007 /Native/EmuKeyboardDesigner/MainForm.Designer.cs | |
parent | 3b85ea1b69b1747caf944af6ce301c165e3b56cb (diff) |
Added basic logic of UI. Still to add key overlay to image control.
Diffstat (limited to 'Native/EmuKeyboardDesigner/MainForm.Designer.cs')
-rw-r--r-- | Native/EmuKeyboardDesigner/MainForm.Designer.cs | 149 |
1 files changed, 147 insertions, 2 deletions
diff --git a/Native/EmuKeyboardDesigner/MainForm.Designer.cs b/Native/EmuKeyboardDesigner/MainForm.Designer.cs index 6dd8653..a43a21d 100644 --- a/Native/EmuKeyboardDesigner/MainForm.Designer.cs +++ b/Native/EmuKeyboardDesigner/MainForm.Designer.cs @@ -45,12 +45,157 @@ namespace EmuKeyboardDesigner /// </summary>
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
+ this.keyList = new System.Windows.Forms.ListBox();
+ this.label1 = new System.Windows.Forms.Label();
+ this.stickyCheckBox = new System.Windows.Forms.CheckBox();
+ this.label2 = new System.Windows.Forms.Label();
+ this.keysymTextBox = new System.Windows.Forms.TextBox();
+ this.loadButton = new System.Windows.Forms.Button();
+ this.saveButton = new System.Windows.Forms.Button();
+ this.setButton = new System.Windows.Forms.Button();
+ this.imageControl = new EmuKeyboardDesigner.ImageControl();
+ this.removeButton = new System.Windows.Forms.Button();
+ this.SuspendLayout();
+ //
+ // keyList
+ //
+ this.keyList.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.keyList.FormattingEnabled = true;
+ this.keyList.Location = new System.Drawing.Point(500, 27);
+ this.keyList.Name = "keyList";
+ this.keyList.Size = new System.Drawing.Size(192, 394);
+ this.keyList.TabIndex = 0;
+ this.keyList.SelectedIndexChanged += new System.EventHandler(this.OnKeySelected);
+ //
+ // label1
+ //
+ this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(497, 9);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(33, 13);
+ this.label1.TabIndex = 1;
+ this.label1.Text = "Keys:";
+ //
+ // stickyCheckBox
+ //
+ this.stickyCheckBox.AutoSize = true;
+ this.stickyCheckBox.Location = new System.Drawing.Point(241, 11);
+ this.stickyCheckBox.Name = "stickyCheckBox";
+ this.stickyCheckBox.Size = new System.Drawing.Size(55, 17);
+ this.stickyCheckBox.TabIndex = 2;
+ this.stickyCheckBox.Text = "Sticky";
+ this.stickyCheckBox.UseVisualStyleBackColor = true;
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(12, 9);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(65, 13);
+ this.label2.TabIndex = 3;
+ this.label2.Text = "Key Symbol:";
+ //
+ // keysymTextBox
+ //
+ this.keysymTextBox.Location = new System.Drawing.Point(83, 9);
+ this.keysymTextBox.Name = "keysymTextBox";
+ this.keysymTextBox.Size = new System.Drawing.Size(152, 20);
+ this.keysymTextBox.TabIndex = 4;
+ //
+ // loadButton
+ //
+ this.loadButton.Location = new System.Drawing.Point(501, 434);
+ this.loadButton.Name = "loadButton";
+ this.loadButton.Size = new System.Drawing.Size(75, 23);
+ this.loadButton.TabIndex = 6;
+ this.loadButton.Text = "Load Keys";
+ this.loadButton.UseVisualStyleBackColor = true;
+ this.loadButton.Click += new System.EventHandler(this.OnLoad);
+ //
+ // saveButton
+ //
+ this.saveButton.Location = new System.Drawing.Point(605, 434);
+ this.saveButton.Name = "saveButton";
+ this.saveButton.Size = new System.Drawing.Size(75, 23);
+ this.saveButton.TabIndex = 7;
+ this.saveButton.Text = "Save Keys";
+ this.saveButton.UseVisualStyleBackColor = true;
+ this.saveButton.Click += new System.EventHandler(this.OnSave);
+ //
+ // setButton
+ //
+ this.setButton.Location = new System.Drawing.Point(406, 9);
+ this.setButton.Name = "setButton";
+ this.setButton.Size = new System.Drawing.Size(85, 23);
+ this.setButton.TabIndex = 8;
+ this.setButton.Text = "Set Key";
+ this.setButton.UseVisualStyleBackColor = true;
+ this.setButton.Click += new System.EventHandler(this.OnSetKey);
+ //
+ // imageControl
+ //
+ this.imageControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.imageControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.imageControl.KeyHeight = 0;
+ this.imageControl.KeyWidth = 0;
+ this.imageControl.KeyX = 0;
+ this.imageControl.KeyY = 0;
+ this.imageControl.Location = new System.Drawing.Point(12, 35);
+ this.imageControl.MinimumSize = new System.Drawing.Size(417, 247);
+ this.imageControl.Name = "imageControl";
+ this.imageControl.Size = new System.Drawing.Size(482, 423);
+ this.imageControl.TabIndex = 5;
+ //
+ // removeButton
+ //
+ this.removeButton.Location = new System.Drawing.Point(322, 9);
+ this.removeButton.Name = "removeButton";
+ this.removeButton.Size = new System.Drawing.Size(78, 23);
+ this.removeButton.TabIndex = 9;
+ this.removeButton.Text = "Remove Key";
+ this.removeButton.UseVisualStyleBackColor = true;
+ this.removeButton.Click += new System.EventHandler(this.OnRemoveKey);
+ //
+ // MainForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Text = "Form1";
+ this.ClientSize = new System.Drawing.Size(692, 470);
+ this.Controls.Add(this.removeButton);
+ this.Controls.Add(this.setButton);
+ this.Controls.Add(this.saveButton);
+ this.Controls.Add(this.loadButton);
+ this.Controls.Add(this.imageControl);
+ this.Controls.Add(this.keysymTextBox);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.stickyCheckBox);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.keyList);
+ this.MinimumSize = new System.Drawing.Size(700, 500);
+ this.Name = "MainForm";
+ this.Text = "Emulation Keyboard Designer";
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
}
#endregion
+
+ private System.Windows.Forms.ListBox keyList;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.CheckBox stickyCheckBox;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.TextBox keysymTextBox;
+ private ImageControl imageControl;
+ private System.Windows.Forms.Button loadButton;
+ private System.Windows.Forms.Button saveButton;
+ private System.Windows.Forms.Button setButton;
+ private System.Windows.Forms.Button removeButton;
}
}
|