/// <summary> /// Initializes a new instance of the <see cref="PopMenuWindowItemDisable" /> class. /// </summary> /// <param name="content">The content.</param> /// <param name="on">The on.</param> /// <param name="popMenu">The pop menu.</param> public PopMenuWindowItemDisable(string content, bool on, PopMenuWindow popMenu) : base(popMenu) { this.IsContent = true; this.Name = content; this.On = on; }
/// <summary> /// Initializes a new instance of the <see cref="PopMenuWindowItemJump"/> class. /// </summary> /// <param name="name">The name.</param> /// <param name="popMenuWindow">The pop menu window.</param> /// <param name="popMenu">The pop menu.</param> public PopMenuWindowItemJump(string name, PopMenuWindow popMenuWindow, PopMenuWindow popMenu) : base(popMenu) { this.menuWindow = popMenuWindow; this.showName = name + "▶"; this.Name = name; this.UpdateShortcutKey(); }
/// <summary> /// Initializes a new instance of the <see cref="PopMenuWindowItem1" /> class. /// </summary> /// <param name="content">The content.</param> /// <param name="on">The on.</param> /// <param name="func">The func.</param> /// <param name="popMenu">The pop menu.</param> public PopMenuWindowItem1(string content, bool on, Action func, PopMenuWindow popMenu) : base(popMenu) { this.func = func; this.IsContent = true; this.Name = content; this.On = on; this.UpdateShortcutKey(); }
/// <summary> /// Initializes a new instance of the <see cref="PopMenuWindowItem2" /> class. /// </summary> /// <param name="content">The content.</param> /// <param name="on">The on.</param> /// <param name="func">The func.</param> /// <param name="userData">The user data.</param> /// <param name="popMenu">The pop menu.</param> public PopMenuWindowItem2(string content, bool on, Action <object> func, object userData, PopMenuWindow popMenu) : base(popMenu) { this.userData = userData; this.func = func; this.IsContent = true; this.Name = content; this.On = on; this.UpdateShortcutKey(); }
public PopMenuWindowContentItem(PopMenuWindow popMenu) { this.PopMenuWindow = popMenu; }