예제 #1
0
        public UIElement(
            IConstArg arg
            ) : base(
                arg
                )
        {
            thisSelectabilityEngine = new SelectabilityStateEngine(
                this
                );

            thisUIEActivationStateEngine = new UIEActivationStateEngine(
                thisUISystemProcessFactory,
                this,
                arg.activationMode
                );
        }
예제 #2
0
 public UIElement(IUIElementConstArg arg)
 {
     thisUIM                 = arg.uim;
     thisProcessFactory      = arg.processFactory;
     thisUIElementFactory    = arg.uiElementFactory;
     thisUIA                 = arg.uia;
     thisImage               = arg.image;
     thisSelectabilityEngine = new SelectabilityStateEngine(
         thisImage,
         thisUIM
         );
     if (arg.activationMode == ActivationMode.Alpha)
     {
         thisUIA.SetUpCanvasGroupComponent();
     }
     thisUIEActivationStateEngine = new UIEActivationStateEngine(
         thisProcessFactory,
         this,
         arg.activationMode
         );
     /* move this to SetUpUIEReference */
     thisProximateParentScroller = FindProximateParentScroller();
 }