public DelayWidgets(int flags = 0) { flags_ = flags; halfway_ = new Checkbox( "Halfway", false, DelayHalfwayChanged, flags); endForwards_ = new Checkbox( "Forwards end", false, DelayForwardsEndChanged, flags); endBackwards_ = new Checkbox( "Backwards end", false, DelayBackwardsEndChanged, flags); sameDelay_ = new Checkbox( "Same delay for all", false, SameDelayChanged, flags); durationWidgets_ = new DurationWidgets( "Delay", SingleDelayTypeChanged, flags); halfwayDurationWidgets_ = new DurationWidgets( "Halfway delay", HalfwayDelayTypeChanged, flags); endForwardsDurationWidgets_ = new DurationWidgets( "End forwards delay", EndForwardsDelayTypeChanged, flags); endBackwardsDurationWidgets_ = new DurationWidgets( "End backwards delay", EndBackwardsDelayTypeChanged, flags); HalfMove = false; }
public AudioModifierUI(MainUI ui) : base(ui, Utilities.AtomCanPlayAudio) { delayCollapsible_ = new Collapsible("Delay", null, Widget.Right); delayWidgets_ = new DurationWidgets("Delay", DelayTypeChanged, Widget.Right); playType_ = new StringList( "Play type", "", PlayTypeStrings(), PlayTypeChanged, Widget.Right); stop_ = new Button("Stop audio", StopAudio, Widget.Right); clips_ = new AudioClipsCheckboxes("Clips", ClipsChanged, Widget.Right); }
public NaturalMorphProgressionUI(int flags) : base(flags) { durationCollapsible_ = new Collapsible( "Natural duration", null, flags_); durationWidgets_ = new DurationWidgets( "Natural", DurationTypeChanged, flags_); delayCollapsible_ = new Collapsible("Natural delay", null, flags_); delayWidgets_ = new DelayWidgets(flags_); delayWidgets_.SupportsHalfMove = false; }
public UnsyncedModifierUI(int flags) : base(flags) { durationCollapsible_ = new Collapsible( "Duration", null, flags_); durationWidgets_ = new DurationWidgets( "Duration", DurationTypeChanged, flags_); delayCollapsible_ = new Collapsible("Delay", null, flags_); delayWidgets_ = new DelayWidgets(flags_); delayWidgets_.SupportsHalfMove = false; copy_ = new ConfirmableButton( "Copy to other unsynced", CopyToAll, flags_); syncToThis_ = new ConfirmableButton( "Sync all to this", SyncToThis, flags_); }