Added help button to FFmpeg options window

This commit is contained in:
Jaex 2014-05-30 10:41:32 +03:00
parent 6b9c9642d3
commit 83066a7d99
5 changed files with 10 additions and 4 deletions

View file

@ -37,6 +37,5 @@ public static class Links
public const string URL_BERK_STEAM = "http://steamcommunity.com/id/ww";
public const string URL_MIKE = "https://github.com/McoreD";
public const string URL_MIKE_STEAM = "http://steamcommunity.com/profiles/76561198018560325";
public const string URL_DOCS_CUSTOM_UPLOADER = "https://docs.google.com/document/d/1TSttAfH-1970JNsu3i9tl6UY0a8KNbUCeGri0Fs-jcU/edit?usp=sharing";
}
}

View file

@ -63,7 +63,7 @@ public enum FFmpegVideoCodec
libx264,
[Description("VP8")]
libvpx,
[Description("XviD")]
[Description("Xvid")]
libxvid
}

View file

@ -686,12 +686,14 @@ private void InitializeComponent()
this.Controls.Add(this.gbFFmpegExe);
this.Controls.Add(this.gbCommandLineArgs);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.HelpButton = true;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FFmpegOptionsForm";
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "FFmpegGUI";
this.HelpButtonClicked += new System.ComponentModel.CancelEventHandler(this.FFmpegOptionsForm_HelpButtonClicked);
((System.ComponentModel.ISupportInitialize)(this.nudx264CRF)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudQscale)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.nudVPxCRF)).EndInit();

View file

@ -83,7 +83,7 @@ private void SettingsLoad()
// VPx
nudVPxCRF.Value = Options.FFmpeg.VPx_CRF.Between((int)nudVPxCRF.Minimum, (int)nudVPxCRF.Maximum);
// XviD
// Xvid
nudQscale.Value = Options.FFmpeg.XviD_qscale.Between((int)nudQscale.Minimum, (int)nudQscale.Maximum);
// AAC
@ -335,5 +335,10 @@ private void btnCopyPreview_Click(object sender, EventArgs e)
{
ClipboardHelpers.CopyText(txtCommandLinePreview.Text);
}
private void FFmpegOptionsForm_HelpButtonClicked(object sender, System.ComponentModel.CancelEventArgs e)
{
Helpers.OpenURL("https://docs.google.com/document/d/1aKLSqsouoeC5Tjf-Z3P880V3rpzvQU0A2Clayn9ElZo/edit?usp=sharing");
}
}
}

View file

@ -1383,7 +1383,7 @@ private void btnCustomUploaderURLShortenerTest_Click(object sender, EventArgs e)
private void btnCustomUploaderHelp_Click(object sender, EventArgs e)
{
Helpers.OpenURL(Links.URL_DOCS_CUSTOM_UPLOADER);
Helpers.OpenURL("https://docs.google.com/document/d/1TSttAfH-1970JNsu3i9tl6UY0a8KNbUCeGri0Fs-jcU/edit?usp=sharing");
}
private void btnCustomUploaderShowLastResponse_Click(object sender, EventArgs e)