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

            CopyTo(m, cloneFlags);
            return(m);
        }
示例#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));
        }
示例#3
0
 private void CopyTo(StepExtenderModifier m, int cloneFlags)
 {
     base.CopyTo(m, cloneFlags);
     m.holder_ = holder_.Clone(cloneFlags);
 }