示例#1
0
		//#define SclX(a) (GameEnv.ScreenResolution.X * ((a)/1920.0))
		//#define SclY(a) (GameEnv.ScreenResolution.Y * ((a)/1080.0))




		internal GraphicUserManager()
		{
			TextureManager = null;
			FirstFrame = new Frame();
			FirstFrame.GuiManager = this;
			FirstFrame.ParentFrame = null;
			FirstFrame.Show_Frame( false );

			// Init MouseOver stack imbrication tables
			Actual_PointedStack = new Frame[1024];
			Previous_PointedStack = new Frame[1024];
			Actual_FocusStack = new Frame[1024];
			Previous_FocusStack = new Frame[1024];
			Actual_StackSize = 0;
			Previous_StackSize = 0;
			Actual_FocusStackSize = 0;
			Previous_FocusStackSize = 0;
			DragingFrame = null;
		}