NES Graphics Config - double clicking GB color opens up color selection (same as clicking change), clean up outdated TODO list

This commit is contained in:
adelikat 2012-09-03 21:52:51 +00:00
parent 632127fe0a
commit a48562bc36
2 changed files with 16 additions and 9 deletions

View File

@ -274,7 +274,7 @@
this.checkUseBackdropColor.AutoSize = true;
this.checkUseBackdropColor.Checked = true;
this.checkUseBackdropColor.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkUseBackdropColor.Location = new System.Drawing.Point(169, 85);
this.checkUseBackdropColor.Location = new System.Drawing.Point(169, 87);
this.checkUseBackdropColor.Name = "checkUseBackdropColor";
this.checkUseBackdropColor.Size = new System.Drawing.Size(59, 17);
this.checkUseBackdropColor.TabIndex = 36;
@ -324,6 +324,7 @@
this.BackgroundColorPanel.Name = "BackgroundColorPanel";
this.BackgroundColorPanel.Size = new System.Drawing.Size(20, 16);
this.BackgroundColorPanel.TabIndex = 0;
this.BackgroundColorPanel.DoubleClick += new System.EventHandler(this.BackgroundColorPanel_DoubleClick);
//
// DispBackground
//

View File

@ -14,16 +14,10 @@ namespace BizHawk.MultiClient
public partial class NESGraphicsConfig : Form
{
//TODO:
//Hook up allow > 8 scan lines
//Hook up Clip L+R Sides
//Hook up Disp Background
//Hook up Disp Sprites
//Hook up BG color
//Allow selection of palette file from archive
//Hotkeys for BG & Sprite display toggle
//select all on enter event for palette config
//NTSC fileter settings? Hue, Tint (This should probably be a multiclient thing, not a nes specific thing?)
//Color panel isn't loading color on load
//NTSC filter settings? Hue, Tint (This should probably be a multiclient thing, not a nes specific thing?)
HawkFile palette = null;
NES nes;
@ -112,9 +106,16 @@ namespace BizHawk.MultiClient
}
private void ChangeBGColor_Click(object sender, EventArgs e)
{
ChangeBG();
}
private void ChangeBG()
{
if (BGColorDialog.ShowDialog() == DialogResult.OK)
{
SetColorBox();
}
}
private void btnAreaStandard_Click(object sender, EventArgs e)
@ -128,5 +129,10 @@ namespace BizHawk.MultiClient
FirstLineNumeric.Value = 0;
LastLineNumeric.Value = 239;
}
private void BackgroundColorPanel_DoubleClick(object sender, EventArgs e)
{
ChangeBG();
}
}
}