Input Roll - implement the gridlines property
This commit is contained in:
parent
5dc7327c1f
commit
338dc124bd
|
@ -87,7 +87,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
[Category("Behavior")]
|
||||
public int CellPadding { get; set; }
|
||||
|
||||
// TODO: implement this
|
||||
/// <summary>
|
||||
/// Displays grid lines around cells
|
||||
/// </summary>
|
||||
|
@ -653,6 +652,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
Gdi.SetSolidPen(Color.Black);
|
||||
Gdi.DrawRectangle(startPoint.X, startPoint.Y, Width, Height);
|
||||
|
||||
if (GridLines)
|
||||
{
|
||||
Gdi.SetSolidPen(SystemColors.ControlLight);
|
||||
if (HorizontalOrientation)
|
||||
{
|
||||
|
@ -692,6 +693,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
Gdi.Line(1, (i * CellHeight) + 1, Width - 2, (i * CellHeight) + 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (QueryItemBkColor != null && UseCustomBackground)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue