diff --git a/src/ui/Forms/BeautifyTimeCodes.Designer.cs b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodes.Designer.cs
similarity index 97%
rename from src/ui/Forms/BeautifyTimeCodes.Designer.cs
rename to src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodes.Designer.cs
index 076d9340d..127848195 100644
--- a/src/ui/Forms/BeautifyTimeCodes.Designer.cs
+++ b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodes.Designer.cs
@@ -1,5 +1,5 @@
-namespace Nikse.SubtitleEdit.Forms
+namespace Nikse.SubtitleEdit.Forms.BeautifyTimeCodes
{
partial class BeautifyTimeCodes
{
@@ -61,7 +61,7 @@ namespace Nikse.SubtitleEdit.Forms
this.buttonOK.Location = new System.Drawing.Point(415, 350);
this.buttonOK.Name = "buttonOK";
this.buttonOK.Size = new System.Drawing.Size(75, 23);
- this.buttonOK.TabIndex = 3;
+ this.buttonOK.TabIndex = 21;
this.buttonOK.Text = "OK";
this.buttonOK.UseVisualStyleBackColor = true;
this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
@@ -73,7 +73,7 @@ namespace Nikse.SubtitleEdit.Forms
this.buttonCancel.Location = new System.Drawing.Point(496, 350);
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
- this.buttonCancel.TabIndex = 4;
+ this.buttonCancel.TabIndex = 22;
this.buttonCancel.Text = "Cancel";
this.buttonCancel.UseVisualStyleBackColor = true;
//
@@ -99,7 +99,7 @@ namespace Nikse.SubtitleEdit.Forms
this.checkBoxAlignTimeCodes.Location = new System.Drawing.Point(10, 22);
this.checkBoxAlignTimeCodes.Name = "checkBoxAlignTimeCodes";
this.checkBoxAlignTimeCodes.Size = new System.Drawing.Size(224, 19);
- this.checkBoxAlignTimeCodes.TabIndex = 1;
+ this.checkBoxAlignTimeCodes.TabIndex = 2;
this.checkBoxAlignTimeCodes.Text = "Align time codes to frame time codes";
this.checkBoxAlignTimeCodes.UseVisualStyleBackColor = true;
this.checkBoxAlignTimeCodes.CheckedChanged += new System.EventHandler(this.checkBoxAlignTimeCodes_CheckedChanged);
@@ -121,7 +121,7 @@ namespace Nikse.SubtitleEdit.Forms
this.checkBoxExtractExactTimeCodes.Location = new System.Drawing.Point(4, 2);
this.checkBoxExtractExactTimeCodes.Name = "checkBoxExtractExactTimeCodes";
this.checkBoxExtractExactTimeCodes.Size = new System.Drawing.Size(266, 19);
- this.checkBoxExtractExactTimeCodes.TabIndex = 1;
+ this.checkBoxExtractExactTimeCodes.TabIndex = 3;
this.checkBoxExtractExactTimeCodes.Text = "Use ffprobe to extract exact frame time codes";
this.checkBoxExtractExactTimeCodes.UseVisualStyleBackColor = true;
this.checkBoxExtractExactTimeCodes.CheckedChanged += new System.EventHandler(this.checkBoxExtractExactTimeCodes_CheckedChanged);
@@ -171,7 +171,7 @@ namespace Nikse.SubtitleEdit.Forms
this.buttonExtractTimeCodes.Location = new System.Drawing.Point(23, 18);
this.buttonExtractTimeCodes.Name = "buttonExtractTimeCodes";
this.buttonExtractTimeCodes.Size = new System.Drawing.Size(149, 23);
- this.buttonExtractTimeCodes.TabIndex = 2;
+ this.buttonExtractTimeCodes.TabIndex = 4;
this.buttonExtractTimeCodes.Text = "Extract time codes";
this.buttonExtractTimeCodes.UseVisualStyleBackColor = true;
this.buttonExtractTimeCodes.Click += new System.EventHandler(this.buttonExtractTimeCodes_Click);
@@ -195,7 +195,7 @@ namespace Nikse.SubtitleEdit.Forms
this.groupBoxShotChanges.Location = new System.Drawing.Point(12, 170);
this.groupBoxShotChanges.Name = "groupBoxShotChanges";
this.groupBoxShotChanges.Size = new System.Drawing.Size(558, 101);
- this.groupBoxShotChanges.TabIndex = 2;
+ this.groupBoxShotChanges.TabIndex = 10;
this.groupBoxShotChanges.TabStop = false;
this.groupBoxShotChanges.Text = "Shot changes";
//
@@ -207,7 +207,7 @@ namespace Nikse.SubtitleEdit.Forms
this.checkBoxSnapToShotChanges.Location = new System.Drawing.Point(10, 22);
this.checkBoxSnapToShotChanges.Name = "checkBoxSnapToShotChanges";
this.checkBoxSnapToShotChanges.Size = new System.Drawing.Size(166, 19);
- this.checkBoxSnapToShotChanges.TabIndex = 1;
+ this.checkBoxSnapToShotChanges.TabIndex = 11;
this.checkBoxSnapToShotChanges.Text = "Snap cues to shot changes";
this.checkBoxSnapToShotChanges.UseVisualStyleBackColor = true;
this.checkBoxSnapToShotChanges.CheckedChanged += new System.EventHandler(this.checkBoxSnapToShotChanges_CheckedChanged);
@@ -229,7 +229,7 @@ namespace Nikse.SubtitleEdit.Forms
this.buttonImportShotChanges.Location = new System.Drawing.Point(23, 18);
this.buttonImportShotChanges.Name = "buttonImportShotChanges";
this.buttonImportShotChanges.Size = new System.Drawing.Size(221, 23);
- this.buttonImportShotChanges.TabIndex = 2;
+ this.buttonImportShotChanges.TabIndex = 12;
this.buttonImportShotChanges.Text = "Generate / import shot changes...";
this.buttonImportShotChanges.UseVisualStyleBackColor = true;
this.buttonImportShotChanges.Click += new System.EventHandler(this.buttonImportShotChanges_Click);
@@ -249,7 +249,7 @@ namespace Nikse.SubtitleEdit.Forms
this.buttonEditProfile.Location = new System.Drawing.Point(11, 279);
this.buttonEditProfile.Name = "buttonEditProfile";
this.buttonEditProfile.Size = new System.Drawing.Size(178, 28);
- this.buttonEditProfile.TabIndex = 3;
+ this.buttonEditProfile.TabIndex = 20;
this.buttonEditProfile.Text = "Edit profile...";
this.buttonEditProfile.UseVisualStyleBackColor = true;
this.buttonEditProfile.Click += new System.EventHandler(this.buttonEditProfile_Click);
diff --git a/src/ui/Forms/BeautifyTimeCodes.cs b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodes.cs
similarity index 98%
rename from src/ui/Forms/BeautifyTimeCodes.cs
rename to src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodes.cs
index a62ddff5d..2d9795d9a 100644
--- a/src/ui/Forms/BeautifyTimeCodes.cs
+++ b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodes.cs
@@ -1,20 +1,14 @@
using System;
using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
using System.Drawing;
using System.IO;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using System.Windows.Forms;
-using Nikse.SubtitleEdit.Core;
using Nikse.SubtitleEdit.Core.Common;
using Nikse.SubtitleEdit.Core.Forms;
using Nikse.SubtitleEdit.Forms.ShotChanges;
using Nikse.SubtitleEdit.Logic;
-namespace Nikse.SubtitleEdit.Forms
+namespace Nikse.SubtitleEdit.Forms.BeautifyTimeCodes
{
public partial class BeautifyTimeCodes : Form
{
diff --git a/src/ui/Forms/BeautifyTimeCodes.resx b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodes.resx
similarity index 100%
rename from src/ui/Forms/BeautifyTimeCodes.resx
rename to src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodes.resx
diff --git a/src/ui/Forms/BeautifyTimeCodesProfile.Designer.cs b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfile.Designer.cs
similarity index 96%
rename from src/ui/Forms/BeautifyTimeCodesProfile.Designer.cs
rename to src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfile.Designer.cs
index 308198d28..74dd73a9b 100644
--- a/src/ui/Forms/BeautifyTimeCodesProfile.Designer.cs
+++ b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfile.Designer.cs
@@ -1,5 +1,5 @@
-namespace Nikse.SubtitleEdit.Forms
+namespace Nikse.SubtitleEdit.Forms.BeautifyTimeCodes
{
partial class BeautifyTimeCodesProfile
{
@@ -33,9 +33,6 @@ namespace Nikse.SubtitleEdit.Forms
this.buttonOK = new System.Windows.Forms.Button();
this.menuStrip = new System.Windows.Forms.MenuStrip();
this.toolStripMenuItemLoadPreset = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItemLoadDefault = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItemLoadNetflix = new System.Windows.Forms.ToolStripMenuItem();
- this.toolStripMenuItemLoadSDI = new System.Windows.Forms.ToolStripMenuItem();
this.groupBoxGeneral = new System.Windows.Forms.GroupBox();
this.labelGapSuffix = new System.Windows.Forms.Label();
this.numericUpDownGap = new System.Windows.Forms.NumericUpDown();
@@ -48,6 +45,7 @@ namespace Nikse.SubtitleEdit.Forms
this.numericUpDownInCuesRightRedZone = new System.Windows.Forms.NumericUpDown();
this.numericUpDownInCuesGap = new System.Windows.Forms.NumericUpDown();
this.labelInCuesGap = new System.Windows.Forms.Label();
+ this.cuesPreviewViewInCues = new Nikse.SubtitleEdit.Controls.CuesPreviewView();
this.groupBoxOutCues = new System.Windows.Forms.GroupBox();
this.labelOutCuesZones = new System.Windows.Forms.Label();
this.numericUpDownOutCuesLeftGreenZone = new System.Windows.Forms.NumericUpDown();
@@ -56,7 +54,10 @@ namespace Nikse.SubtitleEdit.Forms
this.numericUpDownOutCuesRightGreenZone = new System.Windows.Forms.NumericUpDown();
this.numericUpDownOutCuesRightRedZone = new System.Windows.Forms.NumericUpDown();
this.labelOutCuesGap = new System.Windows.Forms.Label();
+ this.cuesPreviewViewOutCues = new Nikse.SubtitleEdit.Controls.CuesPreviewView();
this.groupBoxConnectedSubtitles = new System.Windows.Forms.GroupBox();
+ this.cuesPreviewViewConnectedSubtitlesInCueClosest = new Nikse.SubtitleEdit.Controls.CuesPreviewView();
+ this.cuesPreviewViewConnectedSubtitlesOutCueClosest = new Nikse.SubtitleEdit.Controls.CuesPreviewView();
this.labelConnectedSubtitlesTreatConnectedSuffix = new System.Windows.Forms.Label();
this.numericUpDownConnectedSubtitlesTreatConnected = new System.Windows.Forms.NumericUpDown();
this.labelConnectedSubtitlesTreatConnected = new System.Windows.Forms.Label();
@@ -65,7 +66,19 @@ namespace Nikse.SubtitleEdit.Forms
this.numericUpDownConnectedSubtitlesLeftRedZone = new System.Windows.Forms.NumericUpDown();
this.numericUpDownConnectedSubtitlesRightGreenZone = new System.Windows.Forms.NumericUpDown();
this.numericUpDownConnectedSubtitlesRightRedZone = new System.Windows.Forms.NumericUpDown();
+ this.tabControlConnectedSubtitles = new System.Windows.Forms.TabControl();
+ this.tabPageConnectedSubtitlesInCueClosest = new System.Windows.Forms.TabPage();
+ this.numericUpDownConnectedSubtitlesInCueClosestLeftGap = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDownConnectedSubtitlesInCueClosestRightGap = new System.Windows.Forms.NumericUpDown();
+ this.labelConnectedSubtitlesInCueClosestGaps = new System.Windows.Forms.Label();
+ this.tabPageConnectedSubtitlesOutCueClosest = new System.Windows.Forms.TabPage();
+ this.numericUpDownConnectedSubtitlesOutCueClosestLeftGap = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDownConnectedSubtitlesOutCueClosestRightGap = new System.Windows.Forms.NumericUpDown();
+ this.labelConnectedSubtitlesOutCueClosestGaps = new System.Windows.Forms.Label();
this.groupBoxChaining = new System.Windows.Forms.GroupBox();
+ this.cuesPreviewViewChainingGeneral = new Nikse.SubtitleEdit.Controls.CuesPreviewView();
+ this.cuesPreviewViewChainingOutCueOnShot = new Nikse.SubtitleEdit.Controls.CuesPreviewView();
+ this.cuesPreviewViewChainingInCueOnShot = new Nikse.SubtitleEdit.Controls.CuesPreviewView();
this.tabControlChaining = new System.Windows.Forms.TabControl();
this.tabPageChainingGeneral = new System.Windows.Forms.TabPage();
this.labelChainingGeneralShotChangeBehavior = new System.Windows.Forms.Label();
@@ -90,22 +103,7 @@ namespace Nikse.SubtitleEdit.Forms
this.radioButtonChainingOutCueOnShotZones = new System.Windows.Forms.RadioButton();
this.radioButtonChainingOutCueOnShotMaxGap = new System.Windows.Forms.RadioButton();
this.numericUpDownChainingOutCueOnShotMaxGap = new System.Windows.Forms.NumericUpDown();
- this.tabControlConnectedSubtitles = new System.Windows.Forms.TabControl();
- this.tabPageConnectedSubtitlesInCueClosest = new System.Windows.Forms.TabPage();
- this.tabPageConnectedSubtitlesOutCueClosest = new System.Windows.Forms.TabPage();
- this.numericUpDownConnectedSubtitlesInCueClosestLeftGap = new System.Windows.Forms.NumericUpDown();
- this.numericUpDownConnectedSubtitlesInCueClosestRightGap = new System.Windows.Forms.NumericUpDown();
- this.labelConnectedSubtitlesInCueClosestGaps = new System.Windows.Forms.Label();
- this.numericUpDownConnectedSubtitlesOutCueClosestLeftGap = new System.Windows.Forms.NumericUpDown();
- this.numericUpDownConnectedSubtitlesOutCueClosestRightGap = new System.Windows.Forms.NumericUpDown();
- this.labelConnectedSubtitlesOutCueClosestGaps = new System.Windows.Forms.Label();
- this.cuesPreviewViewChainingGeneral = new Nikse.SubtitleEdit.Controls.CuesPreviewView();
- this.cuesPreviewViewChainingOutCueOnShot = new Nikse.SubtitleEdit.Controls.CuesPreviewView();
- this.cuesPreviewViewChainingInCueOnShot = new Nikse.SubtitleEdit.Controls.CuesPreviewView();
- this.cuesPreviewViewConnectedSubtitlesInCueClosest = new Nikse.SubtitleEdit.Controls.CuesPreviewView();
- this.cuesPreviewViewConnectedSubtitlesOutCueClosest = new Nikse.SubtitleEdit.Controls.CuesPreviewView();
- this.cuesPreviewViewOutCues = new Nikse.SubtitleEdit.Controls.CuesPreviewView();
- this.cuesPreviewViewInCues = new Nikse.SubtitleEdit.Controls.CuesPreviewView();
+ this.buttonCreateSimple = new System.Windows.Forms.Button();
this.menuStrip.SuspendLayout();
this.groupBoxGeneral.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownGap)).BeginInit();
@@ -127,6 +125,13 @@ namespace Nikse.SubtitleEdit.Forms
((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesLeftRedZone)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesRightGreenZone)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesRightRedZone)).BeginInit();
+ this.tabControlConnectedSubtitles.SuspendLayout();
+ this.tabPageConnectedSubtitlesInCueClosest.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesInCueClosestLeftGap)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesInCueClosestRightGap)).BeginInit();
+ this.tabPageConnectedSubtitlesOutCueClosest.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesOutCueClosestLeftGap)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesOutCueClosestRightGap)).BeginInit();
this.groupBoxChaining.SuspendLayout();
this.tabControlChaining.SuspendLayout();
this.tabPageChainingGeneral.SuspendLayout();
@@ -141,13 +146,6 @@ namespace Nikse.SubtitleEdit.Forms
((System.ComponentModel.ISupportInitialize)(this.numericUpDownChainingOutCueOnShotRightGreenZone)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownChainingOutCueOnShotRightRedZone)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownChainingOutCueOnShotMaxGap)).BeginInit();
- this.tabControlConnectedSubtitles.SuspendLayout();
- this.tabPageConnectedSubtitlesInCueClosest.SuspendLayout();
- this.tabPageConnectedSubtitlesOutCueClosest.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesInCueClosestLeftGap)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesInCueClosestRightGap)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesOutCueClosestLeftGap)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesOutCueClosestRightGap)).BeginInit();
this.SuspendLayout();
//
// buttonCancel
@@ -179,40 +177,15 @@ namespace Nikse.SubtitleEdit.Forms
this.menuStrip.Location = new System.Drawing.Point(0, 0);
this.menuStrip.Name = "menuStrip";
this.menuStrip.Size = new System.Drawing.Size(870, 24);
- this.menuStrip.TabIndex = 4;
+ this.menuStrip.TabIndex = 103;
this.menuStrip.Text = "menuStrip1";
//
// toolStripMenuItemLoadPreset
//
- this.toolStripMenuItemLoadPreset.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.toolStripMenuItemLoadDefault,
- this.toolStripMenuItemLoadNetflix,
- this.toolStripMenuItemLoadSDI});
this.toolStripMenuItemLoadPreset.Name = "toolStripMenuItemLoadPreset";
this.toolStripMenuItemLoadPreset.Size = new System.Drawing.Size(89, 20);
this.toolStripMenuItemLoadPreset.Text = "Load preset...";
//
- // toolStripMenuItemLoadDefault
- //
- this.toolStripMenuItemLoadDefault.Name = "toolStripMenuItemLoadDefault";
- this.toolStripMenuItemLoadDefault.Size = new System.Drawing.Size(112, 22);
- this.toolStripMenuItemLoadDefault.Text = "Default";
- this.toolStripMenuItemLoadDefault.Click += new System.EventHandler(this.toolStripMenuItemLoadDefault_Click);
- //
- // toolStripMenuItemLoadNetflix
- //
- this.toolStripMenuItemLoadNetflix.Name = "toolStripMenuItemLoadNetflix";
- this.toolStripMenuItemLoadNetflix.Size = new System.Drawing.Size(112, 22);
- this.toolStripMenuItemLoadNetflix.Text = "Netflix";
- this.toolStripMenuItemLoadNetflix.Click += new System.EventHandler(this.toolStripMenuItemLoadNetflix_Click);
- //
- // toolStripMenuItemLoadSDI
- //
- this.toolStripMenuItemLoadSDI.Name = "toolStripMenuItemLoadSDI";
- this.toolStripMenuItemLoadSDI.Size = new System.Drawing.Size(112, 22);
- this.toolStripMenuItemLoadSDI.Text = "SDI";
- this.toolStripMenuItemLoadSDI.Click += new System.EventHandler(this.toolStripMenuItemLoadSDI_Click);
- //
// groupBoxGeneral
//
this.groupBoxGeneral.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
@@ -223,7 +196,7 @@ namespace Nikse.SubtitleEdit.Forms
this.groupBoxGeneral.Location = new System.Drawing.Point(12, 27);
this.groupBoxGeneral.Name = "groupBoxGeneral";
this.groupBoxGeneral.Size = new System.Drawing.Size(846, 59);
- this.groupBoxGeneral.TabIndex = 1;
+ this.groupBoxGeneral.TabIndex = 10;
this.groupBoxGeneral.TabStop = false;
this.groupBoxGeneral.Text = "General";
//
@@ -246,7 +219,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownGap.Name = "numericUpDownGap";
this.numericUpDownGap.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownGap.TabIndex = 3;
+ this.numericUpDownGap.TabIndex = 11;
this.numericUpDownGap.Value = new decimal(new int[] {
3,
0,
@@ -276,7 +249,7 @@ namespace Nikse.SubtitleEdit.Forms
this.groupBoxInCues.Location = new System.Drawing.Point(12, 92);
this.groupBoxInCues.Name = "groupBoxInCues";
this.groupBoxInCues.Size = new System.Drawing.Size(420, 161);
- this.groupBoxInCues.TabIndex = 2;
+ this.groupBoxInCues.TabIndex = 20;
this.groupBoxInCues.TabStop = false;
this.groupBoxInCues.Text = "In cues";
//
@@ -300,7 +273,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownInCuesLeftGreenZone.Name = "numericUpDownInCuesLeftGreenZone";
this.numericUpDownInCuesLeftGreenZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownInCuesLeftGreenZone.TabIndex = 21;
+ this.numericUpDownInCuesLeftGreenZone.TabIndex = 22;
this.numericUpDownInCuesLeftGreenZone.Value = new decimal(new int[] {
12,
0,
@@ -319,7 +292,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownInCuesLeftRedZone.Name = "numericUpDownInCuesLeftRedZone";
this.numericUpDownInCuesLeftRedZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownInCuesLeftRedZone.TabIndex = 22;
+ this.numericUpDownInCuesLeftRedZone.TabIndex = 23;
this.numericUpDownInCuesLeftRedZone.Value = new decimal(new int[] {
7,
0,
@@ -338,7 +311,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownInCuesRightGreenZone.Name = "numericUpDownInCuesRightGreenZone";
this.numericUpDownInCuesRightGreenZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownInCuesRightGreenZone.TabIndex = 24;
+ this.numericUpDownInCuesRightGreenZone.TabIndex = 25;
this.numericUpDownInCuesRightGreenZone.Value = new decimal(new int[] {
12,
0,
@@ -357,7 +330,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownInCuesRightRedZone.Name = "numericUpDownInCuesRightRedZone";
this.numericUpDownInCuesRightRedZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownInCuesRightRedZone.TabIndex = 23;
+ this.numericUpDownInCuesRightRedZone.TabIndex = 24;
this.numericUpDownInCuesRightRedZone.Value = new decimal(new int[] {
7,
0,
@@ -375,7 +348,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownInCuesGap.Name = "numericUpDownInCuesGap";
this.numericUpDownInCuesGap.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownInCuesGap.TabIndex = 12;
+ this.numericUpDownInCuesGap.TabIndex = 21;
this.numericUpDownInCuesGap.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
//
// labelInCuesGap
@@ -387,6 +360,24 @@ namespace Nikse.SubtitleEdit.Forms
this.labelInCuesGap.TabIndex = 10;
this.labelInCuesGap.Text = "Gap:";
//
+ // cuesPreviewViewInCues
+ //
+ this.cuesPreviewViewInCues.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.cuesPreviewViewInCues.FrameRate = 25F;
+ this.cuesPreviewViewInCues.LeftGap = 999;
+ this.cuesPreviewViewInCues.LeftGreenZone = 12;
+ this.cuesPreviewViewInCues.LeftRedZone = 7;
+ this.cuesPreviewViewInCues.Location = new System.Drawing.Point(10, 22);
+ this.cuesPreviewViewInCues.Name = "cuesPreviewViewInCues";
+ this.cuesPreviewViewInCues.PreviewText = "Subtitle text.";
+ this.cuesPreviewViewInCues.RightGap = 0;
+ this.cuesPreviewViewInCues.RightGreenZone = 12;
+ this.cuesPreviewViewInCues.RightRedZone = 7;
+ this.cuesPreviewViewInCues.ShowShotChange = true;
+ this.cuesPreviewViewInCues.Size = new System.Drawing.Size(400, 70);
+ this.cuesPreviewViewInCues.TabIndex = 1;
+ //
// groupBoxOutCues
//
this.groupBoxOutCues.Controls.Add(this.labelOutCuesZones);
@@ -400,7 +391,7 @@ namespace Nikse.SubtitleEdit.Forms
this.groupBoxOutCues.Location = new System.Drawing.Point(438, 92);
this.groupBoxOutCues.Name = "groupBoxOutCues";
this.groupBoxOutCues.Size = new System.Drawing.Size(420, 161);
- this.groupBoxOutCues.TabIndex = 9;
+ this.groupBoxOutCues.TabIndex = 30;
this.groupBoxOutCues.TabStop = false;
this.groupBoxOutCues.Text = "Out cues";
//
@@ -424,7 +415,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownOutCuesLeftGreenZone.Name = "numericUpDownOutCuesLeftGreenZone";
this.numericUpDownOutCuesLeftGreenZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownOutCuesLeftGreenZone.TabIndex = 21;
+ this.numericUpDownOutCuesLeftGreenZone.TabIndex = 32;
this.numericUpDownOutCuesLeftGreenZone.Value = new decimal(new int[] {
12,
0,
@@ -443,7 +434,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownOutCuesLeftRedZone.Name = "numericUpDownOutCuesLeftRedZone";
this.numericUpDownOutCuesLeftRedZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownOutCuesLeftRedZone.TabIndex = 22;
+ this.numericUpDownOutCuesLeftRedZone.TabIndex = 33;
this.numericUpDownOutCuesLeftRedZone.Value = new decimal(new int[] {
7,
0,
@@ -461,7 +452,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownOutCuesGap.Name = "numericUpDownOutCuesGap";
this.numericUpDownOutCuesGap.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownOutCuesGap.TabIndex = 11;
+ this.numericUpDownOutCuesGap.TabIndex = 31;
this.numericUpDownOutCuesGap.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
//
// numericUpDownOutCuesRightGreenZone
@@ -475,7 +466,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownOutCuesRightGreenZone.Name = "numericUpDownOutCuesRightGreenZone";
this.numericUpDownOutCuesRightGreenZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownOutCuesRightGreenZone.TabIndex = 24;
+ this.numericUpDownOutCuesRightGreenZone.TabIndex = 35;
this.numericUpDownOutCuesRightGreenZone.Value = new decimal(new int[] {
12,
0,
@@ -494,7 +485,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownOutCuesRightRedZone.Name = "numericUpDownOutCuesRightRedZone";
this.numericUpDownOutCuesRightRedZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownOutCuesRightRedZone.TabIndex = 23;
+ this.numericUpDownOutCuesRightRedZone.TabIndex = 34;
this.numericUpDownOutCuesRightRedZone.Value = new decimal(new int[] {
7,
0,
@@ -511,6 +502,24 @@ namespace Nikse.SubtitleEdit.Forms
this.labelOutCuesGap.TabIndex = 10;
this.labelOutCuesGap.Text = "Gap:";
//
+ // cuesPreviewViewOutCues
+ //
+ this.cuesPreviewViewOutCues.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.cuesPreviewViewOutCues.FrameRate = 25F;
+ this.cuesPreviewViewOutCues.LeftGap = 0;
+ this.cuesPreviewViewOutCues.LeftGreenZone = 12;
+ this.cuesPreviewViewOutCues.LeftRedZone = 7;
+ this.cuesPreviewViewOutCues.Location = new System.Drawing.Point(10, 22);
+ this.cuesPreviewViewOutCues.Name = "cuesPreviewViewOutCues";
+ this.cuesPreviewViewOutCues.PreviewText = "Subtitle text.";
+ this.cuesPreviewViewOutCues.RightGap = 999;
+ this.cuesPreviewViewOutCues.RightGreenZone = 12;
+ this.cuesPreviewViewOutCues.RightRedZone = 7;
+ this.cuesPreviewViewOutCues.ShowShotChange = true;
+ this.cuesPreviewViewOutCues.Size = new System.Drawing.Size(400, 70);
+ this.cuesPreviewViewOutCues.TabIndex = 1;
+ //
// groupBoxConnectedSubtitles
//
this.groupBoxConnectedSubtitles.Controls.Add(this.cuesPreviewViewConnectedSubtitlesInCueClosest);
@@ -527,10 +536,46 @@ namespace Nikse.SubtitleEdit.Forms
this.groupBoxConnectedSubtitles.Location = new System.Drawing.Point(12, 259);
this.groupBoxConnectedSubtitles.Name = "groupBoxConnectedSubtitles";
this.groupBoxConnectedSubtitles.Size = new System.Drawing.Size(420, 235);
- this.groupBoxConnectedSubtitles.TabIndex = 102;
+ this.groupBoxConnectedSubtitles.TabIndex = 40;
this.groupBoxConnectedSubtitles.TabStop = false;
this.groupBoxConnectedSubtitles.Text = "Connected subtitles";
//
+ // cuesPreviewViewConnectedSubtitlesInCueClosest
+ //
+ this.cuesPreviewViewConnectedSubtitlesInCueClosest.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.cuesPreviewViewConnectedSubtitlesInCueClosest.FrameRate = 25F;
+ this.cuesPreviewViewConnectedSubtitlesInCueClosest.LeftGap = 3;
+ this.cuesPreviewViewConnectedSubtitlesInCueClosest.LeftGreenZone = 12;
+ this.cuesPreviewViewConnectedSubtitlesInCueClosest.LeftRedZone = 7;
+ this.cuesPreviewViewConnectedSubtitlesInCueClosest.Location = new System.Drawing.Point(10, 22);
+ this.cuesPreviewViewConnectedSubtitlesInCueClosest.Name = "cuesPreviewViewConnectedSubtitlesInCueClosest";
+ this.cuesPreviewViewConnectedSubtitlesInCueClosest.PreviewText = "Subtitle text.";
+ this.cuesPreviewViewConnectedSubtitlesInCueClosest.RightGap = 0;
+ this.cuesPreviewViewConnectedSubtitlesInCueClosest.RightGreenZone = 12;
+ this.cuesPreviewViewConnectedSubtitlesInCueClosest.RightRedZone = 7;
+ this.cuesPreviewViewConnectedSubtitlesInCueClosest.ShowShotChange = true;
+ this.cuesPreviewViewConnectedSubtitlesInCueClosest.Size = new System.Drawing.Size(400, 70);
+ this.cuesPreviewViewConnectedSubtitlesInCueClosest.TabIndex = 1;
+ //
+ // cuesPreviewViewConnectedSubtitlesOutCueClosest
+ //
+ this.cuesPreviewViewConnectedSubtitlesOutCueClosest.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.cuesPreviewViewConnectedSubtitlesOutCueClosest.FrameRate = 25F;
+ this.cuesPreviewViewConnectedSubtitlesOutCueClosest.LeftGap = 3;
+ this.cuesPreviewViewConnectedSubtitlesOutCueClosest.LeftGreenZone = 12;
+ this.cuesPreviewViewConnectedSubtitlesOutCueClosest.LeftRedZone = 7;
+ this.cuesPreviewViewConnectedSubtitlesOutCueClosest.Location = new System.Drawing.Point(10, 22);
+ this.cuesPreviewViewConnectedSubtitlesOutCueClosest.Name = "cuesPreviewViewConnectedSubtitlesOutCueClosest";
+ this.cuesPreviewViewConnectedSubtitlesOutCueClosest.PreviewText = "Subtitle text.";
+ this.cuesPreviewViewConnectedSubtitlesOutCueClosest.RightGap = 0;
+ this.cuesPreviewViewConnectedSubtitlesOutCueClosest.RightGreenZone = 12;
+ this.cuesPreviewViewConnectedSubtitlesOutCueClosest.RightRedZone = 7;
+ this.cuesPreviewViewConnectedSubtitlesOutCueClosest.ShowShotChange = true;
+ this.cuesPreviewViewConnectedSubtitlesOutCueClosest.Size = new System.Drawing.Size(400, 70);
+ this.cuesPreviewViewConnectedSubtitlesOutCueClosest.TabIndex = 2;
+ //
// labelConnectedSubtitlesTreatConnectedSuffix
//
this.labelConnectedSubtitlesTreatConnectedSuffix.AutoSize = true;
@@ -550,7 +595,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownConnectedSubtitlesTreatConnected.Name = "numericUpDownConnectedSubtitlesTreatConnected";
this.numericUpDownConnectedSubtitlesTreatConnected.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownConnectedSubtitlesTreatConnected.TabIndex = 26;
+ this.numericUpDownConnectedSubtitlesTreatConnected.TabIndex = 50;
this.numericUpDownConnectedSubtitlesTreatConnected.Value = new decimal(new int[] {
180,
0,
@@ -586,7 +631,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownConnectedSubtitlesLeftGreenZone.Name = "numericUpDownConnectedSubtitlesLeftGreenZone";
this.numericUpDownConnectedSubtitlesLeftGreenZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownConnectedSubtitlesLeftGreenZone.TabIndex = 21;
+ this.numericUpDownConnectedSubtitlesLeftGreenZone.TabIndex = 46;
this.numericUpDownConnectedSubtitlesLeftGreenZone.Value = new decimal(new int[] {
12,
0,
@@ -605,7 +650,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownConnectedSubtitlesLeftRedZone.Name = "numericUpDownConnectedSubtitlesLeftRedZone";
this.numericUpDownConnectedSubtitlesLeftRedZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownConnectedSubtitlesLeftRedZone.TabIndex = 22;
+ this.numericUpDownConnectedSubtitlesLeftRedZone.TabIndex = 47;
this.numericUpDownConnectedSubtitlesLeftRedZone.Value = new decimal(new int[] {
7,
0,
@@ -624,7 +669,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownConnectedSubtitlesRightGreenZone.Name = "numericUpDownConnectedSubtitlesRightGreenZone";
this.numericUpDownConnectedSubtitlesRightGreenZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownConnectedSubtitlesRightGreenZone.TabIndex = 24;
+ this.numericUpDownConnectedSubtitlesRightGreenZone.TabIndex = 49;
this.numericUpDownConnectedSubtitlesRightGreenZone.Value = new decimal(new int[] {
12,
0,
@@ -643,7 +688,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownConnectedSubtitlesRightRedZone.Name = "numericUpDownConnectedSubtitlesRightRedZone";
this.numericUpDownConnectedSubtitlesRightRedZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownConnectedSubtitlesRightRedZone.TabIndex = 23;
+ this.numericUpDownConnectedSubtitlesRightRedZone.TabIndex = 48;
this.numericUpDownConnectedSubtitlesRightRedZone.Value = new decimal(new int[] {
7,
0,
@@ -651,375 +696,6 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownConnectedSubtitlesRightRedZone.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
//
- // groupBoxChaining
- //
- this.groupBoxChaining.Controls.Add(this.cuesPreviewViewChainingGeneral);
- this.groupBoxChaining.Controls.Add(this.cuesPreviewViewChainingOutCueOnShot);
- this.groupBoxChaining.Controls.Add(this.cuesPreviewViewChainingInCueOnShot);
- this.groupBoxChaining.Controls.Add(this.tabControlChaining);
- this.groupBoxChaining.Location = new System.Drawing.Point(438, 259);
- this.groupBoxChaining.Name = "groupBoxChaining";
- this.groupBoxChaining.Size = new System.Drawing.Size(420, 235);
- this.groupBoxChaining.TabIndex = 103;
- this.groupBoxChaining.TabStop = false;
- this.groupBoxChaining.Text = "Chaining";
- //
- // tabControlChaining
- //
- this.tabControlChaining.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.tabControlChaining.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
- this.tabControlChaining.Controls.Add(this.tabPageChainingGeneral);
- this.tabControlChaining.Controls.Add(this.tabPageChainingInCueOnShot);
- this.tabControlChaining.Controls.Add(this.tabPageChainingOutCueOnShot);
- this.tabControlChaining.Location = new System.Drawing.Point(6, 98);
- this.tabControlChaining.Name = "tabControlChaining";
- this.tabControlChaining.SelectedIndex = 0;
- this.tabControlChaining.Size = new System.Drawing.Size(408, 131);
- this.tabControlChaining.TabIndex = 2;
- this.tabControlChaining.SelectedIndexChanged += new System.EventHandler(this.tabControlChaining_SelectedIndexChanged);
- //
- // tabPageChainingGeneral
- //
- this.tabPageChainingGeneral.Controls.Add(this.labelChainingGeneralShotChangeBehavior);
- this.tabPageChainingGeneral.Controls.Add(this.comboBoxChainingGeneralShotChangeBehavior);
- this.tabPageChainingGeneral.Controls.Add(this.labelChainingGeneralMaxGapSuffix);
- this.tabPageChainingGeneral.Controls.Add(this.radioButtonChainingGeneralZones);
- this.tabPageChainingGeneral.Controls.Add(this.radioButtonChainingGeneralMaxGap);
- this.tabPageChainingGeneral.Controls.Add(this.numericUpDownChainingGeneralLeftGreenZone);
- this.tabPageChainingGeneral.Controls.Add(this.numericUpDownChainingGeneralLeftRedZone);
- this.tabPageChainingGeneral.Controls.Add(this.numericUpDownChainingGeneralMaxGap);
- this.tabPageChainingGeneral.Location = new System.Drawing.Point(4, 27);
- this.tabPageChainingGeneral.Name = "tabPageChainingGeneral";
- this.tabPageChainingGeneral.Padding = new System.Windows.Forms.Padding(3);
- this.tabPageChainingGeneral.Size = new System.Drawing.Size(400, 100);
- this.tabPageChainingGeneral.TabIndex = 0;
- this.tabPageChainingGeneral.Text = "General";
- this.tabPageChainingGeneral.UseVisualStyleBackColor = true;
- //
- // labelChainingGeneralShotChangeBehavior
- //
- this.labelChainingGeneralShotChangeBehavior.AutoSize = true;
- this.labelChainingGeneralShotChangeBehavior.Location = new System.Drawing.Point(0, 79);
- this.labelChainingGeneralShotChangeBehavior.Name = "labelChainingGeneralShotChangeBehavior";
- this.labelChainingGeneralShotChangeBehavior.Size = new System.Drawing.Size(193, 15);
- this.labelChainingGeneralShotChangeBehavior.TabIndex = 30;
- this.labelChainingGeneralShotChangeBehavior.Text = "If there\'s a shot change in between:";
- //
- // comboBoxChainingGeneralShotChangeBehavior
- //
- this.comboBoxChainingGeneralShotChangeBehavior.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.comboBoxChainingGeneralShotChangeBehavior.FormattingEnabled = true;
- this.comboBoxChainingGeneralShotChangeBehavior.Items.AddRange(new object[] {
- "Don\'t chain",
- "Extend, crossing shot change",
- "Extend until shot change"});
- this.comboBoxChainingGeneralShotChangeBehavior.Location = new System.Drawing.Point(208, 76);
- this.comboBoxChainingGeneralShotChangeBehavior.Name = "comboBoxChainingGeneralShotChangeBehavior";
- this.comboBoxChainingGeneralShotChangeBehavior.Size = new System.Drawing.Size(192, 23);
- this.comboBoxChainingGeneralShotChangeBehavior.TabIndex = 31;
- //
- // labelChainingGeneralMaxGapSuffix
- //
- this.labelChainingGeneralMaxGapSuffix.AutoSize = true;
- this.labelChainingGeneralMaxGapSuffix.Location = new System.Drawing.Point(199, 6);
- this.labelChainingGeneralMaxGapSuffix.Name = "labelChainingGeneralMaxGapSuffix";
- this.labelChainingGeneralMaxGapSuffix.Size = new System.Drawing.Size(23, 15);
- this.labelChainingGeneralMaxGapSuffix.TabIndex = 13;
- this.labelChainingGeneralMaxGapSuffix.Text = "ms";
- //
- // radioButtonChainingGeneralZones
- //
- this.radioButtonChainingGeneralZones.AutoSize = true;
- this.radioButtonChainingGeneralZones.Location = new System.Drawing.Point(0, 32);
- this.radioButtonChainingGeneralZones.Name = "radioButtonChainingGeneralZones";
- this.radioButtonChainingGeneralZones.Size = new System.Drawing.Size(60, 19);
- this.radioButtonChainingGeneralZones.TabIndex = 10;
- this.radioButtonChainingGeneralZones.Text = "Zones:";
- this.radioButtonChainingGeneralZones.UseVisualStyleBackColor = true;
- this.radioButtonChainingGeneralZones.CheckedChanged += new System.EventHandler(this.radioButtonChaining_CheckedChanged);
- //
- // radioButtonChainingGeneralMaxGap
- //
- this.radioButtonChainingGeneralMaxGap.AutoSize = true;
- this.radioButtonChainingGeneralMaxGap.Checked = true;
- this.radioButtonChainingGeneralMaxGap.Location = new System.Drawing.Point(0, 3);
- this.radioButtonChainingGeneralMaxGap.Name = "radioButtonChainingGeneralMaxGap";
- this.radioButtonChainingGeneralMaxGap.Size = new System.Drawing.Size(77, 19);
- this.radioButtonChainingGeneralMaxGap.TabIndex = 1;
- this.radioButtonChainingGeneralMaxGap.TabStop = true;
- this.radioButtonChainingGeneralMaxGap.Text = "Max. gap:";
- this.radioButtonChainingGeneralMaxGap.UseVisualStyleBackColor = true;
- this.radioButtonChainingGeneralMaxGap.CheckedChanged += new System.EventHandler(this.radioButtonChaining_CheckedChanged);
- //
- // numericUpDownChainingGeneralLeftGreenZone
- //
- this.numericUpDownChainingGeneralLeftGreenZone.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
- this.numericUpDownChainingGeneralLeftGreenZone.Enabled = false;
- this.numericUpDownChainingGeneralLeftGreenZone.Location = new System.Drawing.Point(83, 31);
- this.numericUpDownChainingGeneralLeftGreenZone.Maximum = new decimal(new int[] {
- 50,
- 0,
- 0,
- 0});
- this.numericUpDownChainingGeneralLeftGreenZone.Name = "numericUpDownChainingGeneralLeftGreenZone";
- this.numericUpDownChainingGeneralLeftGreenZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownChainingGeneralLeftGreenZone.TabIndex = 11;
- this.numericUpDownChainingGeneralLeftGreenZone.Value = new decimal(new int[] {
- 25,
- 0,
- 0,
- 0});
- this.numericUpDownChainingGeneralLeftGreenZone.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
- //
- // numericUpDownChainingGeneralLeftRedZone
- //
- this.numericUpDownChainingGeneralLeftRedZone.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
- this.numericUpDownChainingGeneralLeftRedZone.Enabled = false;
- this.numericUpDownChainingGeneralLeftRedZone.Location = new System.Drawing.Point(141, 31);
- this.numericUpDownChainingGeneralLeftRedZone.Maximum = new decimal(new int[] {
- 50,
- 0,
- 0,
- 0});
- this.numericUpDownChainingGeneralLeftRedZone.Name = "numericUpDownChainingGeneralLeftRedZone";
- this.numericUpDownChainingGeneralLeftRedZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownChainingGeneralLeftRedZone.TabIndex = 12;
- this.numericUpDownChainingGeneralLeftRedZone.Value = new decimal(new int[] {
- 24,
- 0,
- 0,
- 0});
- this.numericUpDownChainingGeneralLeftRedZone.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
- //
- // numericUpDownChainingGeneralMaxGap
- //
- this.numericUpDownChainingGeneralMaxGap.Location = new System.Drawing.Point(141, 2);
- this.numericUpDownChainingGeneralMaxGap.Maximum = new decimal(new int[] {
- 2000,
- 0,
- 0,
- 0});
- this.numericUpDownChainingGeneralMaxGap.Name = "numericUpDownChainingGeneralMaxGap";
- this.numericUpDownChainingGeneralMaxGap.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownChainingGeneralMaxGap.TabIndex = 2;
- this.numericUpDownChainingGeneralMaxGap.Value = new decimal(new int[] {
- 1000,
- 0,
- 0,
- 0});
- //
- // tabPageChainingInCueOnShot
- //
- this.tabPageChainingInCueOnShot.Controls.Add(this.labelChainingInCueOnShotMaxGapSuffix);
- this.tabPageChainingInCueOnShot.Controls.Add(this.radioButtonChainingInCueOnShotZones);
- this.tabPageChainingInCueOnShot.Controls.Add(this.radioButtonChainingInCueOnShotMaxGap);
- this.tabPageChainingInCueOnShot.Controls.Add(this.numericUpDownChainingInCueOnShotLeftGreenZone);
- this.tabPageChainingInCueOnShot.Controls.Add(this.numericUpDownChainingInCueOnShotLeftRedZone);
- this.tabPageChainingInCueOnShot.Controls.Add(this.numericUpDownChainingInCueOnShotMaxGap);
- this.tabPageChainingInCueOnShot.Location = new System.Drawing.Point(4, 27);
- this.tabPageChainingInCueOnShot.Name = "tabPageChainingInCueOnShot";
- this.tabPageChainingInCueOnShot.Padding = new System.Windows.Forms.Padding(3);
- this.tabPageChainingInCueOnShot.Size = new System.Drawing.Size(400, 100);
- this.tabPageChainingInCueOnShot.TabIndex = 1;
- this.tabPageChainingInCueOnShot.Text = "In cue on shot change";
- this.tabPageChainingInCueOnShot.UseVisualStyleBackColor = true;
- //
- // labelChainingInCueOnShotMaxGapSuffix
- //
- this.labelChainingInCueOnShotMaxGapSuffix.AutoSize = true;
- this.labelChainingInCueOnShotMaxGapSuffix.Location = new System.Drawing.Point(199, 6);
- this.labelChainingInCueOnShotMaxGapSuffix.Name = "labelChainingInCueOnShotMaxGapSuffix";
- this.labelChainingInCueOnShotMaxGapSuffix.Size = new System.Drawing.Size(23, 15);
- this.labelChainingInCueOnShotMaxGapSuffix.TabIndex = 3;
- this.labelChainingInCueOnShotMaxGapSuffix.Text = "ms";
- //
- // radioButtonChainingInCueOnShotZones
- //
- this.radioButtonChainingInCueOnShotZones.AutoSize = true;
- this.radioButtonChainingInCueOnShotZones.Location = new System.Drawing.Point(0, 32);
- this.radioButtonChainingInCueOnShotZones.Name = "radioButtonChainingInCueOnShotZones";
- this.radioButtonChainingInCueOnShotZones.Size = new System.Drawing.Size(60, 19);
- this.radioButtonChainingInCueOnShotZones.TabIndex = 10;
- this.radioButtonChainingInCueOnShotZones.Text = "Zones:";
- this.radioButtonChainingInCueOnShotZones.UseVisualStyleBackColor = true;
- this.radioButtonChainingInCueOnShotZones.CheckedChanged += new System.EventHandler(this.radioButtonChaining_CheckedChanged);
- //
- // radioButtonChainingInCueOnShotMaxGap
- //
- this.radioButtonChainingInCueOnShotMaxGap.AutoSize = true;
- this.radioButtonChainingInCueOnShotMaxGap.Checked = true;
- this.radioButtonChainingInCueOnShotMaxGap.Location = new System.Drawing.Point(0, 3);
- this.radioButtonChainingInCueOnShotMaxGap.Name = "radioButtonChainingInCueOnShotMaxGap";
- this.radioButtonChainingInCueOnShotMaxGap.Size = new System.Drawing.Size(77, 19);
- this.radioButtonChainingInCueOnShotMaxGap.TabIndex = 1;
- this.radioButtonChainingInCueOnShotMaxGap.TabStop = true;
- this.radioButtonChainingInCueOnShotMaxGap.Text = "Max. gap:";
- this.radioButtonChainingInCueOnShotMaxGap.UseVisualStyleBackColor = true;
- this.radioButtonChainingInCueOnShotMaxGap.CheckedChanged += new System.EventHandler(this.radioButtonChaining_CheckedChanged);
- //
- // numericUpDownChainingInCueOnShotLeftGreenZone
- //
- this.numericUpDownChainingInCueOnShotLeftGreenZone.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
- this.numericUpDownChainingInCueOnShotLeftGreenZone.Enabled = false;
- this.numericUpDownChainingInCueOnShotLeftGreenZone.Location = new System.Drawing.Point(83, 31);
- this.numericUpDownChainingInCueOnShotLeftGreenZone.Maximum = new decimal(new int[] {
- 50,
- 0,
- 0,
- 0});
- this.numericUpDownChainingInCueOnShotLeftGreenZone.Name = "numericUpDownChainingInCueOnShotLeftGreenZone";
- this.numericUpDownChainingInCueOnShotLeftGreenZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownChainingInCueOnShotLeftGreenZone.TabIndex = 11;
- this.numericUpDownChainingInCueOnShotLeftGreenZone.Value = new decimal(new int[] {
- 25,
- 0,
- 0,
- 0});
- this.numericUpDownChainingInCueOnShotLeftGreenZone.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
- //
- // numericUpDownChainingInCueOnShotLeftRedZone
- //
- this.numericUpDownChainingInCueOnShotLeftRedZone.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
- this.numericUpDownChainingInCueOnShotLeftRedZone.Enabled = false;
- this.numericUpDownChainingInCueOnShotLeftRedZone.Location = new System.Drawing.Point(141, 31);
- this.numericUpDownChainingInCueOnShotLeftRedZone.Maximum = new decimal(new int[] {
- 50,
- 0,
- 0,
- 0});
- this.numericUpDownChainingInCueOnShotLeftRedZone.Name = "numericUpDownChainingInCueOnShotLeftRedZone";
- this.numericUpDownChainingInCueOnShotLeftRedZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownChainingInCueOnShotLeftRedZone.TabIndex = 12;
- this.numericUpDownChainingInCueOnShotLeftRedZone.Value = new decimal(new int[] {
- 24,
- 0,
- 0,
- 0});
- this.numericUpDownChainingInCueOnShotLeftRedZone.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
- //
- // numericUpDownChainingInCueOnShotMaxGap
- //
- this.numericUpDownChainingInCueOnShotMaxGap.Location = new System.Drawing.Point(141, 2);
- this.numericUpDownChainingInCueOnShotMaxGap.Maximum = new decimal(new int[] {
- 2000,
- 0,
- 0,
- 0});
- this.numericUpDownChainingInCueOnShotMaxGap.Name = "numericUpDownChainingInCueOnShotMaxGap";
- this.numericUpDownChainingInCueOnShotMaxGap.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownChainingInCueOnShotMaxGap.TabIndex = 2;
- this.numericUpDownChainingInCueOnShotMaxGap.Value = new decimal(new int[] {
- 1000,
- 0,
- 0,
- 0});
- //
- // tabPageChainingOutCueOnShot
- //
- this.tabPageChainingOutCueOnShot.Controls.Add(this.numericUpDownChainingOutCueOnShotRightGreenZone);
- this.tabPageChainingOutCueOnShot.Controls.Add(this.numericUpDownChainingOutCueOnShotRightRedZone);
- this.tabPageChainingOutCueOnShot.Controls.Add(this.labelChainingOutCueOnShotMaxGapSuffix);
- this.tabPageChainingOutCueOnShot.Controls.Add(this.radioButtonChainingOutCueOnShotZones);
- this.tabPageChainingOutCueOnShot.Controls.Add(this.radioButtonChainingOutCueOnShotMaxGap);
- this.tabPageChainingOutCueOnShot.Controls.Add(this.numericUpDownChainingOutCueOnShotMaxGap);
- this.tabPageChainingOutCueOnShot.Location = new System.Drawing.Point(4, 27);
- this.tabPageChainingOutCueOnShot.Name = "tabPageChainingOutCueOnShot";
- this.tabPageChainingOutCueOnShot.Padding = new System.Windows.Forms.Padding(3);
- this.tabPageChainingOutCueOnShot.Size = new System.Drawing.Size(400, 100);
- this.tabPageChainingOutCueOnShot.TabIndex = 2;
- this.tabPageChainingOutCueOnShot.Text = "Out cue on shot change";
- this.tabPageChainingOutCueOnShot.UseVisualStyleBackColor = true;
- //
- // numericUpDownChainingOutCueOnShotRightGreenZone
- //
- this.numericUpDownChainingOutCueOnShotRightGreenZone.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
- this.numericUpDownChainingOutCueOnShotRightGreenZone.Location = new System.Drawing.Point(266, 31);
- this.numericUpDownChainingOutCueOnShotRightGreenZone.Maximum = new decimal(new int[] {
- 50,
- 0,
- 0,
- 0});
- this.numericUpDownChainingOutCueOnShotRightGreenZone.Name = "numericUpDownChainingOutCueOnShotRightGreenZone";
- this.numericUpDownChainingOutCueOnShotRightGreenZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownChainingOutCueOnShotRightGreenZone.TabIndex = 12;
- this.numericUpDownChainingOutCueOnShotRightGreenZone.Value = new decimal(new int[] {
- 13,
- 0,
- 0,
- 0});
- this.numericUpDownChainingOutCueOnShotRightGreenZone.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
- //
- // numericUpDownChainingOutCueOnShotRightRedZone
- //
- this.numericUpDownChainingOutCueOnShotRightRedZone.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
- this.numericUpDownChainingOutCueOnShotRightRedZone.Location = new System.Drawing.Point(208, 31);
- this.numericUpDownChainingOutCueOnShotRightRedZone.Maximum = new decimal(new int[] {
- 50,
- 0,
- 0,
- 0});
- this.numericUpDownChainingOutCueOnShotRightRedZone.Name = "numericUpDownChainingOutCueOnShotRightRedZone";
- this.numericUpDownChainingOutCueOnShotRightRedZone.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownChainingOutCueOnShotRightRedZone.TabIndex = 11;
- this.numericUpDownChainingOutCueOnShotRightRedZone.Value = new decimal(new int[] {
- 12,
- 0,
- 0,
- 0});
- this.numericUpDownChainingOutCueOnShotRightRedZone.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
- //
- // labelChainingOutCueOnShotMaxGapSuffix
- //
- this.labelChainingOutCueOnShotMaxGapSuffix.AutoSize = true;
- this.labelChainingOutCueOnShotMaxGapSuffix.Location = new System.Drawing.Point(266, 6);
- this.labelChainingOutCueOnShotMaxGapSuffix.Name = "labelChainingOutCueOnShotMaxGapSuffix";
- this.labelChainingOutCueOnShotMaxGapSuffix.Size = new System.Drawing.Size(23, 15);
- this.labelChainingOutCueOnShotMaxGapSuffix.TabIndex = 3;
- this.labelChainingOutCueOnShotMaxGapSuffix.Text = "ms";
- //
- // radioButtonChainingOutCueOnShotZones
- //
- this.radioButtonChainingOutCueOnShotZones.AutoSize = true;
- this.radioButtonChainingOutCueOnShotZones.Location = new System.Drawing.Point(0, 32);
- this.radioButtonChainingOutCueOnShotZones.Name = "radioButtonChainingOutCueOnShotZones";
- this.radioButtonChainingOutCueOnShotZones.Size = new System.Drawing.Size(60, 19);
- this.radioButtonChainingOutCueOnShotZones.TabIndex = 10;
- this.radioButtonChainingOutCueOnShotZones.Text = "Zones:";
- this.radioButtonChainingOutCueOnShotZones.UseVisualStyleBackColor = true;
- this.radioButtonChainingOutCueOnShotZones.CheckedChanged += new System.EventHandler(this.radioButtonChaining_CheckedChanged);
- //
- // radioButtonChainingOutCueOnShotMaxGap
- //
- this.radioButtonChainingOutCueOnShotMaxGap.AutoSize = true;
- this.radioButtonChainingOutCueOnShotMaxGap.Checked = true;
- this.radioButtonChainingOutCueOnShotMaxGap.Location = new System.Drawing.Point(0, 3);
- this.radioButtonChainingOutCueOnShotMaxGap.Name = "radioButtonChainingOutCueOnShotMaxGap";
- this.radioButtonChainingOutCueOnShotMaxGap.Size = new System.Drawing.Size(77, 19);
- this.radioButtonChainingOutCueOnShotMaxGap.TabIndex = 1;
- this.radioButtonChainingOutCueOnShotMaxGap.TabStop = true;
- this.radioButtonChainingOutCueOnShotMaxGap.Text = "Max. gap:";
- this.radioButtonChainingOutCueOnShotMaxGap.UseVisualStyleBackColor = true;
- this.radioButtonChainingOutCueOnShotMaxGap.CheckedChanged += new System.EventHandler(this.radioButtonChaining_CheckedChanged);
- //
- // numericUpDownChainingOutCueOnShotMaxGap
- //
- this.numericUpDownChainingOutCueOnShotMaxGap.Location = new System.Drawing.Point(208, 2);
- this.numericUpDownChainingOutCueOnShotMaxGap.Maximum = new decimal(new int[] {
- 2000,
- 0,
- 0,
- 0});
- this.numericUpDownChainingOutCueOnShotMaxGap.Name = "numericUpDownChainingOutCueOnShotMaxGap";
- this.numericUpDownChainingOutCueOnShotMaxGap.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownChainingOutCueOnShotMaxGap.TabIndex = 2;
- this.numericUpDownChainingOutCueOnShotMaxGap.Value = new decimal(new int[] {
- 500,
- 0,
- 0,
- 0});
- //
// tabControlConnectedSubtitles
//
this.tabControlConnectedSubtitles.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
@@ -1029,7 +705,7 @@ namespace Nikse.SubtitleEdit.Forms
this.tabControlConnectedSubtitles.Name = "tabControlConnectedSubtitles";
this.tabControlConnectedSubtitles.SelectedIndex = 0;
this.tabControlConnectedSubtitles.Size = new System.Drawing.Size(408, 58);
- this.tabControlConnectedSubtitles.TabIndex = 28;
+ this.tabControlConnectedSubtitles.TabIndex = 41;
this.tabControlConnectedSubtitles.SelectedIndexChanged += new System.EventHandler(this.tabControlConnectedSubtitles_SelectedIndexChanged);
//
// tabPageConnectedSubtitlesInCueClosest
@@ -1045,6 +721,41 @@ namespace Nikse.SubtitleEdit.Forms
this.tabPageConnectedSubtitlesInCueClosest.Text = "In cue is closest";
this.tabPageConnectedSubtitlesInCueClosest.UseVisualStyleBackColor = true;
//
+ // numericUpDownConnectedSubtitlesInCueClosestLeftGap
+ //
+ this.numericUpDownConnectedSubtitlesInCueClosestLeftGap.Location = new System.Drawing.Point(141, 2);
+ this.numericUpDownConnectedSubtitlesInCueClosestLeftGap.Maximum = new decimal(new int[] {
+ 10,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownConnectedSubtitlesInCueClosestLeftGap.Name = "numericUpDownConnectedSubtitlesInCueClosestLeftGap";
+ this.numericUpDownConnectedSubtitlesInCueClosestLeftGap.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownConnectedSubtitlesInCueClosestLeftGap.TabIndex = 42;
+ this.numericUpDownConnectedSubtitlesInCueClosestLeftGap.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
+ //
+ // numericUpDownConnectedSubtitlesInCueClosestRightGap
+ //
+ this.numericUpDownConnectedSubtitlesInCueClosestRightGap.Location = new System.Drawing.Point(208, 2);
+ this.numericUpDownConnectedSubtitlesInCueClosestRightGap.Maximum = new decimal(new int[] {
+ 10,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownConnectedSubtitlesInCueClosestRightGap.Name = "numericUpDownConnectedSubtitlesInCueClosestRightGap";
+ this.numericUpDownConnectedSubtitlesInCueClosestRightGap.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownConnectedSubtitlesInCueClosestRightGap.TabIndex = 43;
+ this.numericUpDownConnectedSubtitlesInCueClosestRightGap.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
+ //
+ // labelConnectedSubtitlesInCueClosestGaps
+ //
+ this.labelConnectedSubtitlesInCueClosestGaps.AutoSize = true;
+ this.labelConnectedSubtitlesInCueClosestGaps.Location = new System.Drawing.Point(-3, 5);
+ this.labelConnectedSubtitlesInCueClosestGaps.Name = "labelConnectedSubtitlesInCueClosestGaps";
+ this.labelConnectedSubtitlesInCueClosestGaps.Size = new System.Drawing.Size(31, 15);
+ this.labelConnectedSubtitlesInCueClosestGaps.TabIndex = 13;
+ this.labelConnectedSubtitlesInCueClosestGaps.Text = "Gap:";
+ //
// tabPageConnectedSubtitlesOutCueClosest
//
this.tabPageConnectedSubtitlesOutCueClosest.Controls.Add(this.numericUpDownConnectedSubtitlesOutCueClosestLeftGap);
@@ -1058,41 +769,6 @@ namespace Nikse.SubtitleEdit.Forms
this.tabPageConnectedSubtitlesOutCueClosest.Text = "Out cue is closest";
this.tabPageConnectedSubtitlesOutCueClosest.UseVisualStyleBackColor = true;
//
- // numericUpDownConnectedSubtitlesInCueClosestLeftGap
- //
- this.numericUpDownConnectedSubtitlesInCueClosestLeftGap.Location = new System.Drawing.Point(141, 2);
- this.numericUpDownConnectedSubtitlesInCueClosestLeftGap.Maximum = new decimal(new int[] {
- 10,
- 0,
- 0,
- 0});
- this.numericUpDownConnectedSubtitlesInCueClosestLeftGap.Name = "numericUpDownConnectedSubtitlesInCueClosestLeftGap";
- this.numericUpDownConnectedSubtitlesInCueClosestLeftGap.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownConnectedSubtitlesInCueClosestLeftGap.TabIndex = 14;
- this.numericUpDownConnectedSubtitlesInCueClosestLeftGap.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
- //
- // numericUpDownConnectedSubtitlesInCueClosestRightGap
- //
- this.numericUpDownConnectedSubtitlesInCueClosestRightGap.Location = new System.Drawing.Point(208, 2);
- this.numericUpDownConnectedSubtitlesInCueClosestRightGap.Maximum = new decimal(new int[] {
- 10,
- 0,
- 0,
- 0});
- this.numericUpDownConnectedSubtitlesInCueClosestRightGap.Name = "numericUpDownConnectedSubtitlesInCueClosestRightGap";
- this.numericUpDownConnectedSubtitlesInCueClosestRightGap.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownConnectedSubtitlesInCueClosestRightGap.TabIndex = 15;
- this.numericUpDownConnectedSubtitlesInCueClosestRightGap.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
- //
- // labelConnectedSubtitlesInCueClosestGaps
- //
- this.labelConnectedSubtitlesInCueClosestGaps.AutoSize = true;
- this.labelConnectedSubtitlesInCueClosestGaps.Location = new System.Drawing.Point(-3, 5);
- this.labelConnectedSubtitlesInCueClosestGaps.Name = "labelConnectedSubtitlesInCueClosestGaps";
- this.labelConnectedSubtitlesInCueClosestGaps.Size = new System.Drawing.Size(31, 15);
- this.labelConnectedSubtitlesInCueClosestGaps.TabIndex = 13;
- this.labelConnectedSubtitlesInCueClosestGaps.Text = "Gap:";
- //
// numericUpDownConnectedSubtitlesOutCueClosestLeftGap
//
this.numericUpDownConnectedSubtitlesOutCueClosestLeftGap.Location = new System.Drawing.Point(141, 2);
@@ -1103,7 +779,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownConnectedSubtitlesOutCueClosestLeftGap.Name = "numericUpDownConnectedSubtitlesOutCueClosestLeftGap";
this.numericUpDownConnectedSubtitlesOutCueClosestLeftGap.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownConnectedSubtitlesOutCueClosestLeftGap.TabIndex = 17;
+ this.numericUpDownConnectedSubtitlesOutCueClosestLeftGap.TabIndex = 44;
this.numericUpDownConnectedSubtitlesOutCueClosestLeftGap.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
//
// numericUpDownConnectedSubtitlesOutCueClosestRightGap
@@ -1116,7 +792,7 @@ namespace Nikse.SubtitleEdit.Forms
0});
this.numericUpDownConnectedSubtitlesOutCueClosestRightGap.Name = "numericUpDownConnectedSubtitlesOutCueClosestRightGap";
this.numericUpDownConnectedSubtitlesOutCueClosestRightGap.Size = new System.Drawing.Size(52, 23);
- this.numericUpDownConnectedSubtitlesOutCueClosestRightGap.TabIndex = 18;
+ this.numericUpDownConnectedSubtitlesOutCueClosestRightGap.TabIndex = 45;
this.numericUpDownConnectedSubtitlesOutCueClosestRightGap.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
//
// labelConnectedSubtitlesOutCueClosestGaps
@@ -1128,6 +804,19 @@ namespace Nikse.SubtitleEdit.Forms
this.labelConnectedSubtitlesOutCueClosestGaps.TabIndex = 16;
this.labelConnectedSubtitlesOutCueClosestGaps.Text = "Gap:";
//
+ // groupBoxChaining
+ //
+ this.groupBoxChaining.Controls.Add(this.cuesPreviewViewChainingGeneral);
+ this.groupBoxChaining.Controls.Add(this.cuesPreviewViewChainingOutCueOnShot);
+ this.groupBoxChaining.Controls.Add(this.cuesPreviewViewChainingInCueOnShot);
+ this.groupBoxChaining.Controls.Add(this.tabControlChaining);
+ this.groupBoxChaining.Location = new System.Drawing.Point(438, 259);
+ this.groupBoxChaining.Name = "groupBoxChaining";
+ this.groupBoxChaining.Size = new System.Drawing.Size(420, 235);
+ this.groupBoxChaining.TabIndex = 60;
+ this.groupBoxChaining.TabStop = false;
+ this.groupBoxChaining.Text = "Chaining";
+ //
// cuesPreviewViewChainingGeneral
//
this.cuesPreviewViewChainingGeneral.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
@@ -1184,77 +873,371 @@ namespace Nikse.SubtitleEdit.Forms
this.cuesPreviewViewChainingInCueOnShot.TabIndex = 3;
this.cuesPreviewViewChainingInCueOnShot.Visible = false;
//
- // cuesPreviewViewConnectedSubtitlesInCueClosest
+ // tabControlChaining
//
- this.cuesPreviewViewConnectedSubtitlesInCueClosest.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ this.tabControlChaining.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.cuesPreviewViewConnectedSubtitlesInCueClosest.FrameRate = 25F;
- this.cuesPreviewViewConnectedSubtitlesInCueClosest.LeftGap = 3;
- this.cuesPreviewViewConnectedSubtitlesInCueClosest.LeftGreenZone = 12;
- this.cuesPreviewViewConnectedSubtitlesInCueClosest.LeftRedZone = 7;
- this.cuesPreviewViewConnectedSubtitlesInCueClosest.Location = new System.Drawing.Point(10, 22);
- this.cuesPreviewViewConnectedSubtitlesInCueClosest.Name = "cuesPreviewViewConnectedSubtitlesInCueClosest";
- this.cuesPreviewViewConnectedSubtitlesInCueClosest.PreviewText = "Subtitle text.";
- this.cuesPreviewViewConnectedSubtitlesInCueClosest.RightGap = 0;
- this.cuesPreviewViewConnectedSubtitlesInCueClosest.RightGreenZone = 12;
- this.cuesPreviewViewConnectedSubtitlesInCueClosest.RightRedZone = 7;
- this.cuesPreviewViewConnectedSubtitlesInCueClosest.ShowShotChange = true;
- this.cuesPreviewViewConnectedSubtitlesInCueClosest.Size = new System.Drawing.Size(400, 70);
- this.cuesPreviewViewConnectedSubtitlesInCueClosest.TabIndex = 1;
+ this.tabControlChaining.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
+ this.tabControlChaining.Controls.Add(this.tabPageChainingGeneral);
+ this.tabControlChaining.Controls.Add(this.tabPageChainingInCueOnShot);
+ this.tabControlChaining.Controls.Add(this.tabPageChainingOutCueOnShot);
+ this.tabControlChaining.Location = new System.Drawing.Point(6, 98);
+ this.tabControlChaining.Name = "tabControlChaining";
+ this.tabControlChaining.SelectedIndex = 0;
+ this.tabControlChaining.Size = new System.Drawing.Size(408, 131);
+ this.tabControlChaining.TabIndex = 61;
+ this.tabControlChaining.SelectedIndexChanged += new System.EventHandler(this.tabControlChaining_SelectedIndexChanged);
//
- // cuesPreviewViewConnectedSubtitlesOutCueClosest
+ // tabPageChainingGeneral
//
- this.cuesPreviewViewConnectedSubtitlesOutCueClosest.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.cuesPreviewViewConnectedSubtitlesOutCueClosest.FrameRate = 25F;
- this.cuesPreviewViewConnectedSubtitlesOutCueClosest.LeftGap = 3;
- this.cuesPreviewViewConnectedSubtitlesOutCueClosest.LeftGreenZone = 12;
- this.cuesPreviewViewConnectedSubtitlesOutCueClosest.LeftRedZone = 7;
- this.cuesPreviewViewConnectedSubtitlesOutCueClosest.Location = new System.Drawing.Point(10, 22);
- this.cuesPreviewViewConnectedSubtitlesOutCueClosest.Name = "cuesPreviewViewConnectedSubtitlesOutCueClosest";
- this.cuesPreviewViewConnectedSubtitlesOutCueClosest.PreviewText = "Subtitle text.";
- this.cuesPreviewViewConnectedSubtitlesOutCueClosest.RightGap = 0;
- this.cuesPreviewViewConnectedSubtitlesOutCueClosest.RightGreenZone = 12;
- this.cuesPreviewViewConnectedSubtitlesOutCueClosest.RightRedZone = 7;
- this.cuesPreviewViewConnectedSubtitlesOutCueClosest.ShowShotChange = true;
- this.cuesPreviewViewConnectedSubtitlesOutCueClosest.Size = new System.Drawing.Size(400, 70);
- this.cuesPreviewViewConnectedSubtitlesOutCueClosest.TabIndex = 2;
+ this.tabPageChainingGeneral.Controls.Add(this.labelChainingGeneralShotChangeBehavior);
+ this.tabPageChainingGeneral.Controls.Add(this.comboBoxChainingGeneralShotChangeBehavior);
+ this.tabPageChainingGeneral.Controls.Add(this.labelChainingGeneralMaxGapSuffix);
+ this.tabPageChainingGeneral.Controls.Add(this.radioButtonChainingGeneralZones);
+ this.tabPageChainingGeneral.Controls.Add(this.radioButtonChainingGeneralMaxGap);
+ this.tabPageChainingGeneral.Controls.Add(this.numericUpDownChainingGeneralLeftGreenZone);
+ this.tabPageChainingGeneral.Controls.Add(this.numericUpDownChainingGeneralLeftRedZone);
+ this.tabPageChainingGeneral.Controls.Add(this.numericUpDownChainingGeneralMaxGap);
+ this.tabPageChainingGeneral.Location = new System.Drawing.Point(4, 27);
+ this.tabPageChainingGeneral.Name = "tabPageChainingGeneral";
+ this.tabPageChainingGeneral.Padding = new System.Windows.Forms.Padding(3);
+ this.tabPageChainingGeneral.Size = new System.Drawing.Size(400, 100);
+ this.tabPageChainingGeneral.TabIndex = 0;
+ this.tabPageChainingGeneral.Text = "General";
+ this.tabPageChainingGeneral.UseVisualStyleBackColor = true;
//
- // cuesPreviewViewOutCues
+ // labelChainingGeneralShotChangeBehavior
//
- this.cuesPreviewViewOutCues.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.cuesPreviewViewOutCues.FrameRate = 25F;
- this.cuesPreviewViewOutCues.LeftGap = 0;
- this.cuesPreviewViewOutCues.LeftGreenZone = 12;
- this.cuesPreviewViewOutCues.LeftRedZone = 7;
- this.cuesPreviewViewOutCues.Location = new System.Drawing.Point(10, 22);
- this.cuesPreviewViewOutCues.Name = "cuesPreviewViewOutCues";
- this.cuesPreviewViewOutCues.PreviewText = "Subtitle text.";
- this.cuesPreviewViewOutCues.RightGap = 999;
- this.cuesPreviewViewOutCues.RightGreenZone = 12;
- this.cuesPreviewViewOutCues.RightRedZone = 7;
- this.cuesPreviewViewOutCues.ShowShotChange = true;
- this.cuesPreviewViewOutCues.Size = new System.Drawing.Size(400, 70);
- this.cuesPreviewViewOutCues.TabIndex = 1;
+ this.labelChainingGeneralShotChangeBehavior.AutoSize = true;
+ this.labelChainingGeneralShotChangeBehavior.Location = new System.Drawing.Point(0, 79);
+ this.labelChainingGeneralShotChangeBehavior.Name = "labelChainingGeneralShotChangeBehavior";
+ this.labelChainingGeneralShotChangeBehavior.Size = new System.Drawing.Size(193, 15);
+ this.labelChainingGeneralShotChangeBehavior.TabIndex = 30;
+ this.labelChainingGeneralShotChangeBehavior.Text = "If there\'s a shot change in between:";
//
- // cuesPreviewViewInCues
+ // comboBoxChainingGeneralShotChangeBehavior
//
- this.cuesPreviewViewInCues.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.cuesPreviewViewInCues.FrameRate = 25F;
- this.cuesPreviewViewInCues.LeftGap = 999;
- this.cuesPreviewViewInCues.LeftGreenZone = 12;
- this.cuesPreviewViewInCues.LeftRedZone = 7;
- this.cuesPreviewViewInCues.Location = new System.Drawing.Point(10, 22);
- this.cuesPreviewViewInCues.Name = "cuesPreviewViewInCues";
- this.cuesPreviewViewInCues.PreviewText = "Subtitle text.";
- this.cuesPreviewViewInCues.RightGap = 0;
- this.cuesPreviewViewInCues.RightGreenZone = 12;
- this.cuesPreviewViewInCues.RightRedZone = 7;
- this.cuesPreviewViewInCues.ShowShotChange = true;
- this.cuesPreviewViewInCues.Size = new System.Drawing.Size(400, 70);
- this.cuesPreviewViewInCues.TabIndex = 1;
+ this.comboBoxChainingGeneralShotChangeBehavior.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.comboBoxChainingGeneralShotChangeBehavior.FormattingEnabled = true;
+ this.comboBoxChainingGeneralShotChangeBehavior.Items.AddRange(new object[] {
+ "Don\'t chain",
+ "Extend, crossing shot change",
+ "Extend until shot change"});
+ this.comboBoxChainingGeneralShotChangeBehavior.Location = new System.Drawing.Point(208, 76);
+ this.comboBoxChainingGeneralShotChangeBehavior.Name = "comboBoxChainingGeneralShotChangeBehavior";
+ this.comboBoxChainingGeneralShotChangeBehavior.Size = new System.Drawing.Size(192, 23);
+ this.comboBoxChainingGeneralShotChangeBehavior.TabIndex = 31;
+ //
+ // labelChainingGeneralMaxGapSuffix
+ //
+ this.labelChainingGeneralMaxGapSuffix.AutoSize = true;
+ this.labelChainingGeneralMaxGapSuffix.Location = new System.Drawing.Point(199, 6);
+ this.labelChainingGeneralMaxGapSuffix.Name = "labelChainingGeneralMaxGapSuffix";
+ this.labelChainingGeneralMaxGapSuffix.Size = new System.Drawing.Size(23, 15);
+ this.labelChainingGeneralMaxGapSuffix.TabIndex = 13;
+ this.labelChainingGeneralMaxGapSuffix.Text = "ms";
+ //
+ // radioButtonChainingGeneralZones
+ //
+ this.radioButtonChainingGeneralZones.AutoSize = true;
+ this.radioButtonChainingGeneralZones.Location = new System.Drawing.Point(0, 32);
+ this.radioButtonChainingGeneralZones.Name = "radioButtonChainingGeneralZones";
+ this.radioButtonChainingGeneralZones.Size = new System.Drawing.Size(60, 19);
+ this.radioButtonChainingGeneralZones.TabIndex = 64;
+ this.radioButtonChainingGeneralZones.Text = "Zones:";
+ this.radioButtonChainingGeneralZones.UseVisualStyleBackColor = true;
+ this.radioButtonChainingGeneralZones.CheckedChanged += new System.EventHandler(this.radioButtonChaining_CheckedChanged);
+ //
+ // radioButtonChainingGeneralMaxGap
+ //
+ this.radioButtonChainingGeneralMaxGap.AutoSize = true;
+ this.radioButtonChainingGeneralMaxGap.Checked = true;
+ this.radioButtonChainingGeneralMaxGap.Location = new System.Drawing.Point(0, 3);
+ this.radioButtonChainingGeneralMaxGap.Name = "radioButtonChainingGeneralMaxGap";
+ this.radioButtonChainingGeneralMaxGap.Size = new System.Drawing.Size(77, 19);
+ this.radioButtonChainingGeneralMaxGap.TabIndex = 62;
+ this.radioButtonChainingGeneralMaxGap.TabStop = true;
+ this.radioButtonChainingGeneralMaxGap.Text = "Max. gap:";
+ this.radioButtonChainingGeneralMaxGap.UseVisualStyleBackColor = true;
+ this.radioButtonChainingGeneralMaxGap.CheckedChanged += new System.EventHandler(this.radioButtonChaining_CheckedChanged);
+ //
+ // numericUpDownChainingGeneralLeftGreenZone
+ //
+ this.numericUpDownChainingGeneralLeftGreenZone.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+ this.numericUpDownChainingGeneralLeftGreenZone.Enabled = false;
+ this.numericUpDownChainingGeneralLeftGreenZone.Location = new System.Drawing.Point(83, 31);
+ this.numericUpDownChainingGeneralLeftGreenZone.Maximum = new decimal(new int[] {
+ 50,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingGeneralLeftGreenZone.Name = "numericUpDownChainingGeneralLeftGreenZone";
+ this.numericUpDownChainingGeneralLeftGreenZone.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownChainingGeneralLeftGreenZone.TabIndex = 65;
+ this.numericUpDownChainingGeneralLeftGreenZone.Value = new decimal(new int[] {
+ 25,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingGeneralLeftGreenZone.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
+ //
+ // numericUpDownChainingGeneralLeftRedZone
+ //
+ this.numericUpDownChainingGeneralLeftRedZone.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
+ this.numericUpDownChainingGeneralLeftRedZone.Enabled = false;
+ this.numericUpDownChainingGeneralLeftRedZone.Location = new System.Drawing.Point(141, 31);
+ this.numericUpDownChainingGeneralLeftRedZone.Maximum = new decimal(new int[] {
+ 50,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingGeneralLeftRedZone.Name = "numericUpDownChainingGeneralLeftRedZone";
+ this.numericUpDownChainingGeneralLeftRedZone.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownChainingGeneralLeftRedZone.TabIndex = 66;
+ this.numericUpDownChainingGeneralLeftRedZone.Value = new decimal(new int[] {
+ 24,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingGeneralLeftRedZone.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
+ //
+ // numericUpDownChainingGeneralMaxGap
+ //
+ this.numericUpDownChainingGeneralMaxGap.Location = new System.Drawing.Point(141, 2);
+ this.numericUpDownChainingGeneralMaxGap.Maximum = new decimal(new int[] {
+ 2000,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingGeneralMaxGap.Name = "numericUpDownChainingGeneralMaxGap";
+ this.numericUpDownChainingGeneralMaxGap.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownChainingGeneralMaxGap.TabIndex = 63;
+ this.numericUpDownChainingGeneralMaxGap.Value = new decimal(new int[] {
+ 1000,
+ 0,
+ 0,
+ 0});
+ //
+ // tabPageChainingInCueOnShot
+ //
+ this.tabPageChainingInCueOnShot.Controls.Add(this.labelChainingInCueOnShotMaxGapSuffix);
+ this.tabPageChainingInCueOnShot.Controls.Add(this.radioButtonChainingInCueOnShotZones);
+ this.tabPageChainingInCueOnShot.Controls.Add(this.radioButtonChainingInCueOnShotMaxGap);
+ this.tabPageChainingInCueOnShot.Controls.Add(this.numericUpDownChainingInCueOnShotLeftGreenZone);
+ this.tabPageChainingInCueOnShot.Controls.Add(this.numericUpDownChainingInCueOnShotLeftRedZone);
+ this.tabPageChainingInCueOnShot.Controls.Add(this.numericUpDownChainingInCueOnShotMaxGap);
+ this.tabPageChainingInCueOnShot.Location = new System.Drawing.Point(4, 27);
+ this.tabPageChainingInCueOnShot.Name = "tabPageChainingInCueOnShot";
+ this.tabPageChainingInCueOnShot.Padding = new System.Windows.Forms.Padding(3);
+ this.tabPageChainingInCueOnShot.Size = new System.Drawing.Size(400, 100);
+ this.tabPageChainingInCueOnShot.TabIndex = 1;
+ this.tabPageChainingInCueOnShot.Text = "In cue on shot change";
+ this.tabPageChainingInCueOnShot.UseVisualStyleBackColor = true;
+ //
+ // labelChainingInCueOnShotMaxGapSuffix
+ //
+ this.labelChainingInCueOnShotMaxGapSuffix.AutoSize = true;
+ this.labelChainingInCueOnShotMaxGapSuffix.Location = new System.Drawing.Point(199, 6);
+ this.labelChainingInCueOnShotMaxGapSuffix.Name = "labelChainingInCueOnShotMaxGapSuffix";
+ this.labelChainingInCueOnShotMaxGapSuffix.Size = new System.Drawing.Size(23, 15);
+ this.labelChainingInCueOnShotMaxGapSuffix.TabIndex = 3;
+ this.labelChainingInCueOnShotMaxGapSuffix.Text = "ms";
+ //
+ // radioButtonChainingInCueOnShotZones
+ //
+ this.radioButtonChainingInCueOnShotZones.AutoSize = true;
+ this.radioButtonChainingInCueOnShotZones.Location = new System.Drawing.Point(0, 32);
+ this.radioButtonChainingInCueOnShotZones.Name = "radioButtonChainingInCueOnShotZones";
+ this.radioButtonChainingInCueOnShotZones.Size = new System.Drawing.Size(60, 19);
+ this.radioButtonChainingInCueOnShotZones.TabIndex = 69;
+ this.radioButtonChainingInCueOnShotZones.Text = "Zones:";
+ this.radioButtonChainingInCueOnShotZones.UseVisualStyleBackColor = true;
+ this.radioButtonChainingInCueOnShotZones.CheckedChanged += new System.EventHandler(this.radioButtonChaining_CheckedChanged);
+ //
+ // radioButtonChainingInCueOnShotMaxGap
+ //
+ this.radioButtonChainingInCueOnShotMaxGap.AutoSize = true;
+ this.radioButtonChainingInCueOnShotMaxGap.Checked = true;
+ this.radioButtonChainingInCueOnShotMaxGap.Location = new System.Drawing.Point(0, 3);
+ this.radioButtonChainingInCueOnShotMaxGap.Name = "radioButtonChainingInCueOnShotMaxGap";
+ this.radioButtonChainingInCueOnShotMaxGap.Size = new System.Drawing.Size(77, 19);
+ this.radioButtonChainingInCueOnShotMaxGap.TabIndex = 67;
+ this.radioButtonChainingInCueOnShotMaxGap.TabStop = true;
+ this.radioButtonChainingInCueOnShotMaxGap.Text = "Max. gap:";
+ this.radioButtonChainingInCueOnShotMaxGap.UseVisualStyleBackColor = true;
+ this.radioButtonChainingInCueOnShotMaxGap.CheckedChanged += new System.EventHandler(this.radioButtonChaining_CheckedChanged);
+ //
+ // numericUpDownChainingInCueOnShotLeftGreenZone
+ //
+ this.numericUpDownChainingInCueOnShotLeftGreenZone.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+ this.numericUpDownChainingInCueOnShotLeftGreenZone.Enabled = false;
+ this.numericUpDownChainingInCueOnShotLeftGreenZone.Location = new System.Drawing.Point(83, 31);
+ this.numericUpDownChainingInCueOnShotLeftGreenZone.Maximum = new decimal(new int[] {
+ 50,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingInCueOnShotLeftGreenZone.Name = "numericUpDownChainingInCueOnShotLeftGreenZone";
+ this.numericUpDownChainingInCueOnShotLeftGreenZone.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownChainingInCueOnShotLeftGreenZone.TabIndex = 70;
+ this.numericUpDownChainingInCueOnShotLeftGreenZone.Value = new decimal(new int[] {
+ 25,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingInCueOnShotLeftGreenZone.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
+ //
+ // numericUpDownChainingInCueOnShotLeftRedZone
+ //
+ this.numericUpDownChainingInCueOnShotLeftRedZone.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
+ this.numericUpDownChainingInCueOnShotLeftRedZone.Enabled = false;
+ this.numericUpDownChainingInCueOnShotLeftRedZone.Location = new System.Drawing.Point(141, 31);
+ this.numericUpDownChainingInCueOnShotLeftRedZone.Maximum = new decimal(new int[] {
+ 50,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingInCueOnShotLeftRedZone.Name = "numericUpDownChainingInCueOnShotLeftRedZone";
+ this.numericUpDownChainingInCueOnShotLeftRedZone.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownChainingInCueOnShotLeftRedZone.TabIndex = 71;
+ this.numericUpDownChainingInCueOnShotLeftRedZone.Value = new decimal(new int[] {
+ 24,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingInCueOnShotLeftRedZone.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
+ //
+ // numericUpDownChainingInCueOnShotMaxGap
+ //
+ this.numericUpDownChainingInCueOnShotMaxGap.Location = new System.Drawing.Point(141, 2);
+ this.numericUpDownChainingInCueOnShotMaxGap.Maximum = new decimal(new int[] {
+ 2000,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingInCueOnShotMaxGap.Name = "numericUpDownChainingInCueOnShotMaxGap";
+ this.numericUpDownChainingInCueOnShotMaxGap.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownChainingInCueOnShotMaxGap.TabIndex = 68;
+ this.numericUpDownChainingInCueOnShotMaxGap.Value = new decimal(new int[] {
+ 1000,
+ 0,
+ 0,
+ 0});
+ //
+ // tabPageChainingOutCueOnShot
+ //
+ this.tabPageChainingOutCueOnShot.Controls.Add(this.numericUpDownChainingOutCueOnShotRightGreenZone);
+ this.tabPageChainingOutCueOnShot.Controls.Add(this.numericUpDownChainingOutCueOnShotRightRedZone);
+ this.tabPageChainingOutCueOnShot.Controls.Add(this.labelChainingOutCueOnShotMaxGapSuffix);
+ this.tabPageChainingOutCueOnShot.Controls.Add(this.radioButtonChainingOutCueOnShotZones);
+ this.tabPageChainingOutCueOnShot.Controls.Add(this.radioButtonChainingOutCueOnShotMaxGap);
+ this.tabPageChainingOutCueOnShot.Controls.Add(this.numericUpDownChainingOutCueOnShotMaxGap);
+ this.tabPageChainingOutCueOnShot.Location = new System.Drawing.Point(4, 27);
+ this.tabPageChainingOutCueOnShot.Name = "tabPageChainingOutCueOnShot";
+ this.tabPageChainingOutCueOnShot.Padding = new System.Windows.Forms.Padding(3);
+ this.tabPageChainingOutCueOnShot.Size = new System.Drawing.Size(400, 100);
+ this.tabPageChainingOutCueOnShot.TabIndex = 2;
+ this.tabPageChainingOutCueOnShot.Text = "Out cue on shot change";
+ this.tabPageChainingOutCueOnShot.UseVisualStyleBackColor = true;
+ //
+ // numericUpDownChainingOutCueOnShotRightGreenZone
+ //
+ this.numericUpDownChainingOutCueOnShotRightGreenZone.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+ this.numericUpDownChainingOutCueOnShotRightGreenZone.Location = new System.Drawing.Point(266, 31);
+ this.numericUpDownChainingOutCueOnShotRightGreenZone.Maximum = new decimal(new int[] {
+ 50,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingOutCueOnShotRightGreenZone.Name = "numericUpDownChainingOutCueOnShotRightGreenZone";
+ this.numericUpDownChainingOutCueOnShotRightGreenZone.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownChainingOutCueOnShotRightGreenZone.TabIndex = 76;
+ this.numericUpDownChainingOutCueOnShotRightGreenZone.Value = new decimal(new int[] {
+ 13,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingOutCueOnShotRightGreenZone.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
+ //
+ // numericUpDownChainingOutCueOnShotRightRedZone
+ //
+ this.numericUpDownChainingOutCueOnShotRightRedZone.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
+ this.numericUpDownChainingOutCueOnShotRightRedZone.Location = new System.Drawing.Point(208, 31);
+ this.numericUpDownChainingOutCueOnShotRightRedZone.Maximum = new decimal(new int[] {
+ 50,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingOutCueOnShotRightRedZone.Name = "numericUpDownChainingOutCueOnShotRightRedZone";
+ this.numericUpDownChainingOutCueOnShotRightRedZone.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownChainingOutCueOnShotRightRedZone.TabIndex = 75;
+ this.numericUpDownChainingOutCueOnShotRightRedZone.Value = new decimal(new int[] {
+ 12,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingOutCueOnShotRightRedZone.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
+ //
+ // labelChainingOutCueOnShotMaxGapSuffix
+ //
+ this.labelChainingOutCueOnShotMaxGapSuffix.AutoSize = true;
+ this.labelChainingOutCueOnShotMaxGapSuffix.Location = new System.Drawing.Point(266, 6);
+ this.labelChainingOutCueOnShotMaxGapSuffix.Name = "labelChainingOutCueOnShotMaxGapSuffix";
+ this.labelChainingOutCueOnShotMaxGapSuffix.Size = new System.Drawing.Size(23, 15);
+ this.labelChainingOutCueOnShotMaxGapSuffix.TabIndex = 3;
+ this.labelChainingOutCueOnShotMaxGapSuffix.Text = "ms";
+ //
+ // radioButtonChainingOutCueOnShotZones
+ //
+ this.radioButtonChainingOutCueOnShotZones.AutoSize = true;
+ this.radioButtonChainingOutCueOnShotZones.Location = new System.Drawing.Point(0, 32);
+ this.radioButtonChainingOutCueOnShotZones.Name = "radioButtonChainingOutCueOnShotZones";
+ this.radioButtonChainingOutCueOnShotZones.Size = new System.Drawing.Size(60, 19);
+ this.radioButtonChainingOutCueOnShotZones.TabIndex = 74;
+ this.radioButtonChainingOutCueOnShotZones.Text = "Zones:";
+ this.radioButtonChainingOutCueOnShotZones.UseVisualStyleBackColor = true;
+ this.radioButtonChainingOutCueOnShotZones.CheckedChanged += new System.EventHandler(this.radioButtonChaining_CheckedChanged);
+ //
+ // radioButtonChainingOutCueOnShotMaxGap
+ //
+ this.radioButtonChainingOutCueOnShotMaxGap.AutoSize = true;
+ this.radioButtonChainingOutCueOnShotMaxGap.Checked = true;
+ this.radioButtonChainingOutCueOnShotMaxGap.Location = new System.Drawing.Point(0, 3);
+ this.radioButtonChainingOutCueOnShotMaxGap.Name = "radioButtonChainingOutCueOnShotMaxGap";
+ this.radioButtonChainingOutCueOnShotMaxGap.Size = new System.Drawing.Size(77, 19);
+ this.radioButtonChainingOutCueOnShotMaxGap.TabIndex = 72;
+ this.radioButtonChainingOutCueOnShotMaxGap.TabStop = true;
+ this.radioButtonChainingOutCueOnShotMaxGap.Text = "Max. gap:";
+ this.radioButtonChainingOutCueOnShotMaxGap.UseVisualStyleBackColor = true;
+ this.radioButtonChainingOutCueOnShotMaxGap.CheckedChanged += new System.EventHandler(this.radioButtonChaining_CheckedChanged);
+ //
+ // numericUpDownChainingOutCueOnShotMaxGap
+ //
+ this.numericUpDownChainingOutCueOnShotMaxGap.Location = new System.Drawing.Point(208, 2);
+ this.numericUpDownChainingOutCueOnShotMaxGap.Maximum = new decimal(new int[] {
+ 2000,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingOutCueOnShotMaxGap.Name = "numericUpDownChainingOutCueOnShotMaxGap";
+ this.numericUpDownChainingOutCueOnShotMaxGap.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownChainingOutCueOnShotMaxGap.TabIndex = 73;
+ this.numericUpDownChainingOutCueOnShotMaxGap.Value = new decimal(new int[] {
+ 500,
+ 0,
+ 0,
+ 0});
+ //
+ // buttonCreateSimple
+ //
+ this.buttonCreateSimple.Location = new System.Drawing.Point(11, 505);
+ this.buttonCreateSimple.Name = "buttonCreateSimple";
+ this.buttonCreateSimple.Size = new System.Drawing.Size(178, 23);
+ this.buttonCreateSimple.TabIndex = 102;
+ this.buttonCreateSimple.Text = "Simple mode...";
+ this.buttonCreateSimple.UseVisualStyleBackColor = true;
+ this.buttonCreateSimple.Click += new System.EventHandler(this.buttonCreateSimple_Click);
//
// BeautifyTimeCodesProfile
//
@@ -1263,6 +1246,7 @@ namespace Nikse.SubtitleEdit.Forms
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.buttonCancel;
this.ClientSize = new System.Drawing.Size(870, 540);
+ this.Controls.Add(this.buttonCreateSimple);
this.Controls.Add(this.groupBoxChaining);
this.Controls.Add(this.groupBoxConnectedSubtitles);
this.Controls.Add(this.groupBoxOutCues);
@@ -1306,6 +1290,15 @@ namespace Nikse.SubtitleEdit.Forms
((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesLeftRedZone)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesRightGreenZone)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesRightRedZone)).EndInit();
+ this.tabControlConnectedSubtitles.ResumeLayout(false);
+ this.tabPageConnectedSubtitlesInCueClosest.ResumeLayout(false);
+ this.tabPageConnectedSubtitlesInCueClosest.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesInCueClosestLeftGap)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesInCueClosestRightGap)).EndInit();
+ this.tabPageConnectedSubtitlesOutCueClosest.ResumeLayout(false);
+ this.tabPageConnectedSubtitlesOutCueClosest.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesOutCueClosestLeftGap)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesOutCueClosestRightGap)).EndInit();
this.groupBoxChaining.ResumeLayout(false);
this.tabControlChaining.ResumeLayout(false);
this.tabPageChainingGeneral.ResumeLayout(false);
@@ -1323,15 +1316,6 @@ namespace Nikse.SubtitleEdit.Forms
((System.ComponentModel.ISupportInitialize)(this.numericUpDownChainingOutCueOnShotRightGreenZone)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownChainingOutCueOnShotRightRedZone)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownChainingOutCueOnShotMaxGap)).EndInit();
- this.tabControlConnectedSubtitles.ResumeLayout(false);
- this.tabPageConnectedSubtitlesInCueClosest.ResumeLayout(false);
- this.tabPageConnectedSubtitlesInCueClosest.PerformLayout();
- this.tabPageConnectedSubtitlesOutCueClosest.ResumeLayout(false);
- this.tabPageConnectedSubtitlesOutCueClosest.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesInCueClosestLeftGap)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesInCueClosestRightGap)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesOutCueClosestLeftGap)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDownConnectedSubtitlesOutCueClosestRightGap)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -1343,8 +1327,6 @@ namespace Nikse.SubtitleEdit.Forms
private System.Windows.Forms.Button buttonOK;
private System.Windows.Forms.MenuStrip menuStrip;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemLoadPreset;
- private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemLoadDefault;
- private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemLoadNetflix;
private System.Windows.Forms.GroupBox groupBoxGeneral;
private System.Windows.Forms.GroupBox groupBoxInCues;
private Controls.CuesPreviewView cuesPreviewViewInCues;
@@ -1405,7 +1387,6 @@ namespace Nikse.SubtitleEdit.Forms
private System.Windows.Forms.RadioButton radioButtonChainingOutCueOnShotZones;
private System.Windows.Forms.RadioButton radioButtonChainingOutCueOnShotMaxGap;
private System.Windows.Forms.NumericUpDown numericUpDownChainingOutCueOnShotMaxGap;
- private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemLoadSDI;
private System.Windows.Forms.TabControl tabControlConnectedSubtitles;
private System.Windows.Forms.TabPage tabPageConnectedSubtitlesInCueClosest;
private System.Windows.Forms.TabPage tabPageConnectedSubtitlesOutCueClosest;
@@ -1416,5 +1397,6 @@ namespace Nikse.SubtitleEdit.Forms
private System.Windows.Forms.NumericUpDown numericUpDownConnectedSubtitlesOutCueClosestRightGap;
private System.Windows.Forms.Label labelConnectedSubtitlesOutCueClosestGaps;
private Controls.CuesPreviewView cuesPreviewViewConnectedSubtitlesOutCueClosest;
+ private System.Windows.Forms.Button buttonCreateSimple;
}
}
\ No newline at end of file
diff --git a/src/ui/Forms/BeautifyTimeCodesProfile.cs b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfile.cs
similarity index 78%
rename from src/ui/Forms/BeautifyTimeCodesProfile.cs
rename to src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfile.cs
index ee4fa6653..382cd979f 100644
--- a/src/ui/Forms/BeautifyTimeCodesProfile.cs
+++ b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfile.cs
@@ -1,25 +1,22 @@
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using System.Windows.Forms;
using Nikse.SubtitleEdit.Core.Common;
using Nikse.SubtitleEdit.Logic;
-namespace Nikse.SubtitleEdit.Forms
+namespace Nikse.SubtitleEdit.Forms.BeautifyTimeCodes
{
public partial class BeautifyTimeCodesProfile : Form
{
+ private readonly double _frameRate;
+
public BeautifyTimeCodesProfile(double frameRate)
{
+ _frameRate = frameRate;
+
UiUtil.PreInitialize(this);
InitializeComponent();
UiUtil.FixFonts(this);
-
+
if (frameRate > 0)
{
cuesPreviewViewInCues.FrameRate = (float)frameRate;
@@ -30,16 +27,78 @@ namespace Nikse.SubtitleEdit.Forms
cuesPreviewViewChainingInCueOnShot.FrameRate = (float)frameRate;
cuesPreviewViewChainingOutCueOnShot.FrameRate = (float)frameRate;
}
-
+
var language = LanguageSettings.Current.BeautifyTimeCodesProfile;
Text = language.Title;
- // TODO i18n
+ buttonCreateSimple.Text = language.CreateSimple;
+ toolStripMenuItemLoadPreset.Text = language.LoadPreset;
+ groupBoxGeneral.Text = language.General;
+ labelGap.Text = language.Gap;
+ labelGapSuffix.Text = language.GapSuffix;
+ groupBoxInCues.Text = language.InCues;
+ labelInCuesGap.Text = language.Gap;
+ labelInCuesZones.Text = language.Zones;
+ groupBoxOutCues.Text = language.OutCues;
+ labelOutCuesGap.Text = language.Gap;
+ labelOutCuesZones.Text = language.Zones;
+ groupBoxConnectedSubtitles.Text = language.ConnectedSubtitles;
+ tabPageConnectedSubtitlesInCueClosest.Text = language.InCueClosest;
+ labelConnectedSubtitlesInCueClosestGaps.Text = language.Gap;
+ tabPageConnectedSubtitlesOutCueClosest.Text = language.OutCueClosest;
+ labelConnectedSubtitlesOutCueClosestGaps.Text = language.Gap;
+ labelConnectedSubtitlesZones.Text = language.Zones;
+ labelConnectedSubtitlesTreatConnected.Text = language.TreadAsConnected;
+ labelConnectedSubtitlesTreatConnectedSuffix.Text = language.Milliseconds;
+ groupBoxChaining.Text = language.Chaining;
+ tabPageChainingGeneral.Text = language.General;
+ radioButtonChainingGeneralMaxGap.Text = language.MaxGap;
+ labelChainingGeneralMaxGapSuffix.Text = language.Milliseconds;
+ radioButtonChainingGeneralZones.Text = language.Zones;
+ labelChainingGeneralShotChangeBehavior.Text = language.ShotChangeBehavior;
+ comboBoxChainingGeneralShotChangeBehavior.Items.Clear();
+ comboBoxChainingGeneralShotChangeBehavior.Items.Add(language.DontChain);
+ comboBoxChainingGeneralShotChangeBehavior.Items.Add(language.ExtendCrossingShotChange);
+ comboBoxChainingGeneralShotChangeBehavior.Items.Add(language.ExtendUntilShotChange);
+ radioButtonChainingInCueOnShotMaxGap.Text = language.MaxGap;
+ labelChainingInCueOnShotMaxGapSuffix.Text = language.Milliseconds;
+ radioButtonChainingInCueOnShotZones.Text = language.Zones;
+ radioButtonChainingOutCueOnShotMaxGap.Text = language.MaxGap;
+ labelChainingOutCueOnShotMaxGapSuffix.Text = language.Milliseconds;
+ radioButtonChainingOutCueOnShotZones.Text = language.Zones;
- LoadSettings();
+ cuesPreviewViewInCues.PreviewText = language.SubtitlePreviewText;
+ cuesPreviewViewOutCues.PreviewText = language.SubtitlePreviewText;
+ cuesPreviewViewConnectedSubtitlesInCueClosest.PreviewText = language.SubtitlePreviewText;
+ cuesPreviewViewConnectedSubtitlesOutCueClosest.PreviewText = language.SubtitlePreviewText;
+ cuesPreviewViewChainingGeneral.PreviewText = language.SubtitlePreviewText;
+ cuesPreviewViewChainingInCueOnShot.PreviewText = language.SubtitlePreviewText;
+ cuesPreviewViewChainingOutCueOnShot.PreviewText = language.SubtitlePreviewText;
+
+ numericUpDownGap.Left = labelGap.Left + labelGap.Width + 12;
+ labelGapSuffix.Left = numericUpDownGap.Left + numericUpDownGap.Width + 6;
+
+ numericUpDownConnectedSubtitlesTreatConnected.Left = Math.Max(labelConnectedSubtitlesTreatConnected.Left + labelConnectedSubtitlesTreatConnected.Width + 6, numericUpDownConnectedSubtitlesTreatConnected.Left);
+ labelConnectedSubtitlesTreatConnectedSuffix.Left = numericUpDownConnectedSubtitlesTreatConnected.Left + numericUpDownConnectedSubtitlesTreatConnected.Width + 6;
+
+ var comboBoxRight = comboBoxChainingGeneralShotChangeBehavior.Right;
+ comboBoxChainingGeneralShotChangeBehavior.Left = Math.Max(labelChainingGeneralShotChangeBehavior.Left + labelChainingGeneralShotChangeBehavior.Width + 6, comboBoxChainingGeneralShotChangeBehavior.Left);
+ comboBoxChainingGeneralShotChangeBehavior.Width = comboBoxRight - comboBoxChainingGeneralShotChangeBehavior.Left;
+
+ foreach (BeautifyTimeCodesSettings.BeautifyTimeCodesProfile.Preset preset in Enum.GetValues(typeof(BeautifyTimeCodesSettings.BeautifyTimeCodesProfile.Preset)))
+ {
+ var toolStripMenuItem = new ToolStripMenuItem(UiUtil.GetBeautifyTimeCodesProfilePresetName(preset));
+ toolStripMenuItem.Click += (sender, args) =>
+ {
+ ResetSettings(preset);
+ };
+ toolStripMenuItemLoadPreset.DropDownItems.Add(toolStripMenuItem);
+ }
buttonOK.Text = LanguageSettings.Current.General.Ok;
buttonCancel.Text = LanguageSettings.Current.General.Cancel;
UiUtil.FixLargeFonts(this, buttonOK);
+
+ LoadSettings();
}
private void LoadSettings()
@@ -204,24 +263,9 @@ namespace Nikse.SubtitleEdit.Forms
DialogResult = DialogResult.OK;
}
- private void toolStripMenuItemLoadDefault_Click(object sender, EventArgs e)
- {
- ResetSettings(BeautifyTimeCodesSettings.BeautifyTimeCodesProfile.Preset.Default);
- }
-
- private void toolStripMenuItemLoadNetflix_Click(object sender, EventArgs e)
- {
- ResetSettings(BeautifyTimeCodesSettings.BeautifyTimeCodesProfile.Preset.Netflix);
- }
-
- private void toolStripMenuItemLoadSDI_Click(object sender, EventArgs e)
- {
- ResetSettings(BeautifyTimeCodesSettings.BeautifyTimeCodesProfile.Preset.SDI);
- }
-
private void ResetSettings(BeautifyTimeCodesSettings.BeautifyTimeCodesProfile.Preset preset)
{
- if (MessageBox.Show(this, "This will reset your current profile and replace all values with those of the selected preset. This cannot be undone.\n\nDo you want to continue?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
+ if (MessageBox.Show(this, LanguageSettings.Current.BeautifyTimeCodesProfile.ResetWarning, LanguageSettings.Current.General.Warning, MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
{
Configuration.Settings.BeautifyTimeCodes.Profile = new BeautifyTimeCodesSettings.BeautifyTimeCodesProfile(preset);
LoadSettings();
@@ -291,5 +335,16 @@ namespace Nikse.SubtitleEdit.Forms
numericUpDownChainingInCueOnShotLeftGreenZone.Minimum = numericUpDownChainingInCueOnShotLeftRedZone.Value;
numericUpDownChainingOutCueOnShotRightGreenZone.Minimum = numericUpDownChainingOutCueOnShotRightRedZone.Value;
}
+
+ private void buttonCreateSimple_Click(object sender, EventArgs e)
+ {
+ using (var form = new BeautifyTimeCodesProfileSimple(_frameRate))
+ {
+ if (form.ShowDialog() == DialogResult.OK)
+ {
+ LoadSettings();
+ }
+ }
+ }
}
}
\ No newline at end of file
diff --git a/src/ui/Forms/BeautifyTimeCodesProfile.resx b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfile.resx
similarity index 100%
rename from src/ui/Forms/BeautifyTimeCodesProfile.resx
rename to src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfile.resx
diff --git a/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfileSimple.Designer.cs b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfileSimple.Designer.cs
new file mode 100644
index 000000000..ec15df6b8
--- /dev/null
+++ b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfileSimple.Designer.cs
@@ -0,0 +1,552 @@
+namespace Nikse.SubtitleEdit.Forms.BeautifyTimeCodes
+{
+ partial class BeautifyTimeCodesProfileSimple
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BeautifyTimeCodesProfileSimple));
+ this.buttonCancel = new System.Windows.Forms.Button();
+ this.buttonOK = new System.Windows.Forms.Button();
+ this.labelInstructions = new System.Windows.Forms.Label();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.checkBoxSnapClosestCue = new System.Windows.Forms.CheckBox();
+ this.pictureBoxChainingInfo = new System.Windows.Forms.PictureBox();
+ this.labelChainingGapAfterShotChangesPrefix = new System.Windows.Forms.Label();
+ this.numericUpDownChainingGapAfterShotChanges = new System.Windows.Forms.NumericUpDown();
+ this.labelChainingGapAfterShotChangesSuffix = new System.Windows.Forms.Label();
+ this.checkBoxChainingGapAfterShotChanges = new System.Windows.Forms.CheckBox();
+ this.numericUpDownChainingGap = new System.Windows.Forms.NumericUpDown();
+ this.labelChainingGapInstruction = new System.Windows.Forms.Label();
+ this.labelChainingGapSuffix = new System.Windows.Forms.Label();
+ this.labelChainingGap = new System.Windows.Forms.Label();
+ this.labelOffsetInstruction = new System.Windows.Forms.Label();
+ this.labelOffsetSuffix = new System.Windows.Forms.Label();
+ this.numericUpDownOffset = new System.Windows.Forms.NumericUpDown();
+ this.labelOffset = new System.Windows.Forms.Label();
+ this.labelSafeZoneInstruction = new System.Windows.Forms.Label();
+ this.labelSafeZoneSuffix = new System.Windows.Forms.Label();
+ this.numericUpDownSafeZone = new System.Windows.Forms.NumericUpDown();
+ this.comboBoxOutCues = new System.Windows.Forms.ComboBox();
+ this.comboBoxInCues = new System.Windows.Forms.ComboBox();
+ this.labelOutCues = new System.Windows.Forms.Label();
+ this.labelInCues = new System.Windows.Forms.Label();
+ this.labelSafeZone = new System.Windows.Forms.Label();
+ this.labelGapInstruction = new System.Windows.Forms.Label();
+ this.labelGapHint = new System.Windows.Forms.Label();
+ this.labelGapSuffix = new System.Windows.Forms.Label();
+ this.numericUpDownGap = new System.Windows.Forms.NumericUpDown();
+ this.labelGap = new System.Windows.Forms.Label();
+ this.toolTipChaining = new System.Windows.Forms.ToolTip(this.components);
+ this.buttonLoadNetflixRules = new System.Windows.Forms.Button();
+ this.groupBox1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBoxChainingInfo)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownChainingGapAfterShotChanges)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownChainingGap)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownOffset)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownSafeZone)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownGap)).BeginInit();
+ this.SuspendLayout();
+ //
+ // buttonCancel
+ //
+ this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ this.buttonCancel.Location = new System.Drawing.Point(463, 527);
+ this.buttonCancel.Name = "buttonCancel";
+ this.buttonCancel.Size = new System.Drawing.Size(75, 23);
+ this.buttonCancel.TabIndex = 101;
+ this.buttonCancel.Text = "Cancel";
+ this.buttonCancel.UseVisualStyleBackColor = true;
+ //
+ // buttonOK
+ //
+ this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
+ this.buttonOK.Location = new System.Drawing.Point(382, 527);
+ this.buttonOK.Name = "buttonOK";
+ this.buttonOK.Size = new System.Drawing.Size(75, 23);
+ this.buttonOK.TabIndex = 100;
+ this.buttonOK.Text = "OK";
+ this.buttonOK.UseVisualStyleBackColor = true;
+ this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
+ //
+ // labelInstructions
+ //
+ this.labelInstructions.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.labelInstructions.AutoSize = true;
+ this.labelInstructions.Location = new System.Drawing.Point(9, 9);
+ this.labelInstructions.Name = "labelInstructions";
+ this.labelInstructions.Size = new System.Drawing.Size(399, 15);
+ this.labelInstructions.TabIndex = 104;
+ this.labelInstructions.Text = "Enter these basic rules, and the current profile will be updated accordingly.";
+ //
+ // groupBox1
+ //
+ this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.groupBox1.Controls.Add(this.checkBoxSnapClosestCue);
+ this.groupBox1.Controls.Add(this.pictureBoxChainingInfo);
+ this.groupBox1.Controls.Add(this.labelChainingGapAfterShotChangesPrefix);
+ this.groupBox1.Controls.Add(this.numericUpDownChainingGapAfterShotChanges);
+ this.groupBox1.Controls.Add(this.labelChainingGapAfterShotChangesSuffix);
+ this.groupBox1.Controls.Add(this.checkBoxChainingGapAfterShotChanges);
+ this.groupBox1.Controls.Add(this.numericUpDownChainingGap);
+ this.groupBox1.Controls.Add(this.labelChainingGapInstruction);
+ this.groupBox1.Controls.Add(this.labelChainingGapSuffix);
+ this.groupBox1.Controls.Add(this.labelChainingGap);
+ this.groupBox1.Controls.Add(this.labelOffsetInstruction);
+ this.groupBox1.Controls.Add(this.labelOffsetSuffix);
+ this.groupBox1.Controls.Add(this.numericUpDownOffset);
+ this.groupBox1.Controls.Add(this.labelOffset);
+ this.groupBox1.Controls.Add(this.labelSafeZoneInstruction);
+ this.groupBox1.Controls.Add(this.labelSafeZoneSuffix);
+ this.groupBox1.Controls.Add(this.numericUpDownSafeZone);
+ this.groupBox1.Controls.Add(this.comboBoxOutCues);
+ this.groupBox1.Controls.Add(this.comboBoxInCues);
+ this.groupBox1.Controls.Add(this.labelOutCues);
+ this.groupBox1.Controls.Add(this.labelInCues);
+ this.groupBox1.Controls.Add(this.labelSafeZone);
+ this.groupBox1.Controls.Add(this.labelGapInstruction);
+ this.groupBox1.Controls.Add(this.labelGapHint);
+ this.groupBox1.Controls.Add(this.labelGapSuffix);
+ this.groupBox1.Controls.Add(this.numericUpDownGap);
+ this.groupBox1.Controls.Add(this.labelGap);
+ this.groupBox1.Location = new System.Drawing.Point(12, 27);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(525, 490);
+ this.groupBox1.TabIndex = 1;
+ this.groupBox1.TabStop = false;
+ //
+ // checkBoxSnapClosestCue
+ //
+ this.checkBoxSnapClosestCue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.checkBoxSnapClosestCue.Checked = true;
+ this.checkBoxSnapClosestCue.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.checkBoxSnapClosestCue.Location = new System.Drawing.Point(134, 157);
+ this.checkBoxSnapClosestCue.Name = "checkBoxSnapClosestCue";
+ this.checkBoxSnapClosestCue.Size = new System.Drawing.Size(377, 35);
+ this.checkBoxSnapClosestCue.TabIndex = 32;
+ this.checkBoxSnapClosestCue.Text = "For connected subtitles, snap the in or out cue to the shot change based on which" +
+ " one is closer";
+ this.checkBoxSnapClosestCue.UseVisualStyleBackColor = true;
+ //
+ // pictureBoxChainingInfo
+ //
+ this.pictureBoxChainingInfo.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxChainingInfo.Image")));
+ this.pictureBoxChainingInfo.Location = new System.Drawing.Point(15, 381);
+ this.pictureBoxChainingInfo.Name = "pictureBoxChainingInfo";
+ this.pictureBoxChainingInfo.Size = new System.Drawing.Size(16, 16);
+ this.pictureBoxChainingInfo.TabIndex = 31;
+ this.pictureBoxChainingInfo.TabStop = false;
+ //
+ // labelChainingGapAfterShotChangesPrefix
+ //
+ this.labelChainingGapAfterShotChangesPrefix.AutoSize = true;
+ this.labelChainingGapAfterShotChangesPrefix.Location = new System.Drawing.Point(150, 447);
+ this.labelChainingGapAfterShotChangesPrefix.Name = "labelChainingGapAfterShotChangesPrefix";
+ this.labelChainingGapAfterShotChangesPrefix.Size = new System.Drawing.Size(33, 15);
+ this.labelChainingGapAfterShotChangesPrefix.TabIndex = 30;
+ this.labelChainingGapAfterShotChangesPrefix.Text = "Max.";
+ //
+ // numericUpDownChainingGapAfterShotChanges
+ //
+ this.numericUpDownChainingGapAfterShotChanges.Location = new System.Drawing.Point(193, 444);
+ this.numericUpDownChainingGapAfterShotChanges.Maximum = new decimal(new int[] {
+ 2000,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingGapAfterShotChanges.Name = "numericUpDownChainingGapAfterShotChanges";
+ this.numericUpDownChainingGapAfterShotChanges.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownChainingGapAfterShotChanges.TabIndex = 10;
+ this.numericUpDownChainingGapAfterShotChanges.Value = new decimal(new int[] {
+ 500,
+ 0,
+ 0,
+ 0});
+ //
+ // labelChainingGapAfterShotChangesSuffix
+ //
+ this.labelChainingGapAfterShotChangesSuffix.AutoSize = true;
+ this.labelChainingGapAfterShotChangesSuffix.Location = new System.Drawing.Point(251, 447);
+ this.labelChainingGapAfterShotChangesSuffix.Name = "labelChainingGapAfterShotChangesSuffix";
+ this.labelChainingGapAfterShotChangesSuffix.Size = new System.Drawing.Size(23, 15);
+ this.labelChainingGapAfterShotChangesSuffix.TabIndex = 28;
+ this.labelChainingGapAfterShotChangesSuffix.Text = "ms";
+ //
+ // checkBoxChainingGapAfterShotChanges
+ //
+ this.checkBoxChainingGapAfterShotChanges.AutoSize = true;
+ this.checkBoxChainingGapAfterShotChanges.Checked = true;
+ this.checkBoxChainingGapAfterShotChanges.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.checkBoxChainingGapAfterShotChanges.Location = new System.Drawing.Point(134, 422);
+ this.checkBoxChainingGapAfterShotChanges.Name = "checkBoxChainingGapAfterShotChanges";
+ this.checkBoxChainingGapAfterShotChanges.Size = new System.Drawing.Size(334, 19);
+ this.checkBoxChainingGapAfterShotChanges.TabIndex = 9;
+ this.checkBoxChainingGapAfterShotChanges.Text = "After an out cue on a shot change, the gap may be smaller";
+ this.checkBoxChainingGapAfterShotChanges.UseVisualStyleBackColor = true;
+ this.checkBoxChainingGapAfterShotChanges.CheckedChanged += new System.EventHandler(this.checkBoxChainingGapAfterShotChanges_CheckedChanged);
+ //
+ // numericUpDownChainingGap
+ //
+ this.numericUpDownChainingGap.Location = new System.Drawing.Point(134, 352);
+ this.numericUpDownChainingGap.Maximum = new decimal(new int[] {
+ 2000,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownChainingGap.Name = "numericUpDownChainingGap";
+ this.numericUpDownChainingGap.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownChainingGap.TabIndex = 8;
+ this.numericUpDownChainingGap.Value = new decimal(new int[] {
+ 1000,
+ 0,
+ 0,
+ 0});
+ //
+ // labelChainingGapInstruction
+ //
+ this.labelChainingGapInstruction.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.labelChainingGapInstruction.ForeColor = System.Drawing.SystemColors.GrayText;
+ this.labelChainingGapInstruction.Location = new System.Drawing.Point(131, 381);
+ this.labelChainingGapInstruction.Name = "labelChainingGapInstruction";
+ this.labelChainingGapInstruction.Size = new System.Drawing.Size(380, 30);
+ this.labelChainingGapInstruction.TabIndex = 25;
+ this.labelChainingGapInstruction.Text = "If the space between two subtitles is smaller than this amount, the subtitles wil" +
+ "l be connected.";
+ //
+ // labelChainingGapSuffix
+ //
+ this.labelChainingGapSuffix.AutoSize = true;
+ this.labelChainingGapSuffix.Location = new System.Drawing.Point(192, 355);
+ this.labelChainingGapSuffix.Name = "labelChainingGapSuffix";
+ this.labelChainingGapSuffix.Size = new System.Drawing.Size(23, 15);
+ this.labelChainingGapSuffix.TabIndex = 24;
+ this.labelChainingGapSuffix.Text = "ms";
+ //
+ // labelChainingGap
+ //
+ this.labelChainingGap.AutoSize = true;
+ this.labelChainingGap.Location = new System.Drawing.Point(12, 355);
+ this.labelChainingGap.Name = "labelChainingGap";
+ this.labelChainingGap.Size = new System.Drawing.Size(108, 15);
+ this.labelChainingGap.TabIndex = 22;
+ this.labelChainingGap.Text = "Max. chaining gap:";
+ //
+ // labelOffsetInstruction
+ //
+ this.labelOffsetInstruction.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.labelOffsetInstruction.ForeColor = System.Drawing.SystemColors.GrayText;
+ this.labelOffsetInstruction.Location = new System.Drawing.Point(131, 237);
+ this.labelOffsetInstruction.Name = "labelOffsetInstruction";
+ this.labelOffsetInstruction.Size = new System.Drawing.Size(380, 30);
+ this.labelOffsetInstruction.TabIndex = 21;
+ this.labelOffsetInstruction.Text = "Cues within this distance from shot changes will be considered as being on the sh" +
+ "ot change.";
+ //
+ // labelOffsetSuffix
+ //
+ this.labelOffsetSuffix.AutoSize = true;
+ this.labelOffsetSuffix.Location = new System.Drawing.Point(192, 211);
+ this.labelOffsetSuffix.Name = "labelOffsetSuffix";
+ this.labelOffsetSuffix.Size = new System.Drawing.Size(43, 15);
+ this.labelOffsetSuffix.TabIndex = 20;
+ this.labelOffsetSuffix.Text = "frames";
+ //
+ // numericUpDownOffset
+ //
+ this.numericUpDownOffset.Location = new System.Drawing.Point(134, 208);
+ this.numericUpDownOffset.Maximum = new decimal(new int[] {
+ 50,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownOffset.Name = "numericUpDownOffset";
+ this.numericUpDownOffset.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownOffset.TabIndex = 6;
+ this.numericUpDownOffset.Value = new decimal(new int[] {
+ 3,
+ 0,
+ 0,
+ 0});
+ //
+ // labelOffset
+ //
+ this.labelOffset.AutoSize = true;
+ this.labelOffset.Location = new System.Drawing.Point(12, 211);
+ this.labelOffset.Name = "labelOffset";
+ this.labelOffset.Size = new System.Drawing.Size(69, 15);
+ this.labelOffset.TabIndex = 18;
+ this.labelOffset.Text = "Max. offset:";
+ //
+ // labelSafeZoneInstruction
+ //
+ this.labelSafeZoneInstruction.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.labelSafeZoneInstruction.ForeColor = System.Drawing.SystemColors.GrayText;
+ this.labelSafeZoneInstruction.Location = new System.Drawing.Point(131, 309);
+ this.labelSafeZoneInstruction.Name = "labelSafeZoneInstruction";
+ this.labelSafeZoneInstruction.Size = new System.Drawing.Size(380, 30);
+ this.labelSafeZoneInstruction.TabIndex = 17;
+ this.labelSafeZoneInstruction.Text = "The amount of frames around shot changes where no cues are allowed.";
+ //
+ // labelSafeZoneSuffix
+ //
+ this.labelSafeZoneSuffix.AutoSize = true;
+ this.labelSafeZoneSuffix.Location = new System.Drawing.Point(192, 283);
+ this.labelSafeZoneSuffix.Name = "labelSafeZoneSuffix";
+ this.labelSafeZoneSuffix.Size = new System.Drawing.Size(43, 15);
+ this.labelSafeZoneSuffix.TabIndex = 16;
+ this.labelSafeZoneSuffix.Text = "frames";
+ //
+ // numericUpDownSafeZone
+ //
+ this.numericUpDownSafeZone.Location = new System.Drawing.Point(134, 280);
+ this.numericUpDownSafeZone.Maximum = new decimal(new int[] {
+ 50,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownSafeZone.Name = "numericUpDownSafeZone";
+ this.numericUpDownSafeZone.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownSafeZone.TabIndex = 7;
+ this.numericUpDownSafeZone.Value = new decimal(new int[] {
+ 6,
+ 0,
+ 0,
+ 0});
+ //
+ // comboBoxOutCues
+ //
+ this.comboBoxOutCues.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.comboBoxOutCues.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.comboBoxOutCues.FormattingEnabled = true;
+ this.comboBoxOutCues.Items.AddRange(new object[] {
+ "On the shot change",
+ "1 frame before the shot change",
+ "2 frames before the shot change",
+ "3 frames before the shot change",
+ "The same amount of frames as the gap before the shot change"});
+ this.comboBoxOutCues.Location = new System.Drawing.Point(134, 118);
+ this.comboBoxOutCues.Name = "comboBoxOutCues";
+ this.comboBoxOutCues.Size = new System.Drawing.Size(377, 23);
+ this.comboBoxOutCues.TabIndex = 4;
+ this.comboBoxOutCues.SelectedIndexChanged += new System.EventHandler(this.comboBoxInCues_SelectedIndexChanged);
+ //
+ // comboBoxInCues
+ //
+ this.comboBoxInCues.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.comboBoxInCues.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.comboBoxInCues.FormattingEnabled = true;
+ this.comboBoxInCues.Items.AddRange(new object[] {
+ "On the shot change",
+ "1 frame after the shot change",
+ "2 frames after the shot change",
+ "3 frames after the shot change"});
+ this.comboBoxInCues.Location = new System.Drawing.Point(134, 79);
+ this.comboBoxInCues.Name = "comboBoxInCues";
+ this.comboBoxInCues.Size = new System.Drawing.Size(377, 23);
+ this.comboBoxInCues.TabIndex = 3;
+ this.comboBoxInCues.SelectedIndexChanged += new System.EventHandler(this.comboBoxInCues_SelectedIndexChanged);
+ //
+ // labelOutCues
+ //
+ this.labelOutCues.AutoSize = true;
+ this.labelOutCues.Location = new System.Drawing.Point(12, 121);
+ this.labelOutCues.Name = "labelOutCues";
+ this.labelOutCues.Size = new System.Drawing.Size(112, 15);
+ this.labelOutCues.TabIndex = 11;
+ this.labelOutCues.Text = "Out cues should be:";
+ //
+ // labelInCues
+ //
+ this.labelInCues.AutoSize = true;
+ this.labelInCues.Location = new System.Drawing.Point(12, 82);
+ this.labelInCues.Name = "labelInCues";
+ this.labelInCues.Size = new System.Drawing.Size(102, 15);
+ this.labelInCues.TabIndex = 10;
+ this.labelInCues.Text = "In cues should be:";
+ //
+ // labelSafeZone
+ //
+ this.labelSafeZone.AutoSize = true;
+ this.labelSafeZone.Location = new System.Drawing.Point(12, 283);
+ this.labelSafeZone.Name = "labelSafeZone";
+ this.labelSafeZone.Size = new System.Drawing.Size(60, 15);
+ this.labelSafeZone.TabIndex = 9;
+ this.labelSafeZone.Text = "Safe zone:";
+ //
+ // labelGapInstruction
+ //
+ this.labelGapInstruction.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.labelGapInstruction.ForeColor = System.Drawing.SystemColors.GrayText;
+ this.labelGapInstruction.Location = new System.Drawing.Point(131, 51);
+ this.labelGapInstruction.Name = "labelGapInstruction";
+ this.labelGapInstruction.Size = new System.Drawing.Size(380, 15);
+ this.labelGapInstruction.TabIndex = 7;
+ this.labelGapInstruction.Text = "The minimum amount of space between subtitles.";
+ //
+ // labelGapHint
+ //
+ this.labelGapHint.AutoSize = true;
+ this.labelGapHint.ForeColor = System.Drawing.SystemColors.ButtonShadow;
+ this.labelGapHint.Location = new System.Drawing.Point(250, 25);
+ this.labelGapHint.Name = "labelGapHint";
+ this.labelGapHint.Size = new System.Drawing.Size(95, 15);
+ this.labelGapHint.TabIndex = 6;
+ this.labelGapHint.Text = "120 ms @ 25 FPS";
+ //
+ // labelGapSuffix
+ //
+ this.labelGapSuffix.AutoSize = true;
+ this.labelGapSuffix.Location = new System.Drawing.Point(192, 25);
+ this.labelGapSuffix.Name = "labelGapSuffix";
+ this.labelGapSuffix.Size = new System.Drawing.Size(43, 15);
+ this.labelGapSuffix.TabIndex = 5;
+ this.labelGapSuffix.Text = "frames";
+ //
+ // numericUpDownGap
+ //
+ this.numericUpDownGap.Location = new System.Drawing.Point(134, 22);
+ this.numericUpDownGap.Maximum = new decimal(new int[] {
+ 10,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownGap.Name = "numericUpDownGap";
+ this.numericUpDownGap.Size = new System.Drawing.Size(52, 23);
+ this.numericUpDownGap.TabIndex = 2;
+ this.numericUpDownGap.Value = new decimal(new int[] {
+ 3,
+ 0,
+ 0,
+ 0});
+ this.numericUpDownGap.ValueChanged += new System.EventHandler(this.numericUpDownGap_ValueChanged);
+ //
+ // labelGap
+ //
+ this.labelGap.AutoSize = true;
+ this.labelGap.Location = new System.Drawing.Point(12, 25);
+ this.labelGap.Name = "labelGap";
+ this.labelGap.Size = new System.Drawing.Size(31, 15);
+ this.labelGap.TabIndex = 0;
+ this.labelGap.Text = "Gap:";
+ //
+ // toolTipChaining
+ //
+ this.toolTipChaining.IsBalloon = true;
+ this.toolTipChaining.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info;
+ //
+ // buttonLoadNetflixRules
+ //
+ this.buttonLoadNetflixRules.Location = new System.Drawing.Point(11, 527);
+ this.buttonLoadNetflixRules.Name = "buttonLoadNetflixRules";
+ this.buttonLoadNetflixRules.Size = new System.Drawing.Size(169, 23);
+ this.buttonLoadNetflixRules.TabIndex = 102;
+ this.buttonLoadNetflixRules.Text = "Load Netflix rules";
+ this.buttonLoadNetflixRules.UseVisualStyleBackColor = true;
+ this.buttonLoadNetflixRules.Click += new System.EventHandler(this.buttonLoadNetflixRules_Click);
+ //
+ // BeautifyTimeCodesProfileSimple
+ //
+ this.AcceptButton = this.buttonOK;
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.CancelButton = this.buttonCancel;
+ this.ClientSize = new System.Drawing.Size(549, 562);
+ this.Controls.Add(this.buttonLoadNetflixRules);
+ this.Controls.Add(this.groupBox1);
+ this.Controls.Add(this.labelInstructions);
+ this.Controls.Add(this.buttonCancel);
+ this.Controls.Add(this.buttonOK);
+ this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+ this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "BeautifyTimeCodesProfileSimple";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+ this.Text = "BeautifyTimeCodesProfileSimple";
+ this.groupBox1.ResumeLayout(false);
+ this.groupBox1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBoxChainingInfo)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownChainingGapAfterShotChanges)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownChainingGap)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownOffset)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownSafeZone)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDownGap)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Button buttonCancel;
+ private System.Windows.Forms.Button buttonOK;
+ private System.Windows.Forms.Label labelInstructions;
+ private System.Windows.Forms.GroupBox groupBox1;
+ private System.Windows.Forms.Label labelGap;
+ private System.Windows.Forms.NumericUpDown numericUpDownGap;
+ private System.Windows.Forms.Label labelGapHint;
+ private System.Windows.Forms.Label labelGapSuffix;
+ private System.Windows.Forms.Label labelGapInstruction;
+ private System.Windows.Forms.ComboBox comboBoxOutCues;
+ private System.Windows.Forms.ComboBox comboBoxInCues;
+ private System.Windows.Forms.Label labelOutCues;
+ private System.Windows.Forms.Label labelInCues;
+ private System.Windows.Forms.Label labelSafeZone;
+ private System.Windows.Forms.Label labelOffsetInstruction;
+ private System.Windows.Forms.Label labelOffsetSuffix;
+ private System.Windows.Forms.NumericUpDown numericUpDownOffset;
+ private System.Windows.Forms.Label labelOffset;
+ private System.Windows.Forms.Label labelSafeZoneInstruction;
+ private System.Windows.Forms.Label labelSafeZoneSuffix;
+ private System.Windows.Forms.NumericUpDown numericUpDownSafeZone;
+ private System.Windows.Forms.Label labelChainingGapInstruction;
+ private System.Windows.Forms.Label labelChainingGapSuffix;
+ private System.Windows.Forms.Label labelChainingGap;
+ private System.Windows.Forms.NumericUpDown numericUpDownChainingGap;
+ private System.Windows.Forms.CheckBox checkBoxChainingGapAfterShotChanges;
+ private System.Windows.Forms.NumericUpDown numericUpDownChainingGapAfterShotChanges;
+ private System.Windows.Forms.Label labelChainingGapAfterShotChangesSuffix;
+ private System.Windows.Forms.Label labelChainingGapAfterShotChangesPrefix;
+ private System.Windows.Forms.PictureBox pictureBoxChainingInfo;
+ private System.Windows.Forms.ToolTip toolTipChaining;
+ private System.Windows.Forms.CheckBox checkBoxSnapClosestCue;
+ private System.Windows.Forms.Button buttonLoadNetflixRules;
+ }
+}
\ No newline at end of file
diff --git a/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfileSimple.cs b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfileSimple.cs
new file mode 100644
index 000000000..058eb852f
--- /dev/null
+++ b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfileSimple.cs
@@ -0,0 +1,176 @@
+using Nikse.SubtitleEdit.Core.Common;
+using Nikse.SubtitleEdit.Logic;
+using System;
+using System.Windows.Forms;
+using Nikse.SubtitleEdit.Core.SubtitleFormats;
+
+namespace Nikse.SubtitleEdit.Forms.BeautifyTimeCodes
+{
+ public partial class BeautifyTimeCodesProfileSimple : Form
+ {
+ private readonly double _frameRate;
+
+ public BeautifyTimeCodesProfileSimple(double frameRate)
+ {
+ _frameRate = frameRate;
+
+ UiUtil.PreInitialize(this);
+ InitializeComponent();
+ UiUtil.FixFonts(this);
+
+ var language = LanguageSettings.Current.BeautifyTimeCodesProfile;
+ Text = language.CreateSimpleTitle;
+ labelInstructions.Text = language.CreateSimpleInstruction;
+ labelGap.Text = language.Gap;
+ labelGapSuffix.Text = language.Frames;
+ labelGapInstruction.Text = language.CreateSimpleGapInstruction;
+ labelInCues.Text = language.CreateSimpleInCues;
+ comboBoxInCues.Items.Clear();
+ comboBoxInCues.Items.Add(language.CreateSimpleInCues0Frames);
+ comboBoxInCues.Items.Add(language.CreateSimpleInCues1Frames);
+ comboBoxInCues.Items.Add(language.CreateSimpleInCues2Frames);
+ comboBoxInCues.Items.Add(language.CreateSimpleInCues3Frames);
+ comboBoxInCues.SelectedIndex = 0;
+ labelOutCues.Text = language.CreateSimpleOutCues;
+ comboBoxOutCues.Items.Clear();
+ comboBoxOutCues.Items.Add(language.CreateSimpleOutCues0Frames);
+ comboBoxOutCues.Items.Add(language.CreateSimpleOutCues1Frames);
+ comboBoxOutCues.Items.Add(language.CreateSimpleOutCues2Frames);
+ comboBoxOutCues.Items.Add(language.CreateSimpleOutCues3Frames);
+ comboBoxOutCues.Items.Add(language.CreateSimpleOutCuesGap);
+ comboBoxOutCues.SelectedIndex = 0;
+ checkBoxSnapClosestCue.Text = language.CreateSimpleSnapClosestCue;
+ checkBoxSnapClosestCue.Checked = true;
+ labelOffset.Text = language.CreateSimpleMaxOffset;
+ labelOffsetSuffix.Text = language.Frames;
+ labelOffsetInstruction.Text = language.CreateSimpleMaxOffsetInstruction;
+ labelSafeZone.Text = language.CreateSimpleSafeZone;
+ labelSafeZoneSuffix.Text = language.Frames;
+ labelSafeZoneInstruction.Text = language.CreateSimpleSafeZoneInstruction;
+ labelChainingGap.Text = language.CreateSimpleChainingGap;
+ labelChainingGapSuffix.Text = language.Milliseconds;
+ labelChainingGapInstruction.Text = language.CreateSimpleChainingGapInstruction;
+ checkBoxChainingGapAfterShotChanges.Text = language.CreateSimpleChainingGapAfterShotChanges;
+ labelChainingGapAfterShotChangesPrefix.Text = language.Maximum;
+ labelChainingGapAfterShotChangesSuffix.Text = language.Milliseconds;
+ toolTipChaining.SetToolTip(pictureBoxChainingInfo, language.CreateSimpleChainingToolTip);
+ buttonLoadNetflixRules.Text = language.CreateSimpleLoadNetflixRules;
+
+ buttonOK.Text = LanguageSettings.Current.General.Ok;
+ buttonCancel.Text = LanguageSettings.Current.General.Cancel;
+ UiUtil.FixLargeFonts(this, buttonOK);
+
+ RefreshControls();
+ }
+
+ private void RefreshControls()
+ {
+ numericUpDownGap_ValueChanged(numericUpDownGap, EventArgs.Empty);
+ checkBoxChainingGapAfterShotChanges_CheckedChanged(checkBoxChainingGapAfterShotChanges, EventArgs.Empty);
+ comboBoxInCues_SelectedIndexChanged(comboBoxInCues, EventArgs.Empty);
+ }
+
+ private void buttonOK_Click(object sender, EventArgs e)
+ {
+ // Validation
+ if (numericUpDownSafeZone.Value < numericUpDownOffset.Value)
+ {
+ MessageBox.Show(this, LanguageSettings.Current.BeautifyTimeCodesProfile.OffsetSafeZoneError, LanguageSettings.Current.General.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
+ return;
+ }
+
+ // Save settings
+ var gap = Convert.ToInt32(numericUpDownGap.Value);
+ var inCuesGap = comboBoxInCues.SelectedIndex;
+ var outCuesGap = comboBoxOutCues.SelectedIndex;
+ if (comboBoxOutCues.SelectedIndex == comboBoxOutCues.Items.Count - 1)
+ {
+ outCuesGap = gap;
+ }
+
+ var redZone = Convert.ToInt32(numericUpDownOffset.Value);
+ var greenZone = Convert.ToInt32(numericUpDownSafeZone.Value);
+
+ Configuration.Settings.BeautifyTimeCodes.Profile.Gap = Convert.ToInt32(numericUpDownGap.Value);
+
+ Configuration.Settings.BeautifyTimeCodes.Profile.InCuesGap = inCuesGap;
+ Configuration.Settings.BeautifyTimeCodes.Profile.InCuesLeftGreenZone = greenZone;
+ Configuration.Settings.BeautifyTimeCodes.Profile.InCuesLeftRedZone = redZone;
+ Configuration.Settings.BeautifyTimeCodes.Profile.InCuesRightRedZone = redZone;
+ Configuration.Settings.BeautifyTimeCodes.Profile.InCuesRightGreenZone = greenZone;
+
+ Configuration.Settings.BeautifyTimeCodes.Profile.OutCuesGap = outCuesGap;
+ Configuration.Settings.BeautifyTimeCodes.Profile.OutCuesLeftGreenZone = greenZone;
+ Configuration.Settings.BeautifyTimeCodes.Profile.OutCuesLeftRedZone = redZone;
+ Configuration.Settings.BeautifyTimeCodes.Profile.OutCuesRightRedZone = redZone;
+ Configuration.Settings.BeautifyTimeCodes.Profile.OutCuesRightGreenZone = greenZone;
+
+ Configuration.Settings.BeautifyTimeCodes.Profile.ConnectedSubtitlesInCueClosestLeftGap = Math.Max(gap, outCuesGap);
+ Configuration.Settings.BeautifyTimeCodes.Profile.ConnectedSubtitlesInCueClosestRightGap = inCuesGap;
+ Configuration.Settings.BeautifyTimeCodes.Profile.ConnectedSubtitlesOutCueClosestLeftGap = checkBoxSnapClosestCue.Checked ? inCuesGap : Math.Max(gap, outCuesGap);
+ Configuration.Settings.BeautifyTimeCodes.Profile.ConnectedSubtitlesOutCueClosestRightGap = checkBoxSnapClosestCue.Checked ? Math.Max(gap, outCuesGap) : inCuesGap;
+ Configuration.Settings.BeautifyTimeCodes.Profile.ConnectedSubtitlesLeftGreenZone = greenZone;
+ Configuration.Settings.BeautifyTimeCodes.Profile.ConnectedSubtitlesLeftRedZone = redZone;
+ Configuration.Settings.BeautifyTimeCodes.Profile.ConnectedSubtitlesRightRedZone = redZone;
+ Configuration.Settings.BeautifyTimeCodes.Profile.ConnectedSubtitlesRightGreenZone = greenZone;
+
+ var treadConnectedMs = Math.Round(SubtitleFormat.FramesToMilliseconds(gap, _frameRate) * 1.5);
+ Configuration.Settings.BeautifyTimeCodes.Profile.ConnectedSubtitlesTreatConnected = Convert.ToInt32(treadConnectedMs);
+
+ Configuration.Settings.BeautifyTimeCodes.Profile.ChainingGeneralUseZones = false;
+ Configuration.Settings.BeautifyTimeCodes.Profile.ChainingGeneralMaxGap = Convert.ToInt32(numericUpDownChainingGap.Value);
+ Configuration.Settings.BeautifyTimeCodes.Profile.ChainingGeneralLeftGreenZone = greenZone;
+ Configuration.Settings.BeautifyTimeCodes.Profile.ChainingGeneralLeftRedZone = redZone;
+ Configuration.Settings.BeautifyTimeCodes.Profile.ChainingGeneralShotChangeBehavior = BeautifyTimeCodesSettings.BeautifyTimeCodesProfile.ChainingGeneralShotChangeBehaviorEnum.ExtendUntilShotChange;
+
+ Configuration.Settings.BeautifyTimeCodes.Profile.ChainingInCueOnShotUseZones = false;
+ Configuration.Settings.BeautifyTimeCodes.Profile.ChainingInCueOnShotMaxGap = Convert.ToInt32(numericUpDownChainingGap.Value);
+ Configuration.Settings.BeautifyTimeCodes.Profile.ChainingInCueOnShotLeftGreenZone = greenZone;
+ Configuration.Settings.BeautifyTimeCodes.Profile.ChainingInCueOnShotLeftRedZone = redZone;
+
+ Configuration.Settings.BeautifyTimeCodes.Profile.ChainingOutCueOnShotUseZones = false;
+ Configuration.Settings.BeautifyTimeCodes.Profile.ChainingOutCueOnShotMaxGap = checkBoxChainingGapAfterShotChanges.Checked ? Convert.ToInt32(numericUpDownChainingGapAfterShotChanges.Value) : Convert.ToInt32(numericUpDownChainingGap.Value);
+ Configuration.Settings.BeautifyTimeCodes.Profile.ChainingOutCueOnShotRightRedZone = redZone;
+ Configuration.Settings.BeautifyTimeCodes.Profile.ChainingOutCueOnShotRightGreenZone = greenZone;
+
+ DialogResult = DialogResult.OK;
+ }
+
+ private void numericUpDownGap_ValueChanged(object sender, EventArgs e)
+ {
+ int gapFrames = Convert.ToInt32(numericUpDownGap.Value);
+ double gapMs = SubtitleFormat.FramesToMilliseconds(gapFrames, _frameRate);
+
+ labelGapHint.Text = string.Format(LanguageSettings.Current.BeautifyTimeCodesProfile.GapInMsFormat, Math.Round(gapMs), Math.Round(_frameRate, 3));
+ }
+
+ private void checkBoxChainingGapAfterShotChanges_CheckedChanged(object sender, EventArgs e)
+ {
+ labelChainingGapAfterShotChangesPrefix.Enabled = checkBoxChainingGapAfterShotChanges.Checked;
+ numericUpDownChainingGapAfterShotChanges.Enabled = checkBoxChainingGapAfterShotChanges.Checked;
+ labelChainingGapAfterShotChangesSuffix.Enabled = checkBoxChainingGapAfterShotChanges.Checked;
+ }
+
+ private void comboBoxInCues_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (comboBoxInCues.SelectedIndex != 0 || comboBoxOutCues.SelectedIndex != 0)
+ {
+ checkBoxSnapClosestCue.Checked = false;
+ }
+ }
+
+ private void buttonLoadNetflixRules_Click(object sender, EventArgs e)
+ {
+ numericUpDownGap.Value = 2;
+ comboBoxInCues.SelectedIndex = 0;
+ comboBoxOutCues.SelectedIndex = 2;
+ checkBoxSnapClosestCue.Checked = false;
+ numericUpDownOffset.Value = 7;
+ numericUpDownSafeZone.Value = 12;
+ numericUpDownChainingGap.Value = 500;
+ checkBoxChainingGapAfterShotChanges.Checked = false;
+
+ RefreshControls();
+ }
+ }
+}
diff --git a/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfileSimple.resx b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfileSimple.resx
new file mode 100644
index 000000000..536e49542
--- /dev/null
+++ b/src/ui/Forms/BeautifyTimeCodes/BeautifyTimeCodesProfileSimple.resx
@@ -0,0 +1,133 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAANVJREFUOE+l
+ k1EOgjAQRPuLpwHPRc8DwmXUUwg3kQ/1TVk1oSsS3eTFZmdmaYuEZdV1XcYYG7jA1Rjoq1eaLS8MBYYD
+ 3ODugUeaPIXF5rLw8Wn8Bv4Tv+8hNDQ1M5ocPI1Ml0QWJbjbTgbK05SBSgN0OZlhI42mD4vmZnj4oB3o
+ NbkGO4F7BEF2kvjfAG3DE4Xl1waMEj9eouXXBrTaQQW/vsZ9MrDoPFMSKU8j05ucDAUN/T0zowfeM7jf
+ Qw+rHxP0sLNYXoi6kxZGQpOhdQvzmV8VwgNvzMGlpptvoQAAAABJRU5ErkJggg==
+
+
+
+ 17, 17
+
+
\ No newline at end of file
diff --git a/src/ui/Forms/Main.cs b/src/ui/Forms/Main.cs
index 05ae4741b..a71e8c8c7 100644
--- a/src/ui/Forms/Main.cs
+++ b/src/ui/Forms/Main.cs
@@ -34106,7 +34106,7 @@ namespace Nikse.SubtitleEdit.Forms
return;
}
- using (var form = new BeautifyTimeCodes(_subtitle, _videoInfo, _videoFileName, audioVisualizer.ShotChanges))
+ using (var form = new BeautifyTimeCodes.BeautifyTimeCodes(_subtitle, _videoInfo, _videoFileName, audioVisualizer.ShotChanges))
{
if (form.ShowDialog(this) == DialogResult.OK)
{
diff --git a/src/ui/Forms/Options/Settings.cs b/src/ui/Forms/Options/Settings.cs
index 32324c3cf..a7a382842 100644
--- a/src/ui/Forms/Options/Settings.cs
+++ b/src/ui/Forms/Options/Settings.cs
@@ -14,6 +14,7 @@ using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
+using Nikse.SubtitleEdit.Forms.BeautifyTimeCodes;
namespace Nikse.SubtitleEdit.Forms.Options
{
diff --git a/src/ui/Icons/Info.png b/src/ui/Icons/Info.png
new file mode 100644
index 000000000..e163bda69
Binary files /dev/null and b/src/ui/Icons/Info.png differ
diff --git a/src/ui/Logic/Language.cs b/src/ui/Logic/Language.cs
index e3913a250..7b3485806 100644
--- a/src/ui/Logic/Language.cs
+++ b/src/ui/Logic/Language.cs
@@ -546,15 +546,96 @@ namespace Nikse.SubtitleEdit.Logic
EditProfile = "Edit profile...",
NoTimeCodesLoaded = "No time codes loaded",
XTimeCodesLoaded = "{0} time codes loaded",
- NoTimeCodesLoadedError = "You've selected to extract exact frame time codes, but there are no time codes loaded.\n\nPlease click \"{0}\" to extract the time codes first, or disable this option.",
+ NoTimeCodesLoadedError =
+ "You've selected to extract exact frame time codes, but there are no time codes loaded." +
+ Environment.NewLine + Environment.NewLine +
+ "Please click \"{0}\" to extract the time codes first, or disable this option.",
NoShotChangesLoaded = "No shot changes loaded",
XShotChangesLoaded = "{0} shot changes loaded",
- NoShotChangesLoadedError = "You've selected to snap cues to shot changes, but there are no shot changes loaded.\n\nPlease click \"{0}\" to generate or import shot changes first, or disable this option.",
+ NoShotChangesLoadedError =
+ "You've selected to snap cues to shot changes, but there are no shot changes loaded." +
+ Environment.NewLine + Environment.NewLine +
+ "Please click \"{0}\" to generate or import shot changes first, or disable this option.",
};
BeautifyTimeCodesProfile = new LanguageStructure.BeautifyTimeCodesProfile
{
Title = "Edit profile",
+ LoadPreset = "Load preset...",
+ PresetDefault = "Default",
+ PresetNetflix = "Netflix",
+ PresetSDI = "SDI",
+ CreateSimple = "Simple mode...",
+ General = "General",
+ Gap = "Gap:",
+ GapSuffix = "frames (will overwrite custom settings)",
+ InCues = "In cues",
+ SubtitlePreviewText = "Subtitle text.",
+ Zones = "Zones:",
+ OutCues = "Out cues",
+ ConnectedSubtitles = "Connected subtitles",
+ InCueClosest = "In cue is closest",
+ OutCueClosest = "Out cue is closest",
+ TreadAsConnected = "Treat as connected if gap is smaller than:",
+ Milliseconds = "ms",
+ Chaining = "Chaining",
+ InCueOnShot = "In cue on shot change",
+ OutCueOnShot = "Out cue on shot change",
+ MaxGap = "Max. gap:",
+ ShotChangeBehavior = "If there is a shot change in between:",
+ DontChain = "Don't chain",
+ ExtendCrossingShotChange = "Extend, crossing shot change",
+ ExtendUntilShotChange = "Extend until shot change",
+ ResetWarning =
+ "This will reset your current profile and replace all values with those of the selected preset. This cannot be undone." +
+ Environment.NewLine +
+ Environment.NewLine +
+ "Do you want to continue?",
+ CreateSimpleTitle = "Create simple",
+ CreateSimpleInstruction =
+ "Enter these basic rules, and the current profile will be updated accordingly.",
+ CreateSimpleGapInstruction = "The minimum amount of space between subtitles.",
+ CreateSimpleInCues = "In cues should be:",
+ CreateSimpleInCues0Frames = "On the shot change",
+ CreateSimpleInCues1Frames = "1 frame after the shot change",
+ CreateSimpleInCues2Frames = "2 frames after the shot change",
+ CreateSimpleInCues3Frames = "3 frames after the shot change",
+ CreateSimpleOutCues = "Out cues should be:",
+ CreateSimpleOutCues0Frames = "On the shot change",
+ CreateSimpleOutCues1Frames = "1 frame before the shot change",
+ CreateSimpleOutCues2Frames = "2 frames before the shot change",
+ CreateSimpleOutCues3Frames = "3 frames before the shot change",
+ CreateSimpleOutCuesGap = "Minimum gap before the shot change",
+ CreateSimpleSnapClosestCue =
+ "For connected subtitles, snap the in or out cue to the shot change based on which one is closer",
+ CreateSimpleMaxOffset = "Max. offset:",
+ CreateSimpleMaxOffsetInstruction =
+ "Cues within this distance from shot changes will be considered as being on the shot change.",
+ CreateSimpleSafeZone = "Safe zone:",
+ CreateSimpleSafeZoneInstruction = "The amount of frames around shot changes where no cues are allowed.",
+ CreateSimpleChainingGap = "Max. chaining gap:",
+ CreateSimpleChainingGapInstruction =
+ "If the space between two subtitles is smaller than this amount, the subtitles will be connected.",
+ CreateSimpleChainingGapAfterShotChanges = "After an out cue on a shot change, the gap may be smaller",
+ CreateSimpleChainingToolTip =
+ "Chaining subtitles is recommended to ensure a consistent \"rhythm\" in the \"flashing\" of the subtitles." +
+ Environment.NewLine +
+ "This offers a more relaxed viewing experience." +
+ Environment.NewLine +
+ Environment.NewLine +
+ "After chaining, subtitles are either connected (i.e. a subtitle disappears and a new subtitle appears immediately after a slight pause) or not." +
+ Environment.NewLine +
+ "This gives the viewer some sense on when they can shift their focus back to the screen." +
+ Environment.NewLine +
+ Environment.NewLine +
+ "The length of the chaining gap can be a bit smaller right after a subtitle disappears on a shot change, because the changing shot \"resets\" the image in a way." +
+ Environment.NewLine +
+ "We leverage the intrinsic rhythm of the image.",
+ CreateSimpleLoadNetflixRules = "Load Netflix rules",
+ Frames = "frames",
+ Maximum = "Max.",
+ GapInMsFormat = "{0} ms @ {1} FPS",
+ OffsetSafeZoneError = "The safe zone should be larger than the max. offset.",
};
BinEdit = new LanguageStructure.BinEdit
diff --git a/src/ui/Logic/LanguageStructure.cs b/src/ui/Logic/LanguageStructure.cs
index 020c9cd08..37152604f 100644
--- a/src/ui/Logic/LanguageStructure.cs
+++ b/src/ui/Logic/LanguageStructure.cs
@@ -410,6 +410,60 @@ namespace Nikse.SubtitleEdit.Logic
public class BeautifyTimeCodesProfile
{
public string Title { get; set; }
+ public string LoadPreset { get; set; }
+ public string PresetDefault { get; set; }
+ public string PresetNetflix { get; set; }
+ public string PresetSDI { get; set; }
+ public string CreateSimple { get; set; }
+ public string General { get; set; }
+ public string Gap { get; set; }
+ public string GapSuffix { get; set; }
+ public string InCues { get; set; }
+ public string SubtitlePreviewText { get; set; }
+ public string Zones { get; set; }
+ public string OutCues { get; set; }
+ public string ConnectedSubtitles { get; set; }
+ public string InCueClosest { get; set; }
+ public string OutCueClosest { get; set; }
+ public string TreadAsConnected { get; set; }
+ public string Milliseconds { get; set; }
+ public string Chaining { get; set; }
+ public string InCueOnShot { get; set; }
+ public string OutCueOnShot { get; set; }
+ public string MaxGap { get; set; }
+ public string ShotChangeBehavior { get; set; }
+ public string DontChain { get; set; }
+ public string ExtendCrossingShotChange { get; set; }
+ public string ExtendUntilShotChange { get; set; }
+ public string ResetWarning { get; set; }
+ public string CreateSimpleTitle { get; set; }
+ public string CreateSimpleInstruction { get; set; }
+ public string CreateSimpleGapInstruction { get; set; }
+ public string CreateSimpleInCues { get; set; }
+ public string CreateSimpleInCues0Frames { get; set; }
+ public string CreateSimpleInCues1Frames { get; set; }
+ public string CreateSimpleInCues2Frames { get; set; }
+ public string CreateSimpleInCues3Frames { get; set; }
+ public string CreateSimpleOutCues { get; set; }
+ public string CreateSimpleOutCues0Frames { get; set; }
+ public string CreateSimpleOutCues1Frames { get; set; }
+ public string CreateSimpleOutCues2Frames { get; set; }
+ public string CreateSimpleOutCues3Frames { get; set; }
+ public string CreateSimpleOutCuesGap { get; set; }
+ public string CreateSimpleSnapClosestCue { get; set; }
+ public string CreateSimpleMaxOffset { get; set; }
+ public string CreateSimpleMaxOffsetInstruction { get; set; }
+ public string CreateSimpleSafeZone { get; set; }
+ public string CreateSimpleSafeZoneInstruction { get; set; }
+ public string CreateSimpleChainingGap { get; set; }
+ public string CreateSimpleChainingGapInstruction { get; set; }
+ public string CreateSimpleChainingGapAfterShotChanges { get; set; }
+ public string CreateSimpleChainingToolTip { get; set; }
+ public string CreateSimpleLoadNetflixRules { get; set; }
+ public string Frames { get; set; }
+ public string Maximum { get; set; }
+ public string GapInMsFormat { get; set; }
+ public string OffsetSafeZoneError { get; set; }
}
public class BinEdit
diff --git a/src/ui/Logic/UiUtil.cs b/src/ui/Logic/UiUtil.cs
index 3e8726952..601d71c68 100644
--- a/src/ui/Logic/UiUtil.cs
+++ b/src/ui/Logic/UiUtil.cs
@@ -1386,6 +1386,21 @@ namespace Nikse.SubtitleEdit.Logic
}
}
+ public static string GetBeautifyTimeCodesProfilePresetName(BeautifyTimeCodesSettings.BeautifyTimeCodesProfile.Preset preset)
+ {
+ switch (preset)
+ {
+ case BeautifyTimeCodesSettings.BeautifyTimeCodesProfile.Preset.Default:
+ return LanguageSettings.Current.BeautifyTimeCodesProfile.PresetDefault;
+ case BeautifyTimeCodesSettings.BeautifyTimeCodesProfile.Preset.Netflix:
+ return LanguageSettings.Current.BeautifyTimeCodesProfile.PresetNetflix;
+ case BeautifyTimeCodesSettings.BeautifyTimeCodesProfile.Preset.SDI:
+ return LanguageSettings.Current.BeautifyTimeCodesProfile.PresetSDI;
+ default:
+ return preset.ToString();
+ }
+ }
+
public static string DecimalSeparator => CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator;
public static Control FindFocusedControl(Control control)
diff --git a/src/ui/SubtitleEdit.csproj b/src/ui/SubtitleEdit.csproj
index 0199fb0d6..e357a73bc 100644
--- a/src/ui/SubtitleEdit.csproj
+++ b/src/ui/SubtitleEdit.csproj
@@ -258,18 +258,24 @@
BatchConvertTsSettings.cs
-
+
Form
-
+
BeautifyTimeCodes.cs
-
+
Form
-
+
BeautifyTimeCodesProfile.cs
+
+ Form
+
+
+ BeautifyTimeCodesProfileSimple.cs
+
Form
@@ -1592,12 +1598,15 @@
BatchConvertTsSettings.cs
-
+
BeautifyTimeCodes.cs
-
+
BeautifyTimeCodesProfile.cs
+
+ BeautifyTimeCodesProfileSimple.cs
+
BinEdit.cs