Exemple #1
0
        public void Initialize(WireframeEditControl editControl, WireframeControl wireframeControl)
        {
            mWireframeControl = wireframeControl;
            mWireframeControl.AfterXnaInitialize += HandleAfterXnaIntiailize;

            mWireframeControl.KeyDown += HandleKeyPress;

            mEditControl              = editControl;
            mEditControl.ZoomChanged += HandleControlZoomChange;

            gueManager = new GraphicalUiElementManager();
        }
Exemple #2
0
        public void Initialize(WireframeEditControl editControl, WireframeControl wireframeControl, System.Windows.Forms.Cursor addCursor)
        {
            AddCursor = addCursor;

            mWireframeControl = wireframeControl;
            mWireframeControl.AfterXnaInitialize += HandleAfterXnaIntiailize;

            mWireframeControl.KeyDown += HandleKeyPress;

            mEditControl              = editControl;
            mEditControl.ZoomChanged += HandleControlZoomChange;

            gueManager = new GraphicalUiElementManager();
        }