From 5f021ca0e2b88acc60348958d76f73751fcb886d Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 26 Oct 2019 18:35:12 -0500 Subject: [PATCH] InputRoll - attempt to put some attributes on public properties. This is a control, public properties without attributes and/or documentation should be avoided --- .../CustomControls/InputRoll/InputRoll.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs b/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs index 4d734c0dd2..9ea372f611 100644 --- a/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs +++ b/BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs @@ -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 /// /// Gets or sets the width of data cells when in Horizontal orientation. /// + [Browsable(false)] + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public int MaxCharactersInHorizontal { get