Simplify Songmenu (only selected and preview numbers)

More consistent handling of mouse and keyboard selection of songs
This commit is contained in:
Flamefire committed 2014-08-07 19:31:17 +02:00
1 parent f2bd61937f
commit fe60f6f5df
17 files changed
+697 -795

No files matched your search

+9
View File
@@ -132,6 +132,15 @@ namespace VocaluxeLib
if (ctrl)
Mod |= EModifier.Ctrl;
}
/// <summary>
/// Returns true if this is about an arrow key (left, right, up down)
/// </summary>
/// <returns>True if Key is an arrow key</returns>
public bool IsArrowKey()
{
return Key == Keys.Left || Key == Keys.Right || Key == Keys.Up || Key == Keys.Down;
}
}
public struct SMouseEvent