Example #1
0
 public override XmlElement ToXML(XmlDocument xmldoc)
 {
     if (_actualArg == null)
     {
         _actualArg = new ReversalColorArg();
     }
     return(_actualArg.ToXML(xmldoc));
 }
Example #2
0
 void frmLogEnhance_Load(object sender, EventArgs e)
 {
     _actualArg        = _arg as ReversalColorArg;
     _actualArg.ApplyR = true;
     _actualArg.ApplyG = true;
     _actualArg.ApplyB = true;
     _env.CanvasRefreshSubscribers.Add(_refreshSubscriber);
     TryApply();
 }
Example #3
0
 public override void CreateDefaultArguments()
 {
     _arg = new ReversalColorArg();
 }
Example #4
0
 protected override void BeforeProcess()
 {
     _actualArg = _arg as ReversalColorArg;
 }
Example #5
0
        public override RgbProcessorArg Clone()
        {
            ReversalColorArg arg = new ReversalColorArg();

            return(arg);
        }