From 385b7198837000bea43e22ff48f3c9563b68fd17 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 27 Oct 2016 21:22:46 +0200 Subject: [PATCH] Make warning on inject screen much more obvious --- .../Windows/Dialogs/CaptureDialog.Designer.cs | 30 ++++++++++--------- .../Windows/Dialogs/CaptureDialog.resx | 3 -- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/renderdocui/Windows/Dialogs/CaptureDialog.Designer.cs b/renderdocui/Windows/Dialogs/CaptureDialog.Designer.cs index 1b3c216ab..84950a7f6 100644 --- a/renderdocui/Windows/Dialogs/CaptureDialog.Designer.cs +++ b/renderdocui/Windows/Dialogs/CaptureDialog.Designer.cs @@ -141,9 +141,11 @@ label5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); label5.AutoEllipsis = true; + label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + label5.ForeColor = System.Drawing.Color.Red; label5.Location = new System.Drawing.Point(9, 16); label5.Name = "label5"; - label5.Size = new System.Drawing.Size(179, 23); + label5.Size = new System.Drawing.Size(179, 35); label5.TabIndex = 3; label5.Text = "NOTE: Injecting only works when the process has not used the target API"; // @@ -186,7 +188,7 @@ this.actionsGroup.AutoSize = true; this.actionsGroup.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.actionsGroup.Controls.Add(this.actionsFlow); - this.actionsGroup.Location = new System.Drawing.Point(10, 511); + this.actionsGroup.Location = new System.Drawing.Point(10, 531); this.actionsGroup.Margin = new System.Windows.Forms.Padding(10); this.actionsGroup.Name = "actionsGroup"; this.actionsGroup.Size = new System.Drawing.Size(195, 65); @@ -246,7 +248,7 @@ this.globalGroup.AutoSize = true; this.globalGroup.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.globalGroup.Controls.Add(this.globalFlow); - this.globalGroup.Location = new System.Drawing.Point(10, 596); + this.globalGroup.Location = new System.Drawing.Point(10, 616); this.globalGroup.Margin = new System.Windows.Forms.Padding(10); this.globalGroup.Name = "globalGroup"; this.globalGroup.Size = new System.Drawing.Size(195, 80); @@ -285,7 +287,7 @@ this.capOptsGroup.AutoSize = true; this.capOptsGroup.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.capOptsGroup.Controls.Add(this.capOptsFlow); - this.capOptsGroup.Location = new System.Drawing.Point(10, 378); + this.capOptsGroup.Location = new System.Drawing.Point(10, 398); this.capOptsGroup.Margin = new System.Windows.Forms.Padding(10); this.capOptsGroup.Name = "capOptsGroup"; this.capOptsGroup.Size = new System.Drawing.Size(195, 113); @@ -471,7 +473,7 @@ this.panel2.Controls.Add(this.save); this.panel2.Controls.Add(this.close); this.panel2.Controls.Add(this.capture); - this.panel2.Location = new System.Drawing.Point(3, 689); + this.panel2.Location = new System.Drawing.Point(3, 709); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(209, 26); this.panel2.TabIndex = 8; @@ -614,7 +616,7 @@ // pidRefresh // this.pidRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.pidRefresh.Location = new System.Drawing.Point(113, 118); + this.pidRefresh.Location = new System.Drawing.Point(113, 128); this.pidRefresh.Name = "pidRefresh"; this.pidRefresh.Size = new System.Drawing.Size(75, 23); this.pidRefresh.TabIndex = 6; @@ -636,10 +638,10 @@ this.pidList.GridLines = true; this.pidList.HideSelection = false; this.pidList.LabelWrap = false; - this.pidList.Location = new System.Drawing.Point(6, 42); + this.pidList.Location = new System.Drawing.Point(6, 54); this.pidList.MultiSelect = false; this.pidList.Name = "pidList"; - this.pidList.Size = new System.Drawing.Size(182, 70); + this.pidList.Size = new System.Drawing.Size(182, 68); this.pidList.TabIndex = 5; this.toolTip.SetToolTip(this.pidList, "Select the process to inject into - must not yet have utilised the target API"); this.pidList.UseCompatibleStateImageBehavior = false; @@ -681,7 +683,7 @@ // this.processFilter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.processFilter.Location = new System.Drawing.Point(6, 120); + this.processFilter.Location = new System.Drawing.Point(6, 130); this.processFilter.Name = "processFilter"; this.processFilter.Size = new System.Drawing.Size(103, 20); this.processFilter.TabIndex = 7; @@ -713,7 +715,7 @@ this.mainTableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.mainTableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.mainTableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.mainTableLayout.Size = new System.Drawing.Size(215, 718); + this.mainTableLayout.Size = new System.Drawing.Size(215, 738); this.mainTableLayout.TabIndex = 8; this.mainTableLayout.Layout += new System.Windows.Forms.LayoutEventHandler(this.mainTableLayout_Layout); // @@ -749,9 +751,9 @@ this.processGroup.Dock = System.Windows.Forms.DockStyle.Fill; this.processGroup.Location = new System.Drawing.Point(10, 164); this.processGroup.Margin = new System.Windows.Forms.Padding(10); - this.processGroup.MinimumSize = new System.Drawing.Size(0, 150); + this.processGroup.MinimumSize = new System.Drawing.Size(0, 160); this.processGroup.Name = "processGroup"; - this.processGroup.Size = new System.Drawing.Size(195, 150); + this.processGroup.Size = new System.Drawing.Size(195, 160); this.processGroup.TabIndex = 9; this.processGroup.TabStop = false; this.processGroup.Text = "Process"; @@ -765,7 +767,7 @@ this.vulkanLayerWarn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.vulkanLayerWarn.Image = global::renderdocui.Properties.Resources.information; this.vulkanLayerWarn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.vulkanLayerWarn.Location = new System.Drawing.Point(3, 320); + this.vulkanLayerWarn.Location = new System.Drawing.Point(3, 340); this.vulkanLayerWarn.Margin = new System.Windows.Forms.Padding(3, 10, 3, 10); this.vulkanLayerWarn.Name = "vulkanLayerWarn"; this.vulkanLayerWarn.Size = new System.Drawing.Size(209, 38); @@ -782,7 +784,7 @@ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScroll = true; this.AutoScrollMinSize = new System.Drawing.Size(215, 0); - this.ClientSize = new System.Drawing.Size(196, 734); + this.ClientSize = new System.Drawing.Size(196, 754); this.Controls.Add(this.mainTableLayout); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Name = "CaptureDialog"; diff --git a/renderdocui/Windows/Dialogs/CaptureDialog.resx b/renderdocui/Windows/Dialogs/CaptureDialog.resx index a817b0b8d..d73a9cc19 100644 --- a/renderdocui/Windows/Dialogs/CaptureDialog.resx +++ b/renderdocui/Windows/Dialogs/CaptureDialog.resx @@ -141,9 +141,6 @@ False - - 485, 17 - 17, 17