OSDN Git Service

add win/C# diff files
[handbrake-jp/handbrake-jp.git] / win / C# / frmAddPreset.Designer.cs.diff
diff --git a/win/C#/frmAddPreset.Designer.cs.diff b/win/C#/frmAddPreset.Designer.cs.diff
new file mode 100644 (file)
index 0000000..83254d4
--- /dev/null
@@ -0,0 +1,240 @@
+diff --git a/win/C#/frmAddPreset.Designer.cs b/win/C#/frmAddPreset.Designer.cs
+index 5e248cb..5301221 100644
+--- a/win/C#/frmAddPreset.Designer.cs
++++ b/win/C#/frmAddPreset.Designer.cs
+@@ -1,16 +1,8 @@
+ /*  AudioTrack.cs $\r
+       \r
+-         This file is part of the HandBrake source code.\r
+-         Homepage: <http://handbrake.fr>.\r
+-         It may be used under the terms of the GNU General Public License. */\r
+-\r
+-/*\r
+- * This file come from HandBrake source code by http://handbrake.fr/ , \r
+- * and modified by hylom <hylomm@gmail.com> for HandBrake Japanese version.\r
+- * It may be used under the terms of the GNU General Public License.\r
+- * last modified date: $Format:%cd$\r
+- */\r
+-\r
++    This file is part of the HandBrake source code.\r
++    Homepage: <http://handbrake.fr>.\r
++    It may be used under the terms of the GNU General Public License. */\r
\r
+ namespace Handbrake\r
+ {\r
+@@ -48,46 +40,42 @@ namespace Handbrake
+             this.txt_preset_name = new System.Windows.Forms.TextBox();\r
+             this.btn_add = new System.Windows.Forms.Button();\r
+             this.btn_cancel = new System.Windows.Forms.Button();\r
+-            this.check_pictureSettings = new System.Windows.Forms.CheckBox();\r
++            this.check_useFilters = new System.Windows.Forms.CheckBox();\r
+             this.toolTip = new System.Windows.Forms.ToolTip(this.components);\r
+-            this.label1 = new System.Windows.Forms.Label();\r
+-            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();\r
+-            this.tableLayoutPanel1.SuspendLayout();\r
++            this.cb_usePictureSettings = new System.Windows.Forms.ComboBox();\r
++            this.label2 = new System.Windows.Forms.Label();\r
++            this.label3 = new System.Windows.Forms.Label();\r
+             this.SuspendLayout();\r
+             // \r
+             // lbl_name\r
+             // \r
+-            this.lbl_name.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+             this.lbl_name.AutoSize = true;\r
+-            this.lbl_name.Location = new System.Drawing.Point(3, 7);\r
++            this.lbl_name.Location = new System.Drawing.Point(12, 18);\r
+             this.lbl_name.Name = "lbl_name";\r
+-            this.lbl_name.Size = new System.Drawing.Size(66, 13);\r
++            this.lbl_name.Size = new System.Drawing.Size(75, 13);\r
+             this.lbl_name.TabIndex = 1;\r
+-            this.lbl_name.Text = "プリセット名:";\r
++            this.lbl_name.Text = "Preset Name: ";\r
+             // \r
+             // txt_preset_name\r
+             // \r
+-            this.txt_preset_name.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));\r
+-            this.tableLayoutPanel1.SetColumnSpan(this.txt_preset_name, 2);\r
+-            this.txt_preset_name.Location = new System.Drawing.Point(75, 3);\r
++            this.txt_preset_name.Location = new System.Drawing.Point(130, 15);\r
+             this.txt_preset_name.Name = "txt_preset_name";\r
+-            this.txt_preset_name.Size = new System.Drawing.Size(217, 21);\r
++            this.txt_preset_name.Size = new System.Drawing.Size(172, 21);\r
+             this.txt_preset_name.TabIndex = 0;\r
+             // \r
+             // btn_add\r
+             // \r
+-            this.btn_add.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));\r
+             this.btn_add.BackColor = System.Drawing.Color.Transparent;\r
+             this.btn_add.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
+             this.btn_add.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+             this.btn_add.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
+-            this.btn_add.Location = new System.Drawing.Point(128, 72);\r
++            this.btn_add.Location = new System.Drawing.Point(185, 133);\r
+             this.btn_add.Name = "btn_add";\r
+-            this.btn_add.Size = new System.Drawing.Size(79, 22);\r
++            this.btn_add.Size = new System.Drawing.Size(57, 22);\r
+             this.btn_add.TabIndex = 2;\r
+-            this.btn_add.Text = "追加";\r
++            this.btn_add.Text = "Add";\r
+             this.btn_add.UseVisualStyleBackColor = false;\r
+-            this.btn_add.Click += new System.EventHandler(this.btn_add_Click);\r
++            this.btn_add.Click += new System.EventHandler(this.BtnAddClick);\r
+             // \r
+             // btn_cancel\r
+             // \r
+@@ -95,63 +83,56 @@ namespace Handbrake
+             this.btn_cancel.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
+             this.btn_cancel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+             this.btn_cancel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
+-            this.btn_cancel.Location = new System.Drawing.Point(213, 72);\r
++            this.btn_cancel.Location = new System.Drawing.Point(248, 133);\r
+             this.btn_cancel.Name = "btn_cancel";\r
+-            this.btn_cancel.Size = new System.Drawing.Size(79, 22);\r
++            this.btn_cancel.Size = new System.Drawing.Size(57, 22);\r
+             this.btn_cancel.TabIndex = 3;\r
+-            this.btn_cancel.Text = "キャンセル";\r
++            this.btn_cancel.Text = "Cancel";\r
+             this.btn_cancel.UseVisualStyleBackColor = false;\r
+-            this.btn_cancel.Click += new System.EventHandler(this.btn_cancel_Click);\r
+-            // \r
+-            // check_pictureSettings\r
+-            // \r
+-            this.check_pictureSettings.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+-            this.check_pictureSettings.AutoSize = true;\r
+-            this.tableLayoutPanel1.SetColumnSpan(this.check_pictureSettings, 2);\r
+-            this.check_pictureSettings.Location = new System.Drawing.Point(75, 30);\r
+-            this.check_pictureSettings.Name = "check_pictureSettings";\r
+-            this.check_pictureSettings.Size = new System.Drawing.Size(143, 17);\r
+-            this.check_pictureSettings.TabIndex = 1;\r
+-            this.check_pictureSettings.Text = "切り抜き設定も保存する";\r
+-            this.toolTip.SetToolTip(this.check_pictureSettings, "Save Picture Width/Height and Crop Values");\r
+-            this.check_pictureSettings.UseVisualStyleBackColor = true;\r
+-            // \r
+-            // label1\r
+-            // \r
+-            this.label1.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+-            this.label1.AutoSize = true;\r
+-            this.tableLayoutPanel1.SetColumnSpan(this.label1, 2);\r
+-            this.label1.Location = new System.Drawing.Point(75, 53);\r
+-            this.label1.Margin = new System.Windows.Forms.Padding(3);\r
+-            this.label1.Name = "label1";\r
+-            this.label1.Size = new System.Drawing.Size(205, 13);\r
+-            this.label1.TabIndex = 4;\r
+-            this.label1.Text = "注意: 字幕設定については保存されません";\r
+-            // \r
+-            // tableLayoutPanel1\r
+-            // \r
+-            this.tableLayoutPanel1.AutoSize = true;\r
+-            this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;\r
+-            this.tableLayoutPanel1.ColumnCount = 3;\r
+-            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+-            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));\r
+-            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+-            this.tableLayoutPanel1.Controls.Add(this.lbl_name, 0, 0);\r
+-            this.tableLayoutPanel1.Controls.Add(this.btn_cancel, 2, 3);\r
+-            this.tableLayoutPanel1.Controls.Add(this.label1, 1, 2);\r
+-            this.tableLayoutPanel1.Controls.Add(this.btn_add, 1, 3);\r
+-            this.tableLayoutPanel1.Controls.Add(this.txt_preset_name, 1, 0);\r
+-            this.tableLayoutPanel1.Controls.Add(this.check_pictureSettings, 1, 1);\r
+-            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;\r
+-            this.tableLayoutPanel1.Location = new System.Drawing.Point(9, 9);\r
+-            this.tableLayoutPanel1.Name = "tableLayoutPanel1";\r
+-            this.tableLayoutPanel1.RowCount = 4;\r
+-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+-            this.tableLayoutPanel1.Size = new System.Drawing.Size(295, 125);\r
+-            this.tableLayoutPanel1.TabIndex = 5;\r
++            this.btn_cancel.Click += new System.EventHandler(this.BtnCancelClick);\r
++            // \r
++            // check_useFilters\r
++            // \r
++            this.check_useFilters.AutoSize = true;\r
++            this.check_useFilters.Location = new System.Drawing.Point(130, 106);\r
++            this.check_useFilters.Name = "check_useFilters";\r
++            this.check_useFilters.Size = new System.Drawing.Size(112, 17);\r
++            this.check_useFilters.TabIndex = 1;\r
++            this.check_useFilters.Text = "Use Picture Filters";\r
++            this.toolTip.SetToolTip(this.check_useFilters, "Save Picture Width/Height and Crop Values");\r
++            this.check_useFilters.UseVisualStyleBackColor = true;\r
++            // \r
++            // cb_usePictureSettings\r
++            // \r
++            this.cb_usePictureSettings.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
++            this.cb_usePictureSettings.FormattingEnabled = true;\r
++            this.cb_usePictureSettings.Items.AddRange(new object[] {\r
++            "None",\r
++            "Source Maximum"});\r
++            this.cb_usePictureSettings.Location = new System.Drawing.Point(130, 79);\r
++            this.cb_usePictureSettings.Name = "cb_usePictureSettings";\r
++            this.cb_usePictureSettings.Size = new System.Drawing.Size(172, 21);\r
++            this.cb_usePictureSettings.TabIndex = 6;\r
++            // \r
++            // label2\r
++            // \r
++            this.label2.AutoSize = true;\r
++            this.label2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
++            this.label2.Location = new System.Drawing.Point(12, 57);\r
++            this.label2.Name = "label2";\r
++            this.label2.Size = new System.Drawing.Size(100, 13);\r
++            this.label2.TabIndex = 7;\r
++            this.label2.Text = "Picture Settings:";\r
++            // \r
++            // label3\r
++            // \r
++            this.label3.AutoSize = true;\r
++            this.label3.Location = new System.Drawing.Point(12, 82);\r
++            this.label3.Margin = new System.Windows.Forms.Padding(3);\r
++            this.label3.Name = "label3";\r
++            this.label3.Size = new System.Drawing.Size(87, 13);\r
++            this.label3.TabIndex = 8;\r
++            this.label3.Text = "Use Picture Size:";\r
+             // \r
+             // frmAddPreset\r
+             // \r
+@@ -159,8 +140,15 @@ namespace Handbrake
+             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;\r
+             this.AutoSize = true;\r
+             this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;\r
+-            this.ClientSize = new System.Drawing.Size(313, 143);\r
+-            this.Controls.Add(this.tableLayoutPanel1);\r
++            this.ClientSize = new System.Drawing.Size(319, 166);\r
++            this.Controls.Add(this.label3);\r
++            this.Controls.Add(this.label2);\r
++            this.Controls.Add(this.cb_usePictureSettings);\r
++            this.Controls.Add(this.lbl_name);\r
++            this.Controls.Add(this.txt_preset_name);\r
++            this.Controls.Add(this.check_useFilters);\r
++            this.Controls.Add(this.btn_cancel);\r
++            this.Controls.Add(this.btn_add);\r
+             this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;\r
+             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));\r
+@@ -172,10 +160,8 @@ namespace Handbrake
+             this.ShowInTaskbar = false;\r
+             this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;\r
+             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;\r
+-            this.Text = "プリセットを追加";\r
++            this.Text = "Add New Preset";\r
+             this.TopMost = true;\r
+-            this.tableLayoutPanel1.ResumeLayout(false);\r
+-            this.tableLayoutPanel1.PerformLayout();\r
+             this.ResumeLayout(false);\r
+             this.PerformLayout();\r
\r
+@@ -187,9 +173,10 @@ namespace Handbrake
+         private System.Windows.Forms.TextBox txt_preset_name;\r
+         internal System.Windows.Forms.Button btn_add;\r
+         internal System.Windows.Forms.Button btn_cancel;\r
+-        private System.Windows.Forms.CheckBox check_pictureSettings;\r
++        private System.Windows.Forms.CheckBox check_useFilters;\r
+         private System.Windows.Forms.ToolTip toolTip;\r
+-        private System.Windows.Forms.Label label1;\r
+-        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;\r
++        private System.Windows.Forms.ComboBox cb_usePictureSettings;\r
++        private System.Windows.Forms.Label label2;\r
++        private System.Windows.Forms.Label label3;\r
+     }\r
+ }
+\ No newline at end of file