public override IModifier Clone(int cloneFlags = 0) { var m = new StepExtenderModifier(); CopyTo(m, cloneFlags); return(m); }
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)); }
private void CopyTo(StepExtenderModifier m, int cloneFlags) { base.CopyTo(m, cloneFlags); m.holder_ = holder_.Clone(cloneFlags); }