コード例 #1
0
ファイル: MorphModifierUI.cs プロジェクト: via5/Synergy
        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;
        }
コード例 #2
0
        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_);
        }