| 1234567891011121314151617181920 |
- using System.Runtime.InteropServices;
- using BansheeEngine;
- namespace BansheeEditor
- {
- [StructLayout(LayoutKind.Sequential)]
- public struct ShortcutKey
- {
- public ButtonModifier modifier;
- public ButtonCode key;
- public ShortcutKey(ButtonModifier modifier, ButtonCode key)
- {
- this.modifier = modifier;
- this.key = key;
- }
- public static ShortcutKey None = new ShortcutKey(ButtonModifier.None, ButtonCode.Unassigned);
- }
- }
|