mirror of
				https://github.com/Ryujinx/Opentk.git
				synced 2025-11-04 03:04:52 +00:00 
			
		
		
		
	Obsoleted.
This commit is contained in:
		
							parent
							
								
									64aa98f9c6
								
							
						
					
					
						commit
						97ccade80f
					
				| 
						 | 
					@ -13,8 +13,8 @@ namespace OpenTK.Platform
 | 
				
			||||||
    /// <summary>
 | 
					    /// <summary>
 | 
				
			||||||
    /// Provides methods to 
 | 
					    /// Provides methods to 
 | 
				
			||||||
    /// </summary>
 | 
					    /// </summary>
 | 
				
			||||||
    public interface IMutableWindowInfo : IWindowInfo
 | 
					    public interface IMutableWindowInfo : IWindowInfoOld
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        void CopyInfoFrom(IWindowInfo info);
 | 
					        void CopyInfoFrom(IWindowInfoOld info);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										27
									
								
								Source/OpenTK/Platform/IWindowInfoOld.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								Source/OpenTK/Platform/IWindowInfoOld.cs
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,27 @@
 | 
				
			||||||
 | 
					#region --- License ---
 | 
				
			||||||
 | 
					/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
 | 
				
			||||||
 | 
					 * See license.txt for license info
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					#endregion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					using System;
 | 
				
			||||||
 | 
					using System.Collections.Generic;
 | 
				
			||||||
 | 
					using System.Text;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace OpenTK.Platform
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    /// <summary>
 | 
				
			||||||
 | 
					    /// Provides a platform independent mechanism to interact with System.Windows.Forms.Control,
 | 
				
			||||||
 | 
					    /// System.Windows.Forms.NativeWindow and OpenTK.GameWindow low-level implementation data.
 | 
				
			||||||
 | 
					    /// </summary>
 | 
				
			||||||
 | 
					    [Obsolete("Use OpenTK.Platform.IWindowInfo instead.")]
 | 
				
			||||||
 | 
					    public interface IWindowInfoOld
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        IntPtr Handle { get; }
 | 
				
			||||||
 | 
					        IWindowInfoOld Parent { get; }
 | 
				
			||||||
 | 
					        IWindowInfoOld GetInfoFrom(System.Windows.Forms.Control control);
 | 
				
			||||||
 | 
					        IWindowInfoOld GetInfoFrom(System.Windows.Forms.NativeWindow window);
 | 
				
			||||||
 | 
					        IWindowInfoOld GetInfoFrom(OpenTK.GameWindow window);
 | 
				
			||||||
 | 
					        IWindowInfoOld GetInfoFrom(IWindowInfoOld info);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -11,6 +11,7 @@ using System.Windows.Forms;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace OpenTK.Platform
 | 
					namespace OpenTK.Platform
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
					#if false
 | 
				
			||||||
    /// <summary>
 | 
					    /// <summary>
 | 
				
			||||||
    /// Describes a Windows.Form.Control, Windows.Forms.NativeWindow or OpenTK.GameWindow.
 | 
					    /// Describes a Windows.Form.Control, Windows.Forms.NativeWindow or OpenTK.GameWindow.
 | 
				
			||||||
    /// </summary>
 | 
					    /// </summary>
 | 
				
			||||||
| 
						 | 
					@ -87,7 +88,7 @@ namespace OpenTK.Platform
 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
        /// Gets the parent of the window described by the WindowInfo class.
 | 
					        /// Gets the parent of the window described by the WindowInfo class.
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
        public IWindowInfo Parent
 | 
					        public IWindowInfoOld Parent
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            get { return implementation.Parent; }
 | 
					            get { return implementation.Parent; }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					@ -96,7 +97,7 @@ namespace OpenTK.Platform
 | 
				
			||||||
        /// Updates the WindowInfo to describe the specified Control.
 | 
					        /// Updates the WindowInfo to describe the specified Control.
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
        /// <param name="control">The System.Windows.Forms.Control to describe.</param>
 | 
					        /// <param name="control">The System.Windows.Forms.Control to describe.</param>
 | 
				
			||||||
        public IWindowInfo GetInfoFrom(Control control)
 | 
					        public IWindowInfoOld GetInfoFrom(Control control)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            return implementation.GetInfoFrom(control);
 | 
					            return implementation.GetInfoFrom(control);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					@ -105,7 +106,7 @@ namespace OpenTK.Platform
 | 
				
			||||||
        /// Updates the WindowInfo to describe the specified NativeWindow.
 | 
					        /// Updates the WindowInfo to describe the specified NativeWindow.
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
        /// <param name="window">The System.Windows.Forms.NativeWindow to describe.</param>
 | 
					        /// <param name="window">The System.Windows.Forms.NativeWindow to describe.</param>
 | 
				
			||||||
        public IWindowInfo GetInfoFrom(NativeWindow window)
 | 
					        public IWindowInfoOld GetInfoFrom(NativeWindow window)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            return implementation.GetInfoFrom(window);
 | 
					            return implementation.GetInfoFrom(window);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					@ -114,7 +115,7 @@ namespace OpenTK.Platform
 | 
				
			||||||
        /// Updates the WindowInfo to describe the specified GameWindow.
 | 
					        /// Updates the WindowInfo to describe the specified GameWindow.
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
        /// <param name="window">The OpenTK.GameWindow to describe.</param>
 | 
					        /// <param name="window">The OpenTK.GameWindow to describe.</param>
 | 
				
			||||||
        public IWindowInfo GetInfoFrom(GameWindow window)
 | 
					        public IWindowInfoOld GetInfoFrom(GameWindow window)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            return implementation.GetInfoFrom(window);
 | 
					            return implementation.GetInfoFrom(window);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					@ -123,7 +124,7 @@ namespace OpenTK.Platform
 | 
				
			||||||
        /// Updates the WindowInfo using the specified IWindowInfo.
 | 
					        /// Updates the WindowInfo using the specified IWindowInfo.
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
        /// <param name="window">The OpenTK.Platform.IWindowInfo to get information from.</param>
 | 
					        /// <param name="window">The OpenTK.Platform.IWindowInfo to get information from.</param>
 | 
				
			||||||
        public IWindowInfo GetInfoFrom(IWindowInfo info)
 | 
					        public IWindowInfoOld GetInfoFrom(IWindowInfoOld info)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            return implementation.GetInfoFrom(info);
 | 
					            return implementation.GetInfoFrom(info);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					@ -132,7 +133,7 @@ namespace OpenTK.Platform
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        #region --- IMutableWindowInfo Members ---
 | 
					        #region --- IMutableWindowInfo Members ---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public void CopyInfoFrom(IWindowInfo info)
 | 
					        void IMutableWindowInfo.CopyInfoFrom(IWindowInfoOld info)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            implementation.CopyInfoFrom(info);
 | 
					            implementation.CopyInfoFrom(info);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					@ -149,4 +150,5 @@ namespace OpenTK.Platform
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        #endregion
 | 
					        #endregion
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue