Added an event when the clipboard is updated, triggered after the window gains the keyboard focus.

This commit is contained in:
Sam Lantinga
2010-07-08 22:54:03 -07:00
parent 8a86c556fd
commit ddf0465549
10 changed files with 172 additions and 1 deletions

View File

@@ -90,6 +90,9 @@ typedef enum
SDL_JOYBUTTONDOWN, /**< Joystick button pressed */
SDL_JOYBUTTONUP, /**< Joystick button released */
/* Clipboard events */
SDL_CLIPBOARDUPDATE = 0x700, /**< The clipboard changed */
/* Obsolete events */
SDL_EVENT_COMPAT1 = 0x7000, /**< SDL 1.2 events for compatibility */
SDL_EVENT_COMPAT2,