From 2f12dcf3e6e9c3f4ee91d04cf8176322f60f2b8d Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 8 May 2012 22:53:35 +0000 Subject: Added ops dialog to allow easier mass editing. --- Native/EmuKeyboardDesigner/MainForm.Designer.cs | 47 +++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 3 deletions(-) (limited to 'Native/EmuKeyboardDesigner/MainForm.Designer.cs') diff --git a/Native/EmuKeyboardDesigner/MainForm.Designer.cs b/Native/EmuKeyboardDesigner/MainForm.Designer.cs index 44e2b6a..9fae56b 100644 --- a/Native/EmuKeyboardDesigner/MainForm.Designer.cs +++ b/Native/EmuKeyboardDesigner/MainForm.Designer.cs @@ -54,6 +54,9 @@ namespace EmuKeyboardDesigner this.saveButton = new System.Windows.Forms.Button(); this.setButton = new System.Windows.Forms.Button(); this.removeButton = new System.Windows.Forms.Button(); + this.moveDownButton = new System.Windows.Forms.Button(); + this.moveUpButton = new System.Windows.Forms.Button(); + this.opsButton = new System.Windows.Forms.Button(); this.imageControl = new EmuKeyboardDesigner.ImageControl(); this.SuspendLayout(); // @@ -64,7 +67,7 @@ namespace EmuKeyboardDesigner 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.Size = new System.Drawing.Size(192, 368); this.keyList.TabIndex = 0; this.keyList.SelectedIndexChanged += new System.EventHandler(this.OnKeySelected); // @@ -82,7 +85,7 @@ namespace EmuKeyboardDesigner // stickyCheckBox // this.stickyCheckBox.AutoSize = true; - this.stickyCheckBox.Location = new System.Drawing.Point(241, 11); + this.stickyCheckBox.Location = new System.Drawing.Point(208, 11); this.stickyCheckBox.Name = "stickyCheckBox"; this.stickyCheckBox.Size = new System.Drawing.Size(55, 17); this.stickyCheckBox.TabIndex = 2; @@ -102,7 +105,7 @@ namespace EmuKeyboardDesigner // this.keysymTextBox.Location = new System.Drawing.Point(83, 9); this.keysymTextBox.Name = "keysymTextBox"; - this.keysymTextBox.Size = new System.Drawing.Size(152, 20); + this.keysymTextBox.Size = new System.Drawing.Size(119, 20); this.keysymTextBox.TabIndex = 4; // // loadButton @@ -147,6 +150,38 @@ namespace EmuKeyboardDesigner this.removeButton.UseVisualStyleBackColor = true; this.removeButton.Click += new System.EventHandler(this.OnRemoveKey); // + // moveDownButton + // + this.moveDownButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.moveDownButton.Location = new System.Drawing.Point(605, 401); + this.moveDownButton.Name = "moveDownButton"; + this.moveDownButton.Size = new System.Drawing.Size(75, 23); + this.moveDownButton.TabIndex = 11; + this.moveDownButton.Text = "MoveDown"; + this.moveDownButton.UseVisualStyleBackColor = true; + this.moveDownButton.Click += new System.EventHandler(this.OnMoveDown); + // + // moveUpButton + // + this.moveUpButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.moveUpButton.Location = new System.Drawing.Point(501, 401); + this.moveUpButton.Name = "moveUpButton"; + this.moveUpButton.Size = new System.Drawing.Size(75, 23); + this.moveUpButton.TabIndex = 10; + this.moveUpButton.Text = "Move Up"; + this.moveUpButton.UseVisualStyleBackColor = true; + this.moveUpButton.Click += new System.EventHandler(this.OnMoveUp); + // + // opsButton + // + this.opsButton.Location = new System.Drawing.Point(269, 9); + this.opsButton.Name = "opsButton"; + this.opsButton.Size = new System.Drawing.Size(47, 23); + this.opsButton.TabIndex = 12; + this.opsButton.Text = "Ops"; + this.opsButton.UseVisualStyleBackColor = true; + this.opsButton.Click += new System.EventHandler(this.OnOps); + // // imageControl // this.imageControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) @@ -168,6 +203,9 @@ namespace EmuKeyboardDesigner this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(692, 470); + this.Controls.Add(this.opsButton); + this.Controls.Add(this.moveDownButton); + this.Controls.Add(this.moveUpButton); this.Controls.Add(this.removeButton); this.Controls.Add(this.setButton); this.Controls.Add(this.saveButton); @@ -198,6 +236,9 @@ namespace EmuKeyboardDesigner private System.Windows.Forms.Button saveButton; private System.Windows.Forms.Button setButton; private System.Windows.Forms.Button removeButton; + private System.Windows.Forms.Button moveDownButton; + private System.Windows.Forms.Button moveUpButton; + private System.Windows.Forms.Button opsButton; } } -- cgit v1.2.3