Also added OCR help button to task settings window

This commit is contained in:
Jaex 2022-07-10 12:43:01 +03:00
parent 0e68e9006a
commit 68099c4494
3 changed files with 934 additions and 3585 deletions

View file

@ -217,6 +217,7 @@ private void InitializeComponent()
this.nudGIFFPS = new System.Windows.Forms.NumericUpDown();
this.lblGIFFPS = new System.Windows.Forms.Label();
this.tpOCR = new System.Windows.Forms.TabPage();
this.btnCaptureOCRHelp = new System.Windows.Forms.Button();
this.cbCaptureOCRAutoCopy = new System.Windows.Forms.CheckBox();
this.cbCaptureOCRSilent = new System.Windows.Forms.CheckBox();
this.lblOCRDefaultLanguage = new System.Windows.Forms.Label();
@ -1985,6 +1986,7 @@ private void InitializeComponent()
//
// tpOCR
//
this.tpOCR.Controls.Add(this.btnCaptureOCRHelp);
this.tpOCR.Controls.Add(this.cbCaptureOCRAutoCopy);
this.tpOCR.Controls.Add(this.cbCaptureOCRSilent);
this.tpOCR.Controls.Add(this.lblOCRDefaultLanguage);
@ -1993,6 +1995,14 @@ private void InitializeComponent()
this.tpOCR.Name = "tpOCR";
this.tpOCR.UseVisualStyleBackColor = true;
//
// btnCaptureOCRHelp
//
this.btnCaptureOCRHelp.Image = global::ShareX.Properties.Resources.question;
resources.ApplyResources(this.btnCaptureOCRHelp, "btnCaptureOCRHelp");
this.btnCaptureOCRHelp.Name = "btnCaptureOCRHelp";
this.btnCaptureOCRHelp.UseVisualStyleBackColor = true;
this.btnCaptureOCRHelp.Click += new System.EventHandler(this.btnCaptureOCRHelp_Click);
//
// cbCaptureOCRAutoCopy
//
resources.ApplyResources(this.cbCaptureOCRAutoCopy, "cbCaptureOCRAutoCopy");
@ -2952,5 +2962,6 @@ private void InitializeComponent()
private System.Windows.Forms.NumericUpDown nudRegionCaptureFPSLimit;
private System.Windows.Forms.Label lblRegionCaptureFPSLimit;
private System.Windows.Forms.CheckBox cbRegionCaptureActiveMonitorMode;
private System.Windows.Forms.Button btnCaptureOCRHelp;
}
}

View file

@ -1339,6 +1339,11 @@ private void cbCaptureOCRDefaultLanguage_SelectedIndexChanged(object sender, Eve
}
}
private void btnCaptureOCRHelp_Click(object sender, EventArgs e)
{
URLHelpers.OpenURL(Links.DocsOCR);
}
private void cbCaptureOCRSilent_CheckedChanged(object sender, EventArgs e)
{
TaskSettings.CaptureSettings.OCROptions.Silent = cbCaptureOCRSilent.Checked;

File diff suppressed because it is too large Load diff