Minor UI fix

This commit is contained in:
nikolaj.olsson 2024-06-28 18:29:12 +02:00
parent baec5663b3
commit e0be9ed1bc
3 changed files with 1222 additions and 1098 deletions

View File

@ -105,39 +105,40 @@
// deleteToolStripMenuItem
//
this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
this.deleteToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
this.deleteToolStripMenuItem.Size = new System.Drawing.Size(239, 32);
this.deleteToolStripMenuItem.Text = "Delete";
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(175, 6);
this.toolStripSeparator1.Size = new System.Drawing.Size(236, 6);
//
// removeSubtitleFileToolStripMenuItem
//
this.removeSubtitleFileToolStripMenuItem.Name = "removeSubtitleFileToolStripMenuItem";
this.removeSubtitleFileToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
this.removeSubtitleFileToolStripMenuItem.Size = new System.Drawing.Size(239, 32);
this.removeSubtitleFileToolStripMenuItem.Text = "Remove subtitle file";
//
// pickSubtitleFileToolStripMenuItem
//
this.pickSubtitleFileToolStripMenuItem.Name = "pickSubtitleFileToolStripMenuItem";
this.pickSubtitleFileToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
this.pickSubtitleFileToolStripMenuItem.Size = new System.Drawing.Size(239, 32);
this.pickSubtitleFileToolStripMenuItem.Text = "Pick subtitle file...";
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(175, 6);
this.toolStripSeparator2.Size = new System.Drawing.Size(236, 6);
//
// addFilesToolStripMenuItem
//
this.addFilesToolStripMenuItem.Name = "addFilesToolStripMenuItem";
this.addFilesToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
this.addFilesToolStripMenuItem.Size = new System.Drawing.Size(239, 32);
this.addFilesToolStripMenuItem.Text = "Add video files...";
//
// contextMenuStripBatch
//
this.contextMenuStripBatch.ImageScalingSize = new System.Drawing.Size(24, 24);
this.contextMenuStripBatch.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.addFilesToolStripMenuItem,
this.toolStripSeparator2,
@ -147,140 +148,141 @@
this.deleteToolStripMenuItem,
this.clearToolStripMenuItem});
this.contextMenuStripBatch.Name = "contextMenuStripBatch";
this.contextMenuStripBatch.Size = new System.Drawing.Size(179, 126);
this.contextMenuStripBatch.Size = new System.Drawing.Size(240, 176);
//
// clearToolStripMenuItem
//
this.clearToolStripMenuItem.Name = "clearToolStripMenuItem";
this.clearToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
this.clearToolStripMenuItem.Size = new System.Drawing.Size(239, 32);
this.clearToolStripMenuItem.Text = "Clear";
//
// bAspectRatio916180270ToolStripMenuItem
//
this.bAspectRatio916180270ToolStripMenuItem.Name = "bAspectRatio916180270ToolStripMenuItem";
this.bAspectRatio916180270ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.bAspectRatio916180270ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.bAspectRatio916180270ToolStripMenuItem.Text = "1/4 B - Aspect Ratio 916 - (180x270)";
this.bAspectRatio916180270ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// aAspectRatio916270480ToolStripMenuItem
//
this.aAspectRatio916270480ToolStripMenuItem.Name = "aAspectRatio916270480ToolStripMenuItem";
this.aAspectRatio916270480ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.aAspectRatio916270480ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.aAspectRatio916270480ToolStripMenuItem.Text = "1/4 A - Aspect Ratio 916 - (270x480)";
this.aAspectRatio916270480ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// bAspectRatio916360540ToolStripMenuItem
//
this.bAspectRatio916360540ToolStripMenuItem.Name = "bAspectRatio916360540ToolStripMenuItem";
this.bAspectRatio916360540ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.bAspectRatio916360540ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.bAspectRatio916360540ToolStripMenuItem.Text = "1/2 B - Aspect Ratio 916 - (360x540)";
this.bAspectRatio916360540ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// aAspectRatio916540960ToolStripMenuItem
//
this.aAspectRatio916540960ToolStripMenuItem.Name = "aAspectRatio916540960ToolStripMenuItem";
this.aAspectRatio916540960ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.aAspectRatio916540960ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.aAspectRatio916540960ToolStripMenuItem.Text = "1/2 A - Aspect Ratio 916 - (540x960)";
this.aAspectRatio916540960ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// youTubeShortsTikTokAspectRatio9167201280ToolStripMenuItem
//
this.youTubeShortsTikTokAspectRatio9167201280ToolStripMenuItem.Name = "youTubeShortsTikTokAspectRatio9167201280ToolStripMenuItem";
this.youTubeShortsTikTokAspectRatio9167201280ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.youTubeShortsTikTokAspectRatio9167201280ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.youTubeShortsTikTokAspectRatio9167201280ToolStripMenuItem.Text = "YouTube shorts/TikTok - Aspect Ratio 916 - (720x1280)";
this.youTubeShortsTikTokAspectRatio9167201280ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// youTubeShortsTikTok10801920ToolStripMenuItem
//
this.youTubeShortsTikTok10801920ToolStripMenuItem.Name = "youTubeShortsTikTok10801920ToolStripMenuItem";
this.youTubeShortsTikTok10801920ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.youTubeShortsTikTok10801920ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.youTubeShortsTikTok10801920ToolStripMenuItem.Text = "YouTube shorts/TikTok - Aspect Ratio 916 - (1080x1920)";
this.youTubeShortsTikTok10801920ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(364, 6);
this.toolStripSeparator4.Size = new System.Drawing.Size(530, 6);
//
// pAL720x576ToolStripMenuItem
//
this.pAL720x576ToolStripMenuItem.Name = "pAL720x576ToolStripMenuItem";
this.pAL720x576ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.pAL720x576ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.pAL720x576ToolStripMenuItem.Text = "360p - Aspect Ratio 169 - (640x360)";
this.pAL720x576ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// p848x480ToolStripMenuItem
//
this.p848x480ToolStripMenuItem.Name = "p848x480ToolStripMenuItem";
this.p848x480ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.p848x480ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.p848x480ToolStripMenuItem.Text = "VGA - Aspect Ratio 4:3 - (640x480)";
this.p848x480ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// x720ToolStripMenuItem
//
this.x720ToolStripMenuItem.Name = "x720ToolStripMenuItem";
this.x720ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.x720ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.x720ToolStripMenuItem.Text = "SD NTSC - Aspect Ratio 3:2 - (720x480)";
this.x720ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// p1280x720ToolStripMenuItem
//
this.p1280x720ToolStripMenuItem.Name = "p1280x720ToolStripMenuItem";
this.p1280x720ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.p1280x720ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.p1280x720ToolStripMenuItem.Text = "SD PAL - Aspect Ratio 4:3 - (720x576)";
this.p1280x720ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// x1080ToolStripMenuItem
//
this.x1080ToolStripMenuItem.Name = "x1080ToolStripMenuItem";
this.x1080ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.x1080ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.x1080ToolStripMenuItem.Text = "540p - Aspect Ratio 169 - (960x540)";
this.x1080ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// p1920x1080ToolStripMenuItem
//
this.p1920x1080ToolStripMenuItem.Name = "p1920x1080ToolStripMenuItem";
this.p1920x1080ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.p1920x1080ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.p1920x1080ToolStripMenuItem.Text = "HD 720p - Aspect Ratio 169 - (1280x720)";
this.p1920x1080ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// dCI2KFlat1998x1080ToolStripMenuItem
//
this.dCI2KFlat1998x1080ToolStripMenuItem.Name = "dCI2KFlat1998x1080ToolStripMenuItem";
this.dCI2KFlat1998x1080ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.dCI2KFlat1998x1080ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.dCI2KFlat1998x1080ToolStripMenuItem.Text = "Full HD 1080p - Aspect Ratio 169 - (1920x1080)";
this.dCI2KFlat1998x1080ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// dCI2KScope2048x858ToolStripMenuItem
//
this.dCI2KScope2048x858ToolStripMenuItem.Name = "dCI2KScope2048x858ToolStripMenuItem";
this.dCI2KScope2048x858ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.dCI2KScope2048x858ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.dCI2KScope2048x858ToolStripMenuItem.Text = "2K DCI - Aspect Ratio 169 - (2048x1080)";
this.dCI2KScope2048x858ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// k2048x1080ToolStripMenuItem
//
this.k2048x1080ToolStripMenuItem.Name = "k2048x1080ToolStripMenuItem";
this.k2048x1080ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.k2048x1080ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.k2048x1080ToolStripMenuItem.Text = "2K WQHD - Aspect Ratio 169 - (2560x1440)";
this.k2048x1080ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// uHD3840x2160ToolStripMenuItem
//
this.uHD3840x2160ToolStripMenuItem.Name = "uHD3840x2160ToolStripMenuItem";
this.uHD3840x2160ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.uHD3840x2160ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.uHD3840x2160ToolStripMenuItem.Text = "4K UHD - Aspect Ratio 169 - (3840x2160)";
this.uHD3840x2160ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// x2160ToolStripMenuItem
//
this.x2160ToolStripMenuItem.Name = "x2160ToolStripMenuItem";
this.x2160ToolStripMenuItem.Size = new System.Drawing.Size(367, 22);
this.x2160ToolStripMenuItem.Size = new System.Drawing.Size(533, 32);
this.x2160ToolStripMenuItem.Text = "4K DCI - Aspect Ratio 169 - (4096x2160)";
this.x2160ToolStripMenuItem.Click += new System.EventHandler(this.ResolutionPickClick);
//
// contextMenuStripRes
//
this.contextMenuStripRes.ImageScalingSize = new System.Drawing.Size(24, 24);
this.contextMenuStripRes.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.x2160ToolStripMenuItem,
this.uHD3840x2160ToolStripMenuItem,
@ -301,15 +303,16 @@
this.aAspectRatio916270480ToolStripMenuItem,
this.bAspectRatio916180270ToolStripMenuItem});
this.contextMenuStripRes.Name = "contextMenuStripRes";
this.contextMenuStripRes.Size = new System.Drawing.Size(368, 384);
this.contextMenuStripRes.Size = new System.Drawing.Size(534, 554);
//
// checkBoxFontBold
//
this.checkBoxFontBold.AutoSize = true;
this.checkBoxFontBold.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.checkBoxFontBold.Location = new System.Drawing.Point(187, 31);
this.checkBoxFontBold.Location = new System.Drawing.Point(280, 48);
this.checkBoxFontBold.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.checkBoxFontBold.Name = "checkBoxFontBold";
this.checkBoxFontBold.Size = new System.Drawing.Size(51, 17);
this.checkBoxFontBold.Size = new System.Drawing.Size(73, 24);
this.checkBoxFontBold.TabIndex = 20;
this.checkBoxFontBold.Text = "Bold";
this.checkBoxFontBold.UseVisualStyleBackColor = true;
@ -317,26 +320,29 @@
// panelForeColor
//
this.panelForeColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelForeColor.Location = new System.Drawing.Point(369, 28);
this.panelForeColor.Location = new System.Drawing.Point(554, 43);
this.panelForeColor.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.panelForeColor.Name = "panelForeColor";
this.panelForeColor.Size = new System.Drawing.Size(21, 21);
this.panelForeColor.Size = new System.Drawing.Size(30, 31);
this.panelForeColor.TabIndex = 6;
this.panelForeColor.Click += new System.EventHandler(this.panelForeColor_Click);
//
// panelOutlineColor
//
this.panelOutlineColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelOutlineColor.Location = new System.Drawing.Point(369, 56);
this.panelOutlineColor.Location = new System.Drawing.Point(554, 86);
this.panelOutlineColor.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.panelOutlineColor.Name = "panelOutlineColor";
this.panelOutlineColor.Size = new System.Drawing.Size(21, 20);
this.panelOutlineColor.Size = new System.Drawing.Size(30, 30);
this.panelOutlineColor.TabIndex = 4;
this.panelOutlineColor.Click += new System.EventHandler(this.panelOutlineColor_Click);
//
// buttonOutlineColor
//
this.buttonOutlineColor.Location = new System.Drawing.Point(274, 54);
this.buttonOutlineColor.Location = new System.Drawing.Point(411, 83);
this.buttonOutlineColor.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.buttonOutlineColor.Name = "buttonOutlineColor";
this.buttonOutlineColor.Size = new System.Drawing.Size(89, 23);
this.buttonOutlineColor.Size = new System.Drawing.Size(134, 35);
this.buttonOutlineColor.TabIndex = 60;
this.buttonOutlineColor.Text = "Color";
this.buttonOutlineColor.UseVisualStyleBackColor = true;
@ -364,9 +370,11 @@
this.groupBoxSettings.Controls.Add(this.groupBoxVideo);
this.groupBoxSettings.Controls.Add(this.numericUpDownFontSize);
this.groupBoxSettings.Controls.Add(this.labelFontSize);
this.groupBoxSettings.Location = new System.Drawing.Point(12, 6);
this.groupBoxSettings.Location = new System.Drawing.Point(18, 9);
this.groupBoxSettings.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBoxSettings.Name = "groupBoxSettings";
this.groupBoxSettings.Size = new System.Drawing.Size(645, 279);
this.groupBoxSettings.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBoxSettings.Size = new System.Drawing.Size(968, 429);
this.groupBoxSettings.TabIndex = 144;
this.groupBoxSettings.TabStop = false;
this.groupBoxSettings.Text = "Settings";
@ -378,9 +386,11 @@
this.groupBoxSelection.Controls.Add(this.radioButtonSelectedLinesOnly);
this.groupBoxSelection.Controls.Add(this.radioButtonSelectedLineAndForward);
this.groupBoxSelection.Controls.Add(this.radioButtonAllLines);
this.groupBoxSelection.Location = new System.Drawing.Point(319, 141);
this.groupBoxSelection.Location = new System.Drawing.Point(478, 217);
this.groupBoxSelection.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBoxSelection.Name = "groupBoxSelection";
this.groupBoxSelection.Size = new System.Drawing.Size(320, 103);
this.groupBoxSelection.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBoxSelection.Size = new System.Drawing.Size(480, 158);
this.groupBoxSelection.TabIndex = 90;
this.groupBoxSelection.TabStop = false;
this.groupBoxSelection.Text = "Selection";
@ -388,9 +398,10 @@
// radioButtonSelectedLinesOnly
//
this.radioButtonSelectedLinesOnly.AutoSize = true;
this.radioButtonSelectedLinesOnly.Location = new System.Drawing.Point(13, 47);
this.radioButtonSelectedLinesOnly.Location = new System.Drawing.Point(20, 72);
this.radioButtonSelectedLinesOnly.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.radioButtonSelectedLinesOnly.Name = "radioButtonSelectedLinesOnly";
this.radioButtonSelectedLinesOnly.Size = new System.Drawing.Size(113, 17);
this.radioButtonSelectedLinesOnly.Size = new System.Drawing.Size(165, 24);
this.radioButtonSelectedLinesOnly.TabIndex = 153;
this.radioButtonSelectedLinesOnly.TabStop = true;
this.radioButtonSelectedLinesOnly.Text = "Selected lines only";
@ -400,9 +411,10 @@
// radioButtonSelectedLineAndForward
//
this.radioButtonSelectedLineAndForward.AutoSize = true;
this.radioButtonSelectedLineAndForward.Location = new System.Drawing.Point(13, 70);
this.radioButtonSelectedLineAndForward.Location = new System.Drawing.Point(20, 108);
this.radioButtonSelectedLineAndForward.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.radioButtonSelectedLineAndForward.Name = "radioButtonSelectedLineAndForward";
this.radioButtonSelectedLineAndForward.Size = new System.Drawing.Size(156, 17);
this.radioButtonSelectedLineAndForward.Size = new System.Drawing.Size(231, 24);
this.radioButtonSelectedLineAndForward.TabIndex = 154;
this.radioButtonSelectedLineAndForward.TabStop = true;
this.radioButtonSelectedLineAndForward.Text = "Selected line(s) and forward";
@ -412,9 +424,10 @@
// radioButtonAllLines
//
this.radioButtonAllLines.AutoSize = true;
this.radioButtonAllLines.Location = new System.Drawing.Point(13, 24);
this.radioButtonAllLines.Location = new System.Drawing.Point(20, 37);
this.radioButtonAllLines.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.radioButtonAllLines.Name = "radioButtonAllLines";
this.radioButtonAllLines.Size = new System.Drawing.Size(60, 17);
this.radioButtonAllLines.Size = new System.Drawing.Size(87, 24);
this.radioButtonAllLines.TabIndex = 152;
this.radioButtonAllLines.TabStop = true;
this.radioButtonAllLines.Text = "All lines";
@ -424,9 +437,10 @@
// nikseLabelOutline
//
this.nikseLabelOutline.AutoSize = true;
this.nikseLabelOutline.Location = new System.Drawing.Point(19, 58);
this.nikseLabelOutline.Location = new System.Drawing.Point(28, 89);
this.nikseLabelOutline.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.nikseLabelOutline.Name = "nikseLabelOutline";
this.nikseLabelOutline.Size = new System.Drawing.Size(40, 13);
this.nikseLabelOutline.Size = new System.Drawing.Size(59, 20);
this.nikseLabelOutline.TabIndex = 151;
this.nikseLabelOutline.Text = "Outline";
//
@ -445,7 +459,8 @@
0,
0,
65536});
this.numericUpDownOutline.Location = new System.Drawing.Point(119, 54);
this.numericUpDownOutline.Location = new System.Drawing.Point(178, 83);
this.numericUpDownOutline.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.numericUpDownOutline.Maximum = new decimal(new int[] {
100,
0,
@ -457,7 +472,7 @@
0,
0});
this.numericUpDownOutline.Name = "numericUpDownOutline";
this.numericUpDownOutline.Size = new System.Drawing.Size(54, 23);
this.numericUpDownOutline.Size = new System.Drawing.Size(81, 35);
this.numericUpDownOutline.TabIndex = 40;
this.numericUpDownOutline.TabStop = false;
this.numericUpDownOutline.ThousandsSeparator = false;
@ -469,9 +484,10 @@
//
// buttonForeColor
//
this.buttonForeColor.Location = new System.Drawing.Point(274, 25);
this.buttonForeColor.Location = new System.Drawing.Point(411, 38);
this.buttonForeColor.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.buttonForeColor.Name = "buttonForeColor";
this.buttonForeColor.Size = new System.Drawing.Size(89, 23);
this.buttonForeColor.Size = new System.Drawing.Size(134, 35);
this.buttonForeColor.TabIndex = 30;
this.buttonForeColor.Text = "Color";
this.buttonForeColor.UseVisualStyleBackColor = true;
@ -480,9 +496,10 @@
// checkBoxBox
//
this.checkBoxBox.AutoSize = true;
this.checkBoxBox.Location = new System.Drawing.Point(187, 60);
this.checkBoxBox.Location = new System.Drawing.Point(280, 92);
this.checkBoxBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.checkBoxBox.Name = "checkBoxBox";
this.checkBoxBox.Size = new System.Drawing.Size(44, 17);
this.checkBoxBox.Size = new System.Drawing.Size(62, 24);
this.checkBoxBox.TabIndex = 50;
this.checkBoxBox.Text = "Box";
this.checkBoxBox.UseVisualStyleBackColor = true;
@ -490,9 +507,10 @@
// checkBoxAlignRight
//
this.checkBoxAlignRight.AutoSize = true;
this.checkBoxAlignRight.Location = new System.Drawing.Point(218, 114);
this.checkBoxAlignRight.Location = new System.Drawing.Point(327, 175);
this.checkBoxAlignRight.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.checkBoxAlignRight.Name = "checkBoxAlignRight";
this.checkBoxAlignRight.Size = new System.Drawing.Size(72, 17);
this.checkBoxAlignRight.Size = new System.Drawing.Size(105, 24);
this.checkBoxAlignRight.TabIndex = 76;
this.checkBoxAlignRight.Text = "Align right";
this.checkBoxAlignRight.UseVisualStyleBackColor = true;
@ -501,18 +519,20 @@
//
this.labelInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.labelInfo.AutoSize = true;
this.labelInfo.Location = new System.Drawing.Point(5, 258);
this.labelInfo.Location = new System.Drawing.Point(8, 397);
this.labelInfo.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.labelInfo.Name = "labelInfo";
this.labelInfo.Size = new System.Drawing.Size(25, 13);
this.labelInfo.Size = new System.Drawing.Size(37, 20);
this.labelInfo.TabIndex = 1;
this.labelInfo.Text = "Info";
//
// checkBoxRightToLeft
//
this.checkBoxRightToLeft.AutoSize = true;
this.checkBoxRightToLeft.Location = new System.Drawing.Point(120, 114);
this.checkBoxRightToLeft.Location = new System.Drawing.Point(180, 175);
this.checkBoxRightToLeft.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.checkBoxRightToLeft.Name = "checkBoxRightToLeft";
this.checkBoxRightToLeft.Size = new System.Drawing.Size(80, 17);
this.checkBoxRightToLeft.Size = new System.Drawing.Size(117, 24);
this.checkBoxRightToLeft.TabIndex = 75;
this.checkBoxRightToLeft.Text = "Right to left";
this.checkBoxRightToLeft.UseVisualStyleBackColor = true;
@ -530,22 +550,24 @@
this.comboBoxSubtitleFont.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxSubtitleFont.DropDownWidth = 250;
this.comboBoxSubtitleFont.FormattingEnabled = true;
this.comboBoxSubtitleFont.Location = new System.Drawing.Point(120, 87);
this.comboBoxSubtitleFont.Location = new System.Drawing.Point(180, 134);
this.comboBoxSubtitleFont.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.comboBoxSubtitleFont.MaxLength = 32767;
this.comboBoxSubtitleFont.Name = "comboBoxSubtitleFont";
this.comboBoxSubtitleFont.SelectedIndex = -1;
this.comboBoxSubtitleFont.SelectedItem = null;
this.comboBoxSubtitleFont.SelectedText = "";
this.comboBoxSubtitleFont.Size = new System.Drawing.Size(250, 21);
this.comboBoxSubtitleFont.Size = new System.Drawing.Size(400, 32);
this.comboBoxSubtitleFont.TabIndex = 70;
this.comboBoxSubtitleFont.UsePopupWindow = false;
//
// labelSubtitleFont
//
this.labelSubtitleFont.AutoSize = true;
this.labelSubtitleFont.Location = new System.Drawing.Point(19, 90);
this.labelSubtitleFont.Location = new System.Drawing.Point(28, 138);
this.labelSubtitleFont.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.labelSubtitleFont.Name = "labelSubtitleFont";
this.labelSubtitleFont.Size = new System.Drawing.Size(63, 13);
this.labelSubtitleFont.Size = new System.Drawing.Size(95, 20);
this.labelSubtitleFont.TabIndex = 7;
this.labelSubtitleFont.Text = "Subtitle font";
//
@ -558,9 +580,11 @@
this.groupBoxVideo.Controls.Add(this.numericUpDownWidth);
this.groupBoxVideo.Controls.Add(this.numericUpDownHeight);
this.groupBoxVideo.Controls.Add(this.labelX);
this.groupBoxVideo.Location = new System.Drawing.Point(6, 141);
this.groupBoxVideo.Location = new System.Drawing.Point(9, 217);
this.groupBoxVideo.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBoxVideo.Name = "groupBoxVideo";
this.groupBoxVideo.Size = new System.Drawing.Size(307, 103);
this.groupBoxVideo.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.groupBoxVideo.Size = new System.Drawing.Size(460, 158);
this.groupBoxVideo.TabIndex = 80;
this.groupBoxVideo.TabStop = false;
this.groupBoxVideo.Text = "Video";
@ -568,9 +592,10 @@
// labelFrameRate
//
this.labelFrameRate.AutoSize = true;
this.labelFrameRate.Location = new System.Drawing.Point(13, 54);
this.labelFrameRate.Location = new System.Drawing.Point(20, 83);
this.labelFrameRate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.labelFrameRate.Name = "labelFrameRate";
this.labelFrameRate.Size = new System.Drawing.Size(57, 13);
this.labelFrameRate.Size = new System.Drawing.Size(87, 20);
this.labelFrameRate.TabIndex = 32;
this.labelFrameRate.Text = "Frame rate";
//
@ -587,22 +612,24 @@
this.comboBoxFrameRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDown;
this.comboBoxFrameRate.DropDownWidth = 200;
this.comboBoxFrameRate.FormattingEnabled = true;
this.comboBoxFrameRate.Location = new System.Drawing.Point(96, 46);
this.comboBoxFrameRate.Location = new System.Drawing.Point(144, 71);
this.comboBoxFrameRate.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.comboBoxFrameRate.MaxLength = 32767;
this.comboBoxFrameRate.Name = "comboBoxFrameRate";
this.comboBoxFrameRate.SelectedIndex = -1;
this.comboBoxFrameRate.SelectedItem = null;
this.comboBoxFrameRate.SelectedText = "";
this.comboBoxFrameRate.Size = new System.Drawing.Size(74, 23);
this.comboBoxFrameRate.Size = new System.Drawing.Size(96, 35);
this.comboBoxFrameRate.TabIndex = 33;
this.comboBoxFrameRate.TabStop = false;
this.comboBoxFrameRate.UsePopupWindow = false;
//
// buttonVideoChooseStandardRes
//
this.buttonVideoChooseStandardRes.Location = new System.Drawing.Point(257, 17);
this.buttonVideoChooseStandardRes.Location = new System.Drawing.Point(386, 26);
this.buttonVideoChooseStandardRes.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.buttonVideoChooseStandardRes.Name = "buttonVideoChooseStandardRes";
this.buttonVideoChooseStandardRes.Size = new System.Drawing.Size(27, 23);
this.buttonVideoChooseStandardRes.Size = new System.Drawing.Size(40, 35);
this.buttonVideoChooseStandardRes.TabIndex = 3;
this.buttonVideoChooseStandardRes.Text = "...";
this.buttonVideoChooseStandardRes.UseVisualStyleBackColor = true;
@ -611,9 +638,10 @@
// labelResolution
//
this.labelResolution.AutoSize = true;
this.labelResolution.Location = new System.Drawing.Point(10, 19);
this.labelResolution.Location = new System.Drawing.Point(15, 29);
this.labelResolution.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.labelResolution.Name = "labelResolution";
this.labelResolution.Size = new System.Drawing.Size(57, 13);
this.labelResolution.Size = new System.Drawing.Size(85, 20);
this.labelResolution.TabIndex = 0;
this.labelResolution.Text = "Resolution";
//
@ -632,7 +660,8 @@
0,
0,
0});
this.numericUpDownWidth.Location = new System.Drawing.Point(96, 17);
this.numericUpDownWidth.Location = new System.Drawing.Point(144, 26);
this.numericUpDownWidth.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.numericUpDownWidth.Maximum = new decimal(new int[] {
50000,
0,
@ -644,7 +673,7 @@
0,
0});
this.numericUpDownWidth.Name = "numericUpDownWidth";
this.numericUpDownWidth.Size = new System.Drawing.Size(64, 23);
this.numericUpDownWidth.Size = new System.Drawing.Size(96, 35);
this.numericUpDownWidth.TabIndex = 1;
this.numericUpDownWidth.TabStop = false;
this.numericUpDownWidth.ThousandsSeparator = false;
@ -669,7 +698,8 @@
0,
0,
0});
this.numericUpDownHeight.Location = new System.Drawing.Point(184, 17);
this.numericUpDownHeight.Location = new System.Drawing.Point(276, 26);
this.numericUpDownHeight.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.numericUpDownHeight.Maximum = new decimal(new int[] {
50000,
0,
@ -681,7 +711,7 @@
0,
0});
this.numericUpDownHeight.Name = "numericUpDownHeight";
this.numericUpDownHeight.Size = new System.Drawing.Size(64, 23);
this.numericUpDownHeight.Size = new System.Drawing.Size(96, 35);
this.numericUpDownHeight.TabIndex = 2;
this.numericUpDownHeight.TabStop = false;
this.numericUpDownHeight.ThousandsSeparator = false;
@ -694,9 +724,10 @@
// labelX
//
this.labelX.AutoSize = true;
this.labelX.Location = new System.Drawing.Point(166, 19);
this.labelX.Location = new System.Drawing.Point(249, 29);
this.labelX.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.labelX.Name = "labelX";
this.labelX.Size = new System.Drawing.Size(12, 13);
this.labelX.Size = new System.Drawing.Size(16, 20);
this.labelX.TabIndex = 31;
this.labelX.Text = "x";
//
@ -715,7 +746,8 @@
0,
0,
0});
this.numericUpDownFontSize.Location = new System.Drawing.Point(120, 25);
this.numericUpDownFontSize.Location = new System.Drawing.Point(180, 38);
this.numericUpDownFontSize.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.numericUpDownFontSize.Maximum = new decimal(new int[] {
1000,
0,
@ -727,7 +759,7 @@
0,
0});
this.numericUpDownFontSize.Name = "numericUpDownFontSize";
this.numericUpDownFontSize.Size = new System.Drawing.Size(54, 20);
this.numericUpDownFontSize.Size = new System.Drawing.Size(81, 31);
this.numericUpDownFontSize.TabIndex = 10;
this.numericUpDownFontSize.TabStop = false;
this.numericUpDownFontSize.ThousandsSeparator = false;
@ -740,9 +772,10 @@
// labelFontSize
//
this.labelFontSize.AutoSize = true;
this.labelFontSize.Location = new System.Drawing.Point(19, 27);
this.labelFontSize.Location = new System.Drawing.Point(28, 42);
this.labelFontSize.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.labelFontSize.Name = "labelFontSize";
this.labelFontSize.Size = new System.Drawing.Size(49, 13);
this.labelFontSize.Size = new System.Drawing.Size(74, 20);
this.labelFontSize.TabIndex = 0;
this.labelFontSize.Text = "Font size";
//
@ -756,9 +789,10 @@
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.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonCancel.Location = new System.Drawing.Point(532, 330);
this.buttonCancel.Location = new System.Drawing.Point(798, 508);
this.buttonCancel.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(125, 23);
this.buttonCancel.Size = new System.Drawing.Size(188, 35);
this.buttonCancel.TabIndex = 154;
this.buttonCancel.Text = "C&ancel";
this.buttonCancel.UseVisualStyleBackColor = true;
@ -767,24 +801,26 @@
// promptParameterBeforeGenerateToolStripMenuItem
//
this.promptParameterBeforeGenerateToolStripMenuItem.Name = "promptParameterBeforeGenerateToolStripMenuItem";
this.promptParameterBeforeGenerateToolStripMenuItem.Size = new System.Drawing.Size(289, 22);
this.promptParameterBeforeGenerateToolStripMenuItem.Size = new System.Drawing.Size(409, 32);
this.promptParameterBeforeGenerateToolStripMenuItem.Text = "Prompt FFmpeg parameter and generate";
this.promptParameterBeforeGenerateToolStripMenuItem.Click += new System.EventHandler(this.promptParameterBeforeGenerateToolStripMenuItem_Click);
//
// contextMenuStripGenerate
//
this.contextMenuStripGenerate.ImageScalingSize = new System.Drawing.Size(24, 24);
this.contextMenuStripGenerate.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.promptParameterBeforeGenerateToolStripMenuItem});
this.contextMenuStripGenerate.Name = "contextMenuStripGenerate";
this.contextMenuStripGenerate.Size = new System.Drawing.Size(290, 26);
this.contextMenuStripGenerate.Size = new System.Drawing.Size(410, 36);
//
// progressBar1
//
this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.progressBar1.Location = new System.Drawing.Point(12, 330);
this.progressBar1.Location = new System.Drawing.Point(18, 508);
this.progressBar1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(387, 11);
this.progressBar1.Size = new System.Drawing.Size(580, 17);
this.progressBar1.TabIndex = 145;
this.progressBar1.Visible = false;
//
@ -793,9 +829,10 @@
this.buttonGenerate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonGenerate.ContextMenuStrip = this.contextMenuStripGenerate;
this.buttonGenerate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.buttonGenerate.Location = new System.Drawing.Point(405, 330);
this.buttonGenerate.Location = new System.Drawing.Point(608, 508);
this.buttonGenerate.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.buttonGenerate.Name = "buttonGenerate";
this.buttonGenerate.Size = new System.Drawing.Size(121, 23);
this.buttonGenerate.Size = new System.Drawing.Size(182, 35);
this.buttonGenerate.TabIndex = 153;
this.buttonGenerate.Text = "Generate";
this.buttonGenerate.UseVisualStyleBackColor = true;
@ -805,9 +842,10 @@
//
this.labelPass.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.labelPass.AutoSize = true;
this.labelPass.Location = new System.Drawing.Point(348, 314);
this.labelPass.Location = new System.Drawing.Point(522, 483);
this.labelPass.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.labelPass.Name = "labelPass";
this.labelPass.Size = new System.Drawing.Size(51, 13);
this.labelPass.Size = new System.Drawing.Size(75, 20);
this.labelPass.TabIndex = 149;
this.labelPass.Text = "Pass one";
//
@ -815,9 +853,10 @@
//
this.labelProgress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.labelProgress.AutoSize = true;
this.labelProgress.Location = new System.Drawing.Point(12, 344);
this.labelProgress.Location = new System.Drawing.Point(18, 529);
this.labelProgress.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.labelProgress.Name = "labelProgress";
this.labelProgress.Size = new System.Drawing.Size(88, 13);
this.labelProgress.Size = new System.Drawing.Size(131, 20);
this.labelProgress.TabIndex = 147;
this.labelProgress.Text = "Remaining time...";
//
@ -825,27 +864,29 @@
//
this.labelPleaseWait.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.labelPleaseWait.AutoSize = true;
this.labelPleaseWait.Location = new System.Drawing.Point(12, 314);
this.labelPleaseWait.Location = new System.Drawing.Point(18, 483);
this.labelPleaseWait.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.labelPleaseWait.Name = "labelPleaseWait";
this.labelPleaseWait.Size = new System.Drawing.Size(70, 13);
this.labelPleaseWait.Size = new System.Drawing.Size(101, 20);
this.labelPleaseWait.TabIndex = 146;
this.labelPleaseWait.Text = "Please wait...";
//
// textBoxLog
//
this.textBoxLog.FocusedColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215)))));
this.textBoxLog.Location = new System.Drawing.Point(32, 7);
this.textBoxLog.Location = new System.Drawing.Point(48, 11);
this.textBoxLog.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.textBoxLog.Multiline = true;
this.textBoxLog.Name = "textBoxLog";
this.textBoxLog.ReadOnly = true;
this.textBoxLog.Size = new System.Drawing.Size(188, 26);
this.textBoxLog.Size = new System.Drawing.Size(280, 38);
this.textBoxLog.TabIndex = 148;
//
// GenerateTransparentVideoWithSubtitles
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(669, 364);
this.ClientSize = new System.Drawing.Size(1004, 560);
this.Controls.Add(this.labelPass);
this.Controls.Add(this.labelProgress);
this.Controls.Add(this.labelPleaseWait);
@ -856,6 +897,7 @@
this.Controls.Add(this.buttonGenerate);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.KeyPreview = true;
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "GenerateTransparentVideoWithSubtitles";

File diff suppressed because it is too large Load Diff

View File

@ -1810,7 +1810,6 @@ namespace Nikse.SubtitleEdit.Forms
return;
}
try
{
File.Delete(tempVideoFileName);