Input Roll - implement the UseCustomBackGround property and add some designer ignore attributes

This commit is contained in:
adelikat 2014-08-11 00:24:38 +00:00
parent 3e9d5533e1
commit 930b0b8198
1 changed files with 8 additions and 3 deletions

View File

@ -128,11 +128,16 @@ namespace BizHawk.Client.EmuHawk
#endregion
#region Public Methods
#region Api
// TODO: designer ignore
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
public Cell CurrentCell { get; set; }
[Browsable(false)]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
public bool UseCustomBackground { get; set; }
public string UserSettingsSerialized()
{
return string.Empty; // TODO
@ -320,7 +325,7 @@ namespace BizHawk.Client.EmuHawk
}
// Do background callback
if (QueryItemBkColor != null)
if (QueryItemBkColor != null && UseCustomBackground)
{
if (HorizontalOrientation)
{