Mercurial > sdl-ios-xcode
diff src/events/SDL_keyboard_c.h @ 3132:88861448961f gsoc2009_IME
Add SDL_TEXTEDTING event to inform application about marked text.
author | Jiang Jiang <gzjjgod@gmail.com> |
---|---|
date | Wed, 01 Jul 2009 07:33:58 +0000 |
parents | 99210400e8b9 |
children | 64ce267332c6 |
line wrap: on
line diff
--- a/src/events/SDL_keyboard_c.h Wed Jul 01 05:52:17 2009 +0000 +++ b/src/events/SDL_keyboard_c.h Wed Jul 01 07:33:58 2009 +0000 @@ -81,6 +81,9 @@ /* Send keyboard text input for a keyboard at an index */ extern int SDL_SendKeyboardText(int index, const char *text); +/* Send editing text for selected range from start to end */ +extern int SDL_SendEditingText(const char *text, int start, int end); + /* Shutdown the keyboard subsystem */ extern void SDL_KeyboardQuit(void);