diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs index 7443c7d613..105dc7df44 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs @@ -79,6 +79,12 @@ namespace BizHawk.Client.EmuHawk [Category("Behavior")] public bool AllowColumnReorder { get; set; } + /// + /// Indicates whether the entire row will always be selected + /// + [Category("Appearance")] + public bool FullRowSelect { get; set; } + #endregion #region Event Handlers @@ -147,6 +153,21 @@ namespace BizHawk.Client.EmuHawk return string.Empty; // TODO } + [Browsable(false)] + [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] + public int VisibleRows + { + get + { + if (HorizontalOrientation) + { + return (Width - _horizontalOrientedColumnWidth) / CellWidth; + } + + return (Height / CellHeight) - 1; + } + } + public void AddColumns(IEnumerable columns) { Columns.AddRange(columns);