Esempio n. 1
0
        public override void StartUp()
        {
            boundsLogic = new CameraControlsPlugin.BoundsLogic();


            GlueViewCommands.Self.CollapsibleFormCommands.AddCollapsableForm(
                "Camera", -1, new CameraControl(), this);

            this.ElementLoaded += HandleElementLoaded;
        }
Esempio n. 2
0
        public override void StartUp()
        {
            boundsLogic = new CameraControlsPlugin.BoundsLogic();

            guidesViewModel = new CameraViewModel();
            guidesViewModel.PropertyChanged += HandleGuidesPropertyChanged;

            guidesViewModel.CellSize = 20;

            cameraControl = new CameraControl(guidesViewModel);

            GlueViewCommands.Self.CollapsibleFormCommands.AddCollapsableForm(
                "Camera", -1, cameraControl, this);

            this.ElementLoaded += HandleElementLoaded;

            this.Update         += HandleUpdate;
            this.ElementRemoved += HandleElementRemoved;
        }