InputRoll - remove some vestigial code
This commit is contained in:
parent
b230502228
commit
c2b942d9a4
|
@ -31,7 +31,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
private RollColumns _columns = new RollColumns();
|
||||
private bool _horizontalOrientation;
|
||||
private bool _programmaticallyUpdatingScrollBarValues;
|
||||
private int _maxCharactersInHorizontal = 1;
|
||||
|
||||
private int _rowCount;
|
||||
private SizeF _charSize;
|
||||
|
@ -573,21 +572,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
public bool IsPaintDown { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the width of data cells when in Horizontal orientation.
|
||||
/// </summary>
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
public int MaxCharactersInHorizontal
|
||||
{
|
||||
get => _maxCharactersInHorizontal;
|
||||
set
|
||||
{
|
||||
_maxCharactersInHorizontal = value;
|
||||
UpdateCellSize();
|
||||
}
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
public bool RightButtonHeld { get; private set; }
|
||||
|
@ -1949,7 +1933,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
// TODO: Should we round instead of truncate?
|
||||
CellHeight = (int)_charSize.Height + (CellHeightPadding * 2);
|
||||
CellWidth = (int)(_charSize.Width * MaxCharactersInHorizontal) + (CellWidthPadding * 4); // Double the padding for horizontal because it looks better
|
||||
CellWidth = (int)_charSize.Width + (CellWidthPadding * 4); // Double the padding for horizontal because it looks better
|
||||
|
||||
ColumnWidth = CellWidth;
|
||||
ColumnHeight = CellHeight + 2;
|
||||
|
|
|
@ -163,7 +163,6 @@
|
|||
this.BranchView.LagFramesToHide = 0;
|
||||
this.BranchView.LetKeysModifySelection = false;
|
||||
this.BranchView.Location = new System.Drawing.Point(6, 19);
|
||||
this.BranchView.MaxCharactersInHorizontal = 1;
|
||||
this.BranchView.MultiSelect = false;
|
||||
this.BranchView.Name = "BranchView";
|
||||
this.BranchView.RowCount = 0;
|
||||
|
|
|
@ -202,7 +202,6 @@
|
|||
this.MarkerView.LagFramesToHide = 0;
|
||||
this.MarkerView.LetKeysModifySelection = false;
|
||||
this.MarkerView.Location = new System.Drawing.Point(6, 19);
|
||||
this.MarkerView.MaxCharactersInHorizontal = 1;
|
||||
this.MarkerView.MultiSelect = false;
|
||||
this.MarkerView.Name = "MarkerView";
|
||||
this.MarkerView.RowCount = 0;
|
||||
|
|
|
@ -1237,7 +1237,6 @@
|
|||
this.TasView.LagFramesToHide = 0;
|
||||
this.TasView.LetKeysModifySelection = true;
|
||||
this.TasView.Location = new System.Drawing.Point(3, 0);
|
||||
this.TasView.MaxCharactersInHorizontal = 1;
|
||||
this.TasView.MultiSelect = false;
|
||||
this.TasView.Name = "TasView";
|
||||
this.TasView.Rotatable = true;
|
||||
|
|
|
@ -136,7 +136,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
TasView.QueryFrameLag += TasView_QueryFrameLag;
|
||||
TasView.PointedCellChanged += TasView_PointedCellChanged;
|
||||
TasView.MultiSelect = true;
|
||||
TasView.MaxCharactersInHorizontal = 1;
|
||||
LastPositionFrame = -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue