diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs index f497fbf6e1..c283a5f659 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs @@ -481,7 +481,7 @@ namespace BizHawk.Client.EmuHawk return (int)((width - ColumnWidth) / CellWidth); } - var height = DrawHeight - (NeedsHScrollbar ? HBar.Height : 0); + var height = DrawHeight - (NeedsHScrollbar ? HBar.Height : (CellHeight -1)); return ((int)height / CellHeight) - 1; // adelikat: -1 to compensate for what this math should be doing anyway, TODO: figure out why it doesn't work without it? } @@ -700,6 +700,19 @@ namespace BizHawk.Client.EmuHawk } } + // Emphasis + foreach (var column in Columns.Where(c => c.Emphasis)) + { + if (HorizontalOrientation) + { + + } + else + { + + } + } + // If the user is hovering over a column if (IsHoveringOnColumnCell) { @@ -1741,6 +1754,11 @@ namespace BizHawk.Client.EmuHawk public string Name { get; set; } public string Text { get; set; } public InputType Type { get; set; } + + /// + /// Column will be drawn with an emphasized look, if true + /// + public bool Emphasis { get; set; } } ///