add documentation link to displayconfig dialog

This commit is contained in:
zeromus 2015-09-16 14:09:59 -05:00
parent cf1c53f3fb
commit 67d45dde10
2 changed files with 29 additions and 9 deletions

View File

@ -76,6 +76,7 @@
this.rbDisplayMinimal = new System.Windows.Forms.RadioButton(); this.rbDisplayMinimal = new System.Windows.Forms.RadioButton();
this.rbDisplayFull = new System.Windows.Forms.RadioButton(); this.rbDisplayFull = new System.Windows.Forms.RadioButton();
this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage1 = new System.Windows.Forms.TabPage();
this.cbAllowDoubleclickFullscreen = new System.Windows.Forms.CheckBox();
this.groupBox4 = new System.Windows.Forms.GroupBox(); this.groupBox4 = new System.Windows.Forms.GroupBox();
this.cbFSAutohideMouse = new System.Windows.Forms.CheckBox(); this.cbFSAutohideMouse = new System.Windows.Forms.CheckBox();
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
@ -89,7 +90,7 @@
this.cbMenuWindowed = new System.Windows.Forms.CheckBox(); this.cbMenuWindowed = new System.Windows.Forms.CheckBox();
this.trackbarFrameSizeWindowed = new BizHawk.Client.EmuHawk.TransparentTrackBar(); this.trackbarFrameSizeWindowed = new BizHawk.Client.EmuHawk.TransparentTrackBar();
this.cbCaptionWindowed = new System.Windows.Forms.CheckBox(); this.cbCaptionWindowed = new System.Windows.Forms.CheckBox();
this.cbAllowDoubleclickFullscreen = new System.Windows.Forms.CheckBox(); this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.groupBox1.SuspendLayout(); this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tbScanlineIntensity)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbScanlineIntensity)).BeginInit();
this.grpFinalFilter.SuspendLayout(); this.grpFinalFilter.SuspendLayout();
@ -640,6 +641,16 @@
this.tabPage1.Text = "Window"; this.tabPage1.Text = "Window";
this.tabPage1.UseVisualStyleBackColor = true; this.tabPage1.UseVisualStyleBackColor = true;
// //
// cbAllowDoubleclickFullscreen
//
this.cbAllowDoubleclickFullscreen.AutoSize = true;
this.cbAllowDoubleclickFullscreen.Location = new System.Drawing.Point(12, 223);
this.cbAllowDoubleclickFullscreen.Name = "cbAllowDoubleclickFullscreen";
this.cbAllowDoubleclickFullscreen.Size = new System.Drawing.Size(347, 17);
this.cbAllowDoubleclickFullscreen.TabIndex = 27;
this.cbAllowDoubleclickFullscreen.Text = "Allow Double-Click Fullscreen (hold shift to force fullscreen to toggle)";
this.cbAllowDoubleclickFullscreen.UseVisualStyleBackColor = true;
//
// groupBox4 // groupBox4
// //
this.groupBox4.Controls.Add(this.cbFSAutohideMouse); this.groupBox4.Controls.Add(this.cbFSAutohideMouse);
@ -776,15 +787,16 @@
this.cbCaptionWindowed.Text = "Caption"; this.cbCaptionWindowed.Text = "Caption";
this.cbCaptionWindowed.UseVisualStyleBackColor = true; this.cbCaptionWindowed.UseVisualStyleBackColor = true;
// //
// cbAllowDoubleclickFullscreen // linkLabel1
// //
this.cbAllowDoubleclickFullscreen.AutoSize = true; this.linkLabel1.AutoSize = true;
this.cbAllowDoubleclickFullscreen.Location = new System.Drawing.Point(12, 223); this.linkLabel1.Location = new System.Drawing.Point(12, 404);
this.cbAllowDoubleclickFullscreen.Name = "cbAllowDoubleclickFullscreen"; this.linkLabel1.Name = "linkLabel1";
this.cbAllowDoubleclickFullscreen.Size = new System.Drawing.Size(347, 17); this.linkLabel1.Size = new System.Drawing.Size(79, 13);
this.cbAllowDoubleclickFullscreen.TabIndex = 27; this.linkLabel1.TabIndex = 18;
this.cbAllowDoubleclickFullscreen.Text = "Allow Double-Click Fullscreen (hold shift to force fullscreen to toggle)"; this.linkLabel1.TabStop = true;
this.cbAllowDoubleclickFullscreen.UseVisualStyleBackColor = true; this.linkLabel1.Text = "Documentation";
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
// //
// DisplayConfigLite // DisplayConfigLite
// //
@ -793,6 +805,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btnCancel; this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(451, 439); this.ClientSize = new System.Drawing.Size(451, 439);
this.Controls.Add(this.linkLabel1);
this.Controls.Add(this.tabControl1); this.Controls.Add(this.tabControl1);
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnOk); this.Controls.Add(this.btnOk);
@ -826,6 +839,7 @@
this.groupBox2.PerformLayout(); this.groupBox2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.trackbarFrameSizeWindowed)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.trackbarFrameSizeWindowed)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout();
} }
@ -892,5 +906,6 @@
private System.Windows.Forms.RadioButton rbDisplayMinimal; private System.Windows.Forms.RadioButton rbDisplayMinimal;
private System.Windows.Forms.RadioButton rbDisplayFull; private System.Windows.Forms.RadioButton rbDisplayFull;
private System.Windows.Forms.CheckBox cbAllowDoubleclickFullscreen; private System.Windows.Forms.CheckBox cbAllowDoubleclickFullscreen;
private System.Windows.Forms.LinkLabel linkLabel1;
} }
} }

View File

@ -230,5 +230,10 @@ namespace BizHawk.Client.EmuHawk.config
lblFrameTypeWindowed.Text = "Thick"; lblFrameTypeWindowed.Text = "Thick";
} }
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("http://tasvideos.org/Bizhawk/DisplayConfig.html");
}
} }
} }