mirror of
https://github.com/glfw/glfw.git
synced 2026-09-19 15:25:50 +00:00
Initial drag and drop support.
This commit is contained in:
@@ -239,6 +239,7 @@ struct _GLFWwindow
|
||||
GLFWscrollfun scroll;
|
||||
GLFWkeyfun key;
|
||||
GLFWcharfun character;
|
||||
GLFWdropfun drop;
|
||||
} callbacks;
|
||||
|
||||
// This is defined in the window API's platform.h
|
||||
@@ -678,6 +679,14 @@ void _glfwInputMonitorChange(void);
|
||||
*/
|
||||
void _glfwInputError(int error, const char* format, ...);
|
||||
|
||||
/*! @brief Notifies dropped object over window.
|
||||
* @param[in] window The window that received the event.
|
||||
* @param[in] dropString The string descriptor of the dropped object
|
||||
* description.
|
||||
* @ingroup event
|
||||
*/
|
||||
void _glfwInputDrop(_GLFWwindow* window, const char* dropString);
|
||||
|
||||
|
||||
//========================================================================
|
||||
// Utility functions
|
||||
|
||||
Reference in New Issue
Block a user