コード例 #1
0
        public CameraPropertiesWindow(ReactiveHud reactiveHud)
        {
            InitializeComponent();

            this.DataUiGrid.Instance = Camera.Main;

            mTimer = new DispatcherTimer();
            mTimer.Interval = TimeSpan.FromMilliseconds(100);
            mTimer.Start();
            mTimer.Tick += HandleTimerTick2;

            this.DataUiGrid.IgnoreAllMembers();

            this.DataUiGrid.MembersToIgnore.Remove("Orthogonal");



            this.DataUiGrid.PropertyChange += HandlePropertyChange;
            this.BoundsDataUiGrid.PropertyChange += HandlePropertyChange;

            mBoundsVm = new CameraBoundsViewModel(
                reactiveHud.CameraBounds);
            BoundsDataUiGrid.Instance = mBoundsVm;

        }
コード例 #2
0
        public ReactiveHud()
        {
            mCameraBounds = new CameraBounds(EditorData.BoundsCamera);

            mSplineMover = new SplineMover();

            mCurrentSplinePointMarker = new SplinePointSelectionMarker();

            mSelf = this;
        }
コード例 #3
0
ファイル: ReactiveHud.cs プロジェクト: vchelaru/FlatRedBall
        public ReactiveHud()
        {
            mCameraBounds = new CameraBounds(EditorData.BoundsCamera);

            mSplineMover = new SplineMover();

            mCurrentSplinePointMarker = new SplinePointSelectionMarker();

            mSelf = this;
        }