/// <summary> /// Initializes this instance with default values or values copied from another instance. /// </summary> /// <param name="cloneOptions">If not null, copies its options into this variable.</param> internal OptMouse(OptMouse cloneOptions = null) //don't need public like OptKey { if (cloneOptions != null) { _o = cloneOptions._o; } else { _o.ClickSpeed = 20; //_o.MoveSpeed = 0; _o.ClickSleepFinally = 10; _o.MoveSleepFinally = 10; //_o.Relaxed = false; } }
/// <summary> /// Resets all options. Copies from <see cref="AOpt.Static.Mouse"/>. /// </summary> public void Reset() => _o = AOpt.Static.Mouse._o;
void _Copy(OptWarnings o) { _o = o._o; _disabledWarnings = o._disabledWarnings == null ? null : new List <string>(o._disabledWarnings); }