diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs index fdc7e837f8..e26ad2f139 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs @@ -245,7 +245,20 @@ namespace BizHawk.Client.EmuHawk { if (HorizontalOrientation) { - + var visibleRows = (Width - _horizontalOrientedColumnWidth) / CellWidth; + for (int i = 0; i < visibleRows; i++) + { + for (int j = 0; j < Columns.Count; j++) + { + string text; + int x = _horizontalOrientedColumnWidth + CellPadding + (CellWidth * i); + int y = j * CellHeight; + var point = new Point(x, y); + QueryItemText(i, j, out text); + gdi.PrepDrawString(text, this.Font, this.ForeColor, point); + gdi.DrawString(text, this.Font, point); + } + } } else { diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TasStudioExperiment.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TasStudioExperiment.cs index 5080560e79..c612a0c649 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TasStudioExperiment.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TasStudioExperiment.cs @@ -63,8 +63,9 @@ namespace BizHawk.Client.EmuHawk private void TasView_QueryItemText(int index, int column, out string text) { - //text = r.NextDouble() > .5 ? "_" : ""; + text = r.NextDouble() > .5 ? "_" : ""; + /* text = string.Empty; if (index >= Watches.ItemCount || Watches[index].IsSeparator) @@ -102,6 +103,7 @@ namespace BizHawk.Client.EmuHawk text = Watches[index].Notes; break; } + */ } private void TasView_QueryItemBkColor(int index, int column, ref Color color) @@ -111,6 +113,7 @@ namespace BizHawk.Client.EmuHawk private void TasStudioExperiment_Load(object sender, EventArgs e) { + /* for (int i = 0; i < 20; i++) { Watches.Add(new ByteWatch(Watches.Domain, 0x0057, Watch.DisplayType.Signed, false, "Speed")); @@ -161,9 +164,9 @@ namespace BizHawk.Client.EmuHawk Text = "Notes" }, }); + */ - - /* + InputView.AddColumns(new [] { new RollColumn @@ -237,7 +240,6 @@ namespace BizHawk.Client.EmuHawk Type = RollColumn.InputType.Boolean }, }); - */ } private void settingsToolStripMenuItem_DropDownOpened(object sender, EventArgs e)