From cfbdc9821260750291ad0c7beba6f52e46187e38 Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 7 Oct 2014 00:11:23 +0100 Subject: [PATCH] Re-hook up KeyDown handler that mysteriously went missing. Refs #92 --- .../ConstantBufferPreviewer.Designer.cs | 273 +++++++++--------- 1 file changed, 137 insertions(+), 136 deletions(-) diff --git a/renderdocui/Windows/Dialogs/ConstantBufferPreviewer.Designer.cs b/renderdocui/Windows/Dialogs/ConstantBufferPreviewer.Designer.cs index 40aeedb50..6a5517afd 100644 --- a/renderdocui/Windows/Dialogs/ConstantBufferPreviewer.Designer.cs +++ b/renderdocui/Windows/Dialogs/ConstantBufferPreviewer.Designer.cs @@ -15,150 +15,151 @@ /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConstantBufferPreviewer)); - TreelistView.TreeListColumn treeListColumn1 = ((TreelistView.TreeListColumn)(new TreelistView.TreeListColumn("VarName", "Name"))); - TreelistView.TreeListColumn treeListColumn2 = ((TreelistView.TreeListColumn)(new TreelistView.TreeListColumn("VarValue", "Value"))); - TreelistView.TreeListColumn treeListColumn3 = ((TreelistView.TreeListColumn)(new TreelistView.TreeListColumn("VarType", "Type"))); - this.tableLayout = new System.Windows.Forms.TableLayoutPanel(); - this.toolStrip1 = new System.Windows.Forms.ToolStrip(); - this.slotLabel = new System.Windows.Forms.ToolStripLabel(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.nameLabel = new System.Windows.Forms.ToolStripLabel(); - this.setFormat = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.split = new System.Windows.Forms.SplitContainer(); - this.variables = new TreelistView.TreeListView(); - this.tableLayout.SuspendLayout(); - this.toolStrip1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.split)).BeginInit(); - this.split.Panel1.SuspendLayout(); - this.split.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.variables)).BeginInit(); - this.SuspendLayout(); - // - // tableLayout - // - this.tableLayout.ColumnCount = 1; - this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayout.Controls.Add(this.toolStrip1, 0, 0); - this.tableLayout.Controls.Add(this.split, 0, 1); - this.tableLayout.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayout.Location = new System.Drawing.Point(0, 0); - this.tableLayout.Name = "tableLayout"; - this.tableLayout.RowCount = 2; - this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayout.Size = new System.Drawing.Size(491, 330); - this.tableLayout.TabIndex = 0; - // - // toolStrip1 - // - this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; - this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConstantBufferPreviewer)); + TreelistView.TreeListColumn treeListColumn1 = ((TreelistView.TreeListColumn)(new TreelistView.TreeListColumn("VarName", "Name"))); + TreelistView.TreeListColumn treeListColumn2 = ((TreelistView.TreeListColumn)(new TreelistView.TreeListColumn("VarValue", "Value"))); + TreelistView.TreeListColumn treeListColumn3 = ((TreelistView.TreeListColumn)(new TreelistView.TreeListColumn("VarType", "Type"))); + this.tableLayout = new System.Windows.Forms.TableLayoutPanel(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.slotLabel = new System.Windows.Forms.ToolStripLabel(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.nameLabel = new System.Windows.Forms.ToolStripLabel(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.setFormat = new System.Windows.Forms.ToolStripButton(); + this.split = new System.Windows.Forms.SplitContainer(); + this.variables = new TreelistView.TreeListView(); + this.tableLayout.SuspendLayout(); + this.toolStrip1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.split)).BeginInit(); + this.split.Panel1.SuspendLayout(); + this.split.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.variables)).BeginInit(); + this.SuspendLayout(); + // + // tableLayout + // + this.tableLayout.ColumnCount = 1; + this.tableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayout.Controls.Add(this.toolStrip1, 0, 0); + this.tableLayout.Controls.Add(this.split, 0, 1); + this.tableLayout.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayout.Location = new System.Drawing.Point(0, 0); + this.tableLayout.Name = "tableLayout"; + this.tableLayout.RowCount = 2; + this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayout.Size = new System.Drawing.Size(491, 330); + this.tableLayout.TabIndex = 0; + // + // toolStrip1 + // + this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.slotLabel, this.toolStripSeparator1, this.nameLabel, this.toolStripSeparator2, this.setFormat}); - this.toolStrip1.Location = new System.Drawing.Point(0, 0); - this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(491, 25); - this.toolStrip1.TabIndex = 4; - this.toolStrip1.Text = "toolStrip1"; - // - // slotLabel - // - this.slotLabel.Name = "slotLabel"; - this.slotLabel.Size = new System.Drawing.Size(19, 22); - this.slotLabel.Text = " "; - // - // toolStripSeparator1 - // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); - // - // nameLabel - // - this.nameLabel.Name = "nameLabel"; - this.nameLabel.Size = new System.Drawing.Size(22, 22); - this.nameLabel.Text = " "; - // - // setFormat - // - this.setFormat.CheckOnClick = true; - this.setFormat.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; - this.setFormat.Image = ((System.Drawing.Image)(resources.GetObject("setFormat.Image"))); - this.setFormat.ImageTransparentColor = System.Drawing.Color.Magenta; - this.setFormat.Name = "setFormat"; - this.setFormat.Size = new System.Drawing.Size(23, 22); - this.setFormat.Text = "{}"; - this.setFormat.ToolTipText = "Set constant buffer layout"; - this.setFormat.CheckedChanged += new System.EventHandler(this.setFormat_CheckedChanged); - // - // toolStripSeparator2 - // - this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); - // - // split - // - this.split.Dock = System.Windows.Forms.DockStyle.Fill; - this.split.Location = new System.Drawing.Point(3, 28); - this.split.Name = "split"; - this.split.Orientation = System.Windows.Forms.Orientation.Horizontal; - // - // split.Panel1 - // - this.split.Panel1.Controls.Add(this.variables); - this.split.Panel1MinSize = 100; - this.split.Panel2Collapsed = true; - this.split.Panel2MinSize = 150; - this.split.Size = new System.Drawing.Size(485, 299); - this.split.SplitterDistance = 100; - this.split.TabIndex = 5; - // - // variables - // - treeListColumn1.AutoSizeMinSize = 0; - treeListColumn1.Width = 175; - treeListColumn2.AutoSize = true; - treeListColumn2.AutoSizeMinSize = 0; - treeListColumn2.Width = 50; - treeListColumn3.AutoSizeMinSize = 0; - treeListColumn3.Width = 50; - this.variables.Columns.AddRange(new TreelistView.TreeListColumn[] { + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(491, 25); + this.toolStrip1.TabIndex = 4; + this.toolStrip1.Text = "toolStrip1"; + // + // slotLabel + // + this.slotLabel.Name = "slotLabel"; + this.slotLabel.Size = new System.Drawing.Size(19, 22); + this.slotLabel.Text = " "; + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); + // + // nameLabel + // + this.nameLabel.Name = "nameLabel"; + this.nameLabel.Size = new System.Drawing.Size(22, 22); + this.nameLabel.Text = " "; + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); + // + // setFormat + // + this.setFormat.CheckOnClick = true; + this.setFormat.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; + this.setFormat.Image = ((System.Drawing.Image)(resources.GetObject("setFormat.Image"))); + this.setFormat.ImageTransparentColor = System.Drawing.Color.Magenta; + this.setFormat.Name = "setFormat"; + this.setFormat.Size = new System.Drawing.Size(23, 22); + this.setFormat.Text = "{}"; + this.setFormat.ToolTipText = "Set constant buffer layout"; + this.setFormat.CheckedChanged += new System.EventHandler(this.setFormat_CheckedChanged); + // + // split + // + this.split.Dock = System.Windows.Forms.DockStyle.Fill; + this.split.Location = new System.Drawing.Point(3, 28); + this.split.Name = "split"; + this.split.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // split.Panel1 + // + this.split.Panel1.Controls.Add(this.variables); + this.split.Panel1MinSize = 100; + this.split.Panel2Collapsed = true; + this.split.Panel2MinSize = 150; + this.split.Size = new System.Drawing.Size(485, 299); + this.split.SplitterDistance = 100; + this.split.TabIndex = 5; + // + // variables + // + treeListColumn1.AutoSizeMinSize = 0; + treeListColumn1.Width = 175; + treeListColumn2.AutoSize = true; + treeListColumn2.AutoSizeMinSize = 0; + treeListColumn2.Width = 50; + treeListColumn3.AutoSizeMinSize = 0; + treeListColumn3.Width = 50; + this.variables.Columns.AddRange(new TreelistView.TreeListColumn[] { treeListColumn1, treeListColumn2, treeListColumn3}); - this.variables.ColumnsOptions.LeftMargin = 0; - this.variables.Cursor = System.Windows.Forms.Cursors.Arrow; - this.variables.Dock = System.Windows.Forms.DockStyle.Fill; - this.variables.Location = new System.Drawing.Point(0, 0); - this.variables.Name = "variables"; - this.variables.RowOptions.ShowHeader = false; - this.variables.Size = new System.Drawing.Size(485, 299); - this.variables.TabIndex = 4; - this.variables.Text = "treeListView1"; - // - // ConstantBufferPreviewer - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(491, 330); - this.Controls.Add(this.tableLayout); - this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Name = "ConstantBufferPreviewer"; - this.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockRight; - this.tableLayout.ResumeLayout(false); - this.tableLayout.PerformLayout(); - this.toolStrip1.ResumeLayout(false); - this.toolStrip1.PerformLayout(); - this.split.Panel1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.split)).EndInit(); - this.split.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.variables)).EndInit(); - this.ResumeLayout(false); + this.variables.ColumnsOptions.LeftMargin = 0; + this.variables.Cursor = System.Windows.Forms.Cursors.Arrow; + this.variables.Dock = System.Windows.Forms.DockStyle.Fill; + this.variables.Location = new System.Drawing.Point(0, 0); + this.variables.Name = "variables"; + this.variables.RowOptions.ShowHeader = false; + this.variables.Size = new System.Drawing.Size(485, 299); + this.variables.TabIndex = 4; + this.variables.Text = "treeListView1"; + this.variables.KeyDown += new System.Windows.Forms.KeyEventHandler(this.variables_KeyDown); + // + // ConstantBufferPreviewer + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(491, 330); + this.Controls.Add(this.tableLayout); + this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Name = "ConstantBufferPreviewer"; + this.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockRight; + this.tableLayout.ResumeLayout(false); + this.tableLayout.PerformLayout(); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + this.split.Panel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.split)).EndInit(); + this.split.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.variables)).EndInit(); + this.ResumeLayout(false); }