mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Rename 'capture' button to 'launch' on CaptureDialog to clarify usage
This commit is contained in:
@@ -196,7 +196,7 @@ void CaptureDialog::setInjectMode(bool inject)
|
||||
|
||||
fillProcessList();
|
||||
|
||||
ui->capture->setText("Inject");
|
||||
ui->launch->setText("Inject");
|
||||
this->setWindowTitle("Inject into Process");
|
||||
}
|
||||
else
|
||||
@@ -209,7 +209,7 @@ void CaptureDialog::setInjectMode(bool inject)
|
||||
|
||||
ui->globalGroup->setVisible(m_Ctx->Config.AllowGlobalHook);
|
||||
|
||||
ui->capture->setText("Capture");
|
||||
ui->launch->setText("Launch");
|
||||
this->setWindowTitle("Capture Executable");
|
||||
}
|
||||
}
|
||||
@@ -382,7 +382,7 @@ void CaptureDialog::on_loadSettings_clicked()
|
||||
}
|
||||
}
|
||||
|
||||
void CaptureDialog::on_capture_clicked()
|
||||
void CaptureDialog::on_launch_clicked()
|
||||
{
|
||||
triggerCapture();
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ private slots:
|
||||
void on_saveSettings_clicked();
|
||||
void on_loadSettings_clicked();
|
||||
|
||||
void on_capture_clicked();
|
||||
void on_launch_clicked();
|
||||
void on_close_clicked();
|
||||
|
||||
void on_toggleGlobal_clicked();
|
||||
|
||||
@@ -696,9 +696,9 @@ Click here to set up Vulkan capture.</string>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="capture">
|
||||
<widget class="QPushButton" name="launch">
|
||||
<property name="text">
|
||||
<string>Capture</string>
|
||||
<string>Launch</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
+13
-13
@@ -64,7 +64,7 @@
|
||||
this.load = new System.Windows.Forms.Button();
|
||||
this.save = new System.Windows.Forms.Button();
|
||||
this.close = new System.Windows.Forms.Button();
|
||||
this.capture = new System.Windows.Forms.Button();
|
||||
this.launch = new System.Windows.Forms.Button();
|
||||
this.exeBrowser = new System.Windows.Forms.OpenFileDialog();
|
||||
this.workDirBrowser = new System.Windows.Forms.FolderBrowserDialog();
|
||||
this.saveDialog = new System.Windows.Forms.SaveFileDialog();
|
||||
@@ -472,7 +472,7 @@
|
||||
this.panel2.Controls.Add(this.load);
|
||||
this.panel2.Controls.Add(this.save);
|
||||
this.panel2.Controls.Add(this.close);
|
||||
this.panel2.Controls.Add(this.capture);
|
||||
this.panel2.Controls.Add(this.launch);
|
||||
this.panel2.Location = new System.Drawing.Point(3, 709);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(209, 26);
|
||||
@@ -516,16 +516,16 @@
|
||||
//
|
||||
// capture
|
||||
//
|
||||
this.capture.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.capture.Location = new System.Drawing.Point(104, 3);
|
||||
this.capture.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.capture.Name = "capture";
|
||||
this.capture.Size = new System.Drawing.Size(52, 23);
|
||||
this.capture.TabIndex = 21;
|
||||
this.capture.Text = "Capture";
|
||||
this.toolTip.SetToolTip(this.capture, "Trigger a capture of the selected program");
|
||||
this.capture.UseVisualStyleBackColor = true;
|
||||
this.capture.Click += new System.EventHandler(this.capture_Click);
|
||||
this.launch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.launch.Location = new System.Drawing.Point(104, 3);
|
||||
this.launch.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.launch.Name = "capture";
|
||||
this.launch.Size = new System.Drawing.Size(52, 23);
|
||||
this.launch.TabIndex = 21;
|
||||
this.launch.Text = "Launch";
|
||||
this.toolTip.SetToolTip(this.launch, "Trigger a capture of the selected program");
|
||||
this.launch.UseVisualStyleBackColor = true;
|
||||
this.launch.Click += new System.EventHandler(this.launch_Click);
|
||||
//
|
||||
// exeBrowser
|
||||
//
|
||||
@@ -819,7 +819,7 @@
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button capture;
|
||||
private System.Windows.Forms.Button launch;
|
||||
private System.Windows.Forms.Button close;
|
||||
private System.Windows.Forms.CheckBox AllowVSync;
|
||||
private System.Windows.Forms.CheckBox APIValidation;
|
||||
|
||||
@@ -197,7 +197,7 @@ namespace renderdocui.Windows.Dialogs
|
||||
mainTableLayout.RowStyles[1].SizeType = SizeType.Percent;
|
||||
mainTableLayout.RowStyles[1].Height = 100.0f;
|
||||
|
||||
capture.Text = "Inject";
|
||||
launch.Text = "Inject";
|
||||
|
||||
FillProcessList();
|
||||
|
||||
@@ -213,7 +213,7 @@ namespace renderdocui.Windows.Dialogs
|
||||
|
||||
globalGroup.Visible = m_Core.Config.AllowGlobalHook;
|
||||
|
||||
capture.Text = "Capture";
|
||||
launch.Text = "Launch";
|
||||
|
||||
Text = "Capture Executable";
|
||||
}
|
||||
@@ -633,7 +633,7 @@ namespace renderdocui.Windows.Dialogs
|
||||
workDirBrowser.SelectedPath = workDirPath.Text;
|
||||
}
|
||||
|
||||
private void capture_Click(object sender, EventArgs e)
|
||||
private void launch_Click(object sender, EventArgs e)
|
||||
{
|
||||
TriggerCapture();
|
||||
}
|
||||
@@ -975,7 +975,7 @@ namespace renderdocui.Windows.Dialogs
|
||||
exePath.Enabled = exeBrowse.Enabled =
|
||||
workDirPath.Enabled = workDirBrowse.Enabled =
|
||||
cmdline.Enabled =
|
||||
capture.Enabled = save.Enabled = load.Enabled = false;
|
||||
launch.Enabled = save.Enabled = load.Enabled = false;
|
||||
|
||||
foreach (Control c in capOptsFlow.Controls)
|
||||
c.Enabled = false;
|
||||
@@ -1047,7 +1047,7 @@ namespace renderdocui.Windows.Dialogs
|
||||
exePath.Enabled = exeBrowse.Enabled =
|
||||
workDirPath.Enabled = workDirBrowse.Enabled =
|
||||
cmdline.Enabled =
|
||||
capture.Enabled = save.Enabled = load.Enabled = true;
|
||||
launch.Enabled = save.Enabled = load.Enabled = true;
|
||||
|
||||
foreach (Control c in capOptsFlow.Controls)
|
||||
c.Enabled = true;
|
||||
@@ -1082,7 +1082,7 @@ namespace renderdocui.Windows.Dialogs
|
||||
exePath.Enabled = exeBrowse.Enabled =
|
||||
workDirPath.Enabled = workDirBrowse.Enabled =
|
||||
cmdline.Enabled =
|
||||
capture.Enabled = save.Enabled = load.Enabled = true;
|
||||
launch.Enabled = save.Enabled = load.Enabled = true;
|
||||
|
||||
foreach (Control c in capOptsFlow.Controls)
|
||||
c.Enabled = true;
|
||||
@@ -1136,7 +1136,7 @@ namespace renderdocui.Windows.Dialogs
|
||||
exePath.Enabled = exeBrowse.Enabled =
|
||||
workDirPath.Enabled = workDirBrowse.Enabled =
|
||||
cmdline.Enabled =
|
||||
capture.Enabled = save.Enabled = load.Enabled = true;
|
||||
launch.Enabled = save.Enabled = load.Enabled = true;
|
||||
|
||||
foreach (Control c in capOptsFlow.Controls)
|
||||
c.Enabled = true;
|
||||
|
||||
Reference in New Issue
Block a user