Beispiel #1
0
        public override IModifier Clone(int cloneFlags = 0)
        {
            var m = new StepExtenderModifier();

            CopyTo(m, cloneFlags);
            return(m);
        }
Beispiel #2
0
        public override void AddToTopUI(IModifier m)
        {
            modifier_ = m as StepExtenderModifier;
            if (modifier_ == null)
            {
                return;
            }

            AddAtomWidgets(m);
            widgets_.AddToUI(types_);
            storableWidgets_.AddToUI(modifier_.Holder);

            widgets_.AddToUI(new LargeSpacer(Widget.Right));
            widgets_.AddToUI(new LargeSpacer(Widget.Right));
            widgets_.AddToUI(new LargeSpacer(Widget.Right));
        }
Beispiel #3
0
 private void CopyTo(StepExtenderModifier m, int cloneFlags)
 {
     base.CopyTo(m, cloneFlags);
     m.holder_ = holder_.Clone(cloneFlags);
 }