InputRoll - Rip out a debug property in favor of a real one
This commit is contained in:
parent
b657268b35
commit
c61e200161
|
@ -12,30 +12,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
public class InputRoll : Control
|
||||
{
|
||||
// TODO: temporary hack for debugging and testing, sould be removed before being "shipped"
|
||||
public int ScrollPos
|
||||
{
|
||||
get
|
||||
{
|
||||
if (HorizontalOrientation)
|
||||
{
|
||||
if (NeedsHScrollbar)
|
||||
{
|
||||
return HBar.Value;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (NeedsVScrollbar)
|
||||
{
|
||||
return VBar.Value;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
private readonly GDIRenderer Gdi;
|
||||
private readonly RollColumns _columns = new RollColumns();
|
||||
private readonly List<Cell> SelectedItems = new List<Cell>();
|
||||
|
|
|
@ -26,7 +26,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
Watches.UpdateValues();
|
||||
InputView.Refresh();
|
||||
ScrollBarValueTable.Text = InputView.ScrollPos.ToString();
|
||||
ScrollBarValueTable.Text = InputView.ScrollPosition.ToString();
|
||||
}
|
||||
|
||||
public void FastUpdate()
|
||||
|
|
Loading…
Reference in New Issue