mirror of
https://github.com/glfw/glfw.git
synced 2024-12-02 06:47:10 +00:00
Add GLFW_DND_* constants
This commit is contained in:
parent
d3ede7b684
commit
8031534c38
@ -927,6 +927,9 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
#define GLFW_MOUSE_PASSTHROUGH 0x0002000D
|
#define GLFW_MOUSE_PASSTHROUGH 0x0002000D
|
||||||
|
|
||||||
|
// TODO doc
|
||||||
|
#define GLFW_DND_DRAGGING 0x0002000E
|
||||||
|
|
||||||
/*! @brief Framebuffer bit depth hint.
|
/*! @brief Framebuffer bit depth hint.
|
||||||
*
|
*
|
||||||
* Framebuffer bit depth [hint](@ref GLFW_RED_BITS).
|
* Framebuffer bit depth [hint](@ref GLFW_RED_BITS).
|
||||||
@ -1302,6 +1305,25 @@ extern "C" {
|
|||||||
#define GLFW_PLATFORM_NULL 0x00060005
|
#define GLFW_PLATFORM_NULL 0x00060005
|
||||||
/*! @} */
|
/*! @} */
|
||||||
|
|
||||||
|
// TODO doc
|
||||||
|
#define GLFW_DND_NONE 0
|
||||||
|
|
||||||
|
// Drag and drop events
|
||||||
|
#define GLFW_DND_ENTER 0xdd100001
|
||||||
|
#define GLFW_DND_DRAG 0xdd100002
|
||||||
|
#define GLFW_DND_LEAVE 0xdd100003
|
||||||
|
|
||||||
|
// Drag and drop actions
|
||||||
|
// GLFW_DND_NONE
|
||||||
|
#define GLFW_DND_COPY 0xdd200001
|
||||||
|
#define GLFW_DND_LINK 0xdd200002
|
||||||
|
#define GLFW_DND_MOVE 0xdd200004
|
||||||
|
|
||||||
|
// Drag and drop formats
|
||||||
|
// GLFW_DND_NONE
|
||||||
|
#define GLFW_DND_TEXT 0xdd300002
|
||||||
|
#define GLFW_DND_PATHS 0xdd300001
|
||||||
|
|
||||||
#define GLFW_DONT_CARE -1
|
#define GLFW_DONT_CARE -1
|
||||||
|
|
||||||
|
|
||||||
|
@ -58,6 +58,17 @@
|
|||||||
|
|
||||||
#define _GLFW_MESSAGE_SIZE 1024
|
#define _GLFW_MESSAGE_SIZE 1024
|
||||||
|
|
||||||
|
#define _GLFW_DND_MASK 0x000fffff
|
||||||
|
|
||||||
|
#define _GLFW_DND_TEXT_INDEX 1
|
||||||
|
#define _GLFW_DND_PATHS_INDEX 0
|
||||||
|
#define _GLFW_DND_FORMAT_COUNT 2
|
||||||
|
|
||||||
|
#define _GLFW_DND_COPY_INDEX 0
|
||||||
|
#define _GLFW_DND_LINK_INDEX 1
|
||||||
|
#define _GLFW_DND_MOVE_INDEX 2
|
||||||
|
#define _GLFW_DND_ACTION_COUNT 3
|
||||||
|
|
||||||
typedef int GLFWbool;
|
typedef int GLFWbool;
|
||||||
typedef void (*GLFWproc)(void);
|
typedef void (*GLFWproc)(void);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user