public BendMenuStrategy(GuiCommandExecutor gui, NodeClick click, Bend bend) : base(gui, click, EffectType.Bend) { init_amount = bend?.Amount ?? 1; init_returns = bend?.BendReturns ?? false; Amount = init_amount.ToString(); Returns = init_returns; }
public BPMTimeSigView(CommandSelections s, GuiCommandExecutor e, Selected se, Dictionary <string, string> length_uri, Dictionary <string, string> other_uri, int b, int n, NoteLength bl) { selections = s; executor = e; selected = se; selections.PropertyChanged += handlePropertyChanged; BPM = b; NumBeats = n; BeatType = bl; LengthImages = getLengthImages(length_uri); getOtherImages(other_uri); initCommands(); }
public VibratoMenuStrategy(GuiCommandExecutor gui, NodeClick click, Vibrato vib) : base(gui, click, EffectType.Vibrato) { init_wide = vib?.Wide ?? false; Wide = init_wide; }
public BaseEffectMenuStrategy(GuiCommandExecutor gui, NodeClick c, EffectType t) { type = t; click = c; executor = gui; }
public DynamicEffectMouseHandler(IBounds b, GuiCommandExecutor g, IMouseDelegate del) : base(g, del, b) { }
public DynamicPartMouseHandler(IBounds b, GuiCommandExecutor executor, IMouseDelegate del) : base(executor, del, b) { }
public DynamicNoteMouseHandler(IBounds b, GuiCommandExecutor e, IMouseDelegate del) : base(e, del, b) { }
public PropertyMenuFactory(GuiCommandExecutor ex) { Click = null; executor = ex; }