Changed color pickers for messageconfig window to single click.

This commit is contained in:
pasky1382 2012-09-16 20:22:22 +00:00
parent b33fc4982c
commit 52bf8bf025
2 changed files with 31 additions and 19 deletions

View File

@ -329,7 +329,7 @@
this.MovieInputColor.Name = "MovieInputColor";
this.MovieInputColor.Size = new System.Drawing.Size(20, 20);
this.MovieInputColor.TabIndex = 9;
this.MovieInputColor.DoubleClick += new System.EventHandler(this.MovieInputColor_DoubleClick);
this.MovieInputColor.Click += new System.EventHandler(this.MovieInputColor_Click);
//
// LInputColorPanel
//
@ -338,7 +338,7 @@
this.LInputColorPanel.Name = "LInputColorPanel";
this.LInputColorPanel.Size = new System.Drawing.Size(20, 20);
this.LInputColorPanel.TabIndex = 7;
this.LInputColorPanel.DoubleClick += new System.EventHandler(this.LInputColorPanel_DoubleClick);
this.LInputColorPanel.Click += new System.EventHandler(this.LInputColorPanel_Click);
//
// AlertColorPanel
//
@ -347,7 +347,7 @@
this.AlertColorPanel.Name = "AlertColorPanel";
this.AlertColorPanel.Size = new System.Drawing.Size(20, 20);
this.AlertColorPanel.TabIndex = 7;
this.AlertColorPanel.DoubleClick += new System.EventHandler(this.AlertColorPanel_DoubleClick);
this.AlertColorPanel.Click += new System.EventHandler(this.AlertColorPanel_Click);
//
// ColorPanel
//
@ -356,7 +356,7 @@
this.ColorPanel.Name = "ColorPanel";
this.ColorPanel.Size = new System.Drawing.Size(20, 20);
this.ColorPanel.TabIndex = 7;
this.ColorPanel.DoubleClick += new System.EventHandler(this.ColorPanel_DoubleClick);
this.ColorPanel.Click += new System.EventHandler(this.ColorPanel_Click);
//
// label7
//
@ -442,6 +442,10 @@
this.ColorText.Size = new System.Drawing.Size(59, 20);
this.ColorText.TabIndex = 2;
//
// MessageColorDialog
//
this.MessageColorDialog.FullOpen = true;
//
// Cancel
//
this.Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
@ -602,6 +606,18 @@
this.TL.UseVisualStyleBackColor = true;
this.TL.Click += new System.EventHandler(this.TL_CheckedChanged);
//
// AlertColorDialog
//
this.AlertColorDialog.FullOpen = true;
//
// LInputColorDialog
//
this.LInputColorDialog.FullOpen = true;
//
// MovieInputColorDialog
//
this.MovieInputColorDialog.FullOpen = true;
//
// MessageConfig
//
this.AcceptButton = this.OK;

View File

@ -420,12 +420,6 @@ namespace BizHawk.MultiClient
SetPositionInfo();
}
private void ColorPanel_DoubleClick(object sender, EventArgs e)
{
if (MessageColorDialog.ShowDialog() == DialogResult.OK)
SetColorBox();
}
private void TL_CheckedChanged(object sender, EventArgs e)
{
if (TL.Checked)
@ -494,6 +488,11 @@ namespace BizHawk.MultiClient
}
}
private void ColorPanel_Click(object sender, EventArgs e)
{
}
private void XNumeric_Click(object sender, EventArgs e)
{
XNumericChange();
@ -504,22 +503,19 @@ namespace BizHawk.MultiClient
YNumericChange();
}
private void AlertColorPanel_DoubleClick(object sender, EventArgs e)
private void AlertColorPanel_Click(object sender, EventArgs e)
{
if (AlertColorDialog.ShowDialog() == DialogResult.OK)
SetColorBox();
}
private void LInputColorPanel_DoubleClick(object sender, EventArgs e)
private void LInputColorPanel_Click(object sender, EventArgs e)
{
if (LInputColorDialog.ShowDialog() == DialogResult.OK)
SetColorBox();
}
private void MovieInputColor_DoubleClick(object sender, EventArgs e)
private void MovieInputColor_Click(object sender, EventArgs e)
{
if (MovieInputColorDialog.ShowDialog() == DialogResult.OK)
SetColorBox();
}
}
}