mirror of
				https://github.com/Ryujinx/Opentk.git
				synced 2025-11-04 02:14:47 +00:00 
			
		
		
		
	Turn comments into XML docs. Change NSDragOperation visibility
This commit is contained in:
		
							parent
							
								
									9486b4963b
								
							
						
					
					
						commit
						a3ca402168
					
				| 
						 | 
					@ -2,11 +2,13 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace OpenTK.Platform.MacOS
 | 
					namespace OpenTK.Platform.MacOS
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    // Values for enum : https://developer.apple.com/documentation/appkit/nsdragoperation?language=objc
 | 
					    /// <summary>
 | 
				
			||||||
    // or for Mac users /System/Library/Frameworks/AppKit.framework/Headers
 | 
					    /// Used by draggingSourceOperationMask() <see cref="CocoaNativeWindow.DraggingEntered"/> to get permission for dropped object
 | 
				
			||||||
    // Used by draggingSourceOperationMask(:) to get permission for dropped object
 | 
					    /// also used for respones to drag source
 | 
				
			||||||
    // also used for respones to drag source
 | 
					    /// Values for enum can be found here https://developer.apple.com/documentation/appkit/nsdragoperation?language=objc
 | 
				
			||||||
    enum NSDragOperation : int
 | 
					    /// or for Mac users /System/Library/Frameworks/AppKit.framework/Headers
 | 
				
			||||||
 | 
					    /// </summary>
 | 
				
			||||||
 | 
					    internal enum NSDragOperation : int
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        None = 0,
 | 
					        None = 0,
 | 
				
			||||||
        Copy = 1,
 | 
					        Copy = 1,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1759,7 +1759,9 @@ namespace OpenTK.Platform.SDL2
 | 
				
			||||||
        public Int32 Data2;
 | 
					        public Int32 Data2;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // For detailed info look: https://wiki.libsdl.org/SDL_DropEvent
 | 
					    /// <summary>
 | 
				
			||||||
 | 
					    /// Drop event for SDL2 interop. For detailed info look: https://wiki.libsdl.org/SDL_DropEvent
 | 
				
			||||||
 | 
					    /// </summary>
 | 
				
			||||||
    struct DropEvent
 | 
					    struct DropEvent
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        public UInt32 Type;
 | 
					        public UInt32 Type;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -52,14 +52,20 @@ namespace OpenTK.Platform.X11
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #endregion
 | 
					    #endregion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // X11 has some defined values
 | 
					    /// <summary>
 | 
				
			||||||
    // Whis values are defined with c's #define in X.h
 | 
					    /// X11 has some defined values they are defined with c's #define in X.h
 | 
				
			||||||
 | 
					    /// </summary>
 | 
				
			||||||
    internal static class Consts
 | 
					    internal static class Consts
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        // Universal null resource or null atom
 | 
					        /// <summary>
 | 
				
			||||||
        public static readonly IntPtr None = IntPtr.Zero; // #define None 0L
 | 
					        /// Universal null resource or null atom. From header: #define None 0L
 | 
				
			||||||
        // Special time value
 | 
					        /// </summary>
 | 
				
			||||||
        public static readonly IntPtr CurrentTime = IntPtr.Zero; // #define CurrentTime 0L
 | 
					        public static readonly IntPtr None = IntPtr.Zero;
 | 
				
			||||||
 | 
					        // 
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// Special time value. From header: #define CurrentTime 0L
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        public static readonly IntPtr CurrentTime = IntPtr.Zero; // 
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #region internal static class API
 | 
					    #region internal static class API
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue