Summary description for GuiObjects.
示例#1
0
        public static void Update()
        {
            mEditorLogic.Update();

            if (mScene != null)
            {
                mScene.ManageAll();
            }

            #region if there is a mEditorLogic.CurrentEmitter
            if (AppState.Self.CurrentEmitter != null)
            {
                if (GuiData.ActivityWindow.TimedEmitCurrent)
                {
                    AppState.Self.CurrentEmitter.TimedEmit(null);
                }
            }
            #endregion

            if (GuiData.ActivityWindow.TimedEmitAll)
            {
                foreach (Emitter emitter in Emitters)
                {
                    emitter.TimedEmit();
                }
            }

            GuiData.Update();

            UndoManager.EndOfFrameActivity();


            //			if(guiData.propWindow.textureButton.CurrentChain != null)
//				sprMan.AnimateWAnimateWindow(guiData.propWindow.textureButton);
        }
示例#2
0
		//GameForm form;

        #endregion


        public void Initialize()
		{
			#region initialize engine managers and data
			//this.form = form;
			//gameData = GameForm.gameData;
            camera = SpriteManager.Camera;

			guiData = EditorData.guiData;
			#endregion
		}
示例#3
0
        //GameForm form;

        #endregion


        public void Initialize()
        {
            #region initialize engine managers and data
            //this.form = form;
            //gameData = GameForm.gameData;
            camera = SpriteManager.Camera;

            guiData = EditorData.guiData;
            #endregion
        }
示例#4
0
        public static void Initialize()
        {
            #region initialize engine managers and data
            guiData = new GuiData();
            camera  = SpriteManager.Camera;
            cursor  = GuiManager.Cursor;

            SpriteManager.Camera.FarClipPlane = 1800;

            mEditorLogic = new EditorLogic();

            EditorProperties = new EditorProperties();

            #endregion

//            SpriteManager.AddParticleSprite(
//              FlatRedBallServices.Load<Texture2D>("redball.bmp", "PermanentContentManager"));
        }
示例#5
0
        protected override void Initialize()
        {
            Renderer.UseRenderTargets = false;
            FlatRedBallServices.InitializeFlatRedBall(this, graphics);

            LightManager.AddAmbientLight(Color.White);


            IsMouseVisible         = true;
            GuiManager.IsUIEnabled = true;

            FormMethods methods = new FormMethods();

            SpriteManager.Camera.CameraModelCullMode = FlatRedBall.Graphics.CameraModelCullMode.None;

            methods.AllowFileDrop(EditorData.HandleDragDrop);

            EditorData.Initialize();
            GuiData.Initialize();

            ProcessCommandLineArguments();

            base.Initialize();
        }
示例#6
0
        public static void Initialize()
		{
			#region initialize engine managers and data
			guiData = new GuiData();
            camera = SpriteManager.Camera;
            cursor = GuiManager.Cursor;

			SpriteManager.Camera.FarClipPlane = 1800;

            mEditorLogic = new EditorLogic();

            EditorProperties = new EditorProperties();

			#endregion

//            SpriteManager.AddParticleSprite(
  //              FlatRedBallServices.Load<Texture2D>("redball.bmp", "PermanentContentManager"));
		}