Author: dhudson
Date: 2006-11-26 04:14:39 -0500 (Sun, 26 Nov 2006)
New Revision: 68470

Modified:
   trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/GameTime.cs
   trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/GraphicsDeviceManager.cs
Log:
stub out a few more

Modified: trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/GameTime.cs
===================================================================
--- trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/GameTime.cs 2006-11-26 
09:06:07 UTC (rev 68469)
+++ trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/GameTime.cs 2006-11-26 
09:14:39 UTC (rev 68470)
@@ -24,24 +24,29 @@
 SOFTWARE.
 */
 #endregion License
-
-
 using System;
-using System.Collections.Generic;
-using System.Text;
 
 namespace Microsoft.Xna.Framework
 {
-    /// <summary>
-    /// 
-    /// </summary>
+    
     public class GameTime
     {
-        /// <summary>
-        /// 
-        /// </summary>
-        public GameTime()
-        {
-        }
+        
+        public GameTime(){ throw new NotImplementedException(); }
+        
+        public GameTime(TimeSpan totalRealTime, TimeSpan elapsedRealTime, 
TimeSpan totalGameTime, TimeSpan elapsedGameTime){ throw new 
NotImplementedException(); }
+        
+        public GameTime(TimeSpan totalRealTime, TimeSpan elapsedRealTime, 
TimeSpan totalGameTime, TimeSpan elapsedGameTime, bool isRunningSlowly){ throw 
new NotImplementedException(); }
+
+        
+        public TimeSpan ElapsedGameTime { get{ throw new 
NotImplementedException(); } }
+        
+        public TimeSpan ElapsedRealTime { get{ throw new 
NotImplementedException(); } }
+        
+        public bool IsRunningSlowly { get{ throw new 
NotImplementedException(); } }
+        
+        public TimeSpan TotalGameTime { get{ throw new 
NotImplementedException(); } }
+        
+        public TimeSpan TotalRealTime { get{ throw new 
NotImplementedException(); } }
     }
-}
+}
\ No newline at end of file

Modified: 
trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/GraphicsDeviceManager.cs
===================================================================
--- trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/GraphicsDeviceManager.cs    
2006-11-26 09:06:07 UTC (rev 68469)
+++ trunk/Mono.Xna/src/Microsoft.Xna.Framework.Game/GraphicsDeviceManager.cs    
2006-11-26 09:14:39 UTC (rev 68470)
@@ -25,29 +25,112 @@
 */
 #endregion License
 
+using Microsoft.Xna.Framework.Graphics;
 using System;
 using System.Collections.Generic;
-using System.Text;
-using Microsoft.Xna.Framework.Graphics;
 
 namespace Microsoft.Xna.Framework
 {
-    public class GraphicsDeviceManager
+    
+    public class GraphicsDeviceManager : IGraphicsDeviceService, IDisposable, 
IGraphicsDeviceManager
     {
-        Game game;
-        GraphicsDevice graphicsDevice;
+        
+        public static readonly int DefaultBackBufferHeight;
+        
+        public static readonly int DefaultBackBufferWidth;
+        
+        public static readonly SurfaceFormat[] ValidAdapterFormats;
+        
+        public static readonly SurfaceFormat[] ValidBackBufferFormats;
+        
+        public static readonly DeviceType[] ValidDeviceTypes;
 
-        public GraphicsDeviceManager(Game game)
+        
+        public GraphicsDeviceManager(Game game){ throw new 
NotImplementedException(); }
+
+        
+        public GraphicsDevice GraphicsDevice { get{ throw new 
NotImplementedException(); } }
+        
+        public bool IsFullScreen { get{ throw new NotImplementedException(); } 
set{ throw new NotImplementedException(); } }
+        
+        public ShaderProfile MinimumPixelShaderProfile { get{ throw new 
NotImplementedException(); } set{ throw new NotImplementedException(); } }
+        
+        public ShaderProfile MinimumVertexShaderProfile { get{ throw new 
NotImplementedException(); } set{ throw new NotImplementedException(); } }
+        
+        public bool PreferMultiSampling { get{ throw new 
NotImplementedException(); } set{ throw new NotImplementedException(); } }
+        
+        public SurfaceFormat PreferredBackBufferFormat { get{ throw new 
NotImplementedException(); } set{ throw new NotImplementedException(); } }
+        
+        public int PreferredBackBufferHeight { get{ throw new 
NotImplementedException(); } set{ throw new NotImplementedException(); } }
+        
+        public int PreferredBackBufferWidth { get{ throw new 
NotImplementedException(); } set{ throw new NotImplementedException(); } }
+        
+        public DepthFormat PreferredDepthStencilFormat { get{ throw new 
NotImplementedException(); } set{ throw new NotImplementedException(); } }
+        
+        public bool SynchronizeWithVerticalRetrace { get{ throw new 
NotImplementedException(); } set{ throw new NotImplementedException(); } }
+
+        
+        public event EventHandler DeviceCreated;
+        
+        public event EventHandler DeviceDisposing;
+        
+        public event EventHandler DeviceReset;
+        
+        public event EventHandler DeviceResetting;
+        
+        public event EventHandler Disposed;
+
+        public event EventHandler<PreparingDeviceSettingsEventArgs> 
PreparingDeviceSettings;
+
+        
+        public void ApplyChanges(){ throw new NotImplementedException(); }
+        
+        protected virtual bool CanResetDevice(GraphicsDeviceInformation 
newDeviceInfo){ throw new NotImplementedException(); }
+        
+        protected virtual void Dispose(bool disposing){ throw new 
NotImplementedException(); }
+        
+        protected virtual GraphicsDeviceInformation FindBestDevice(bool 
anySuitableDevice){ throw new NotImplementedException(); }
+        
+        protected virtual void OnDeviceCreated(object sender, EventArgs args){ 
throw new NotImplementedException(); }
+        
+        protected virtual void OnDeviceDisposing(object sender, EventArgs 
args){ throw new NotImplementedException(); }
+        
+        protected virtual void OnDeviceReset(object sender, EventArgs args){ 
throw new NotImplementedException(); }
+        
+        protected virtual void OnDeviceResetting(object sender, EventArgs 
args){ throw new NotImplementedException(); }
+        
+        protected virtual void OnPreparingDeviceSettings(object sender, 
PreparingDeviceSettingsEventArgs args){ throw new NotImplementedException(); }
+        
+        protected virtual void RankDevices(List<GraphicsDeviceInformation> 
foundDevices){ throw new NotImplementedException(); }
+        
+        public void ToggleFullScreen(){ throw new NotImplementedException(); }
+
+        #region IDisposable Members
+
+        public void Dispose()
         {
-            this.game = game;
+            throw new Exception("The method or operation is not implemented.");
         }
 
-        public GraphicsDevice GraphicsDevice
+        #endregion
+
+        #region IGraphicsDeviceManager Members
+
+        public bool BeginDraw()
         {
-            get
-            {
-                return this.graphicsDevice;
-            }
+            throw new Exception("The method or operation is not implemented.");
         }
+
+        public void CreateDevice()
+        {
+            throw new Exception("The method or operation is not implemented.");
+        }
+
+        public void EndDraw()
+        {
+            throw new Exception("The method or operation is not implemented.");
+        }
+
+        #endregion
     }
 }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to