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