Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
        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();
        }
Exemplo n.º 3
0
 public VibratoMenuStrategy(GuiCommandExecutor gui, NodeClick click, Vibrato vib)
     : base(gui, click, EffectType.Vibrato)
 {
     init_wide = vib?.Wide ?? false;
     Wide      = init_wide;
 }
Exemplo n.º 4
0
 public BaseEffectMenuStrategy(GuiCommandExecutor gui, NodeClick c, EffectType t)
 {
     type     = t;
     click    = c;
     executor = gui;
 }
Exemplo n.º 5
0
 public DynamicEffectMouseHandler(IBounds b, GuiCommandExecutor g, IMouseDelegate del)
     : base(g, del, b)
 {
 }
Exemplo n.º 6
0
 public DynamicPartMouseHandler(IBounds b, GuiCommandExecutor executor, IMouseDelegate del) : base(executor, del, b)
 {
 }
Exemplo n.º 7
0
 public DynamicNoteMouseHandler(IBounds b, GuiCommandExecutor e, IMouseDelegate del) : base(e, del, b)
 {
 }
Exemplo n.º 8
0
 public PropertyMenuFactory(GuiCommandExecutor ex)
 {
     Click    = null;
     executor = ex;
 }