comparison 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
comparison
equal deleted inserted replaced
3131:009bd8f81947 3132:88861448961f
79 extern int SDL_SendKeyboardKey(int index, Uint8 state, SDL_scancode scancode); 79 extern int SDL_SendKeyboardKey(int index, Uint8 state, SDL_scancode scancode);
80 80
81 /* Send keyboard text input for a keyboard at an index */ 81 /* Send keyboard text input for a keyboard at an index */
82 extern int SDL_SendKeyboardText(int index, const char *text); 82 extern int SDL_SendKeyboardText(int index, const char *text);
83 83
84 /* Send editing text for selected range from start to end */
85 extern int SDL_SendEditingText(const char *text, int start, int end);
86
84 /* Shutdown the keyboard subsystem */ 87 /* Shutdown the keyboard subsystem */
85 extern void SDL_KeyboardQuit(void); 88 extern void SDL_KeyboardQuit(void);
86 89
87 #endif /* _SDL_keyboard_c_h */ 90 #endif /* _SDL_keyboard_c_h */
88 91