Пример #1
0
        public static FileDropCallback SetDropCallback(WindowPtr window, FileDropCallback callback)
        {
            var callbacks = GetCallbacks(window);
            var old       = callbacks.fileDrop;

            callbacks.fileDrop = callback;
            glfwSetDropCallback(window, callback);
            CheckError();
            return(old);
        }
Пример #2
0
 public static extern IntPtr glfwSetDropCallback(WindowPtr window, FileDropCallback callback);