Virtual pad button - slight ui tweak

This commit is contained in:
adelikat 2014-06-24 16:49:23 +00:00
parent 118d69a669
commit 22dc432199
1 changed files with 13 additions and 0 deletions

View File

@ -39,6 +39,19 @@ namespace BizHawk.Client.EmuHawk
base.WndProc(ref m);
}
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
if (RightClicked)
{
ControlPaint.DrawBorder(e.Graphics, ClientRectangle,
SystemColors.HotTrack, 1, ButtonBorderStyle.Inset,
SystemColors.HotTrack, 1, ButtonBorderStyle.Inset,
SystemColors.HotTrack, 1, ButtonBorderStyle.Inset,
SystemColors.HotTrack, 1, ButtonBorderStyle.Inset);
}
}
public bool RightClicked
{
get