InputRoll - attempt to put some attributes on public properties. This is a control, public properties without attributes and/or documentation should be avoided

This commit is contained in:
adelikat 2019-10-26 18:35:12 -05:00
parent 9d87550c2a
commit 5f021ca0e2
1 changed files with 13 additions and 0 deletions

View File

@ -44,11 +44,22 @@ namespace BizHawk.Client.EmuHawk
private int? _currentY;
// Hiding lag frames (Mainly intended for < 60fps play.)
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public int LagFramesToHide { get; set; }
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public bool HideWasLagFrames { get; set; }
[Category("Behavior")]
public bool AllowRightClickSelection { get; set; }
[Category("Behavior")]
public bool LetKeysModifySelection { get; set; }
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public bool SuspendHotkeys { get; set; }
private readonly Font _font = new Font("Arial", 8, FontStyle.Bold);
@ -598,6 +609,8 @@ namespace BizHawk.Client.EmuHawk
/// <summary>
/// Gets or sets the width of data cells when in Horizontal orientation.
/// </summary>
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public int MaxCharactersInHorizontal
{
get