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;
 }
Example #5
0
 public DynamicEffectMouseHandler(IBounds b, GuiCommandExecutor g, IMouseDelegate del)
     : base(g, del, b)
 {
 }
Example #6
0
 public DynamicPartMouseHandler(IBounds b, GuiCommandExecutor executor, IMouseDelegate del) : base(executor, del, b)
 {
 }
Example #7
0
 public DynamicNoteMouseHandler(IBounds b, GuiCommandExecutor e, IMouseDelegate del) : base(e, del, b)
 {
 }
Example #8
0
 public PropertyMenuFactory(GuiCommandExecutor ex)
 {
     Click    = null;
     executor = ex;
 }