InputRoll - Rip out a debug property in favor of a real one

This commit is contained in:
adelikat 2014-08-23 14:39:16 +00:00
parent b657268b35
commit c61e200161
2 changed files with 1 additions and 25 deletions

View File

@ -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>();

View File

@ -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()