Mercurial > sdl-ios-xcode
comparison include/SDL_keyboard.h @ 3280:00cace2d9080
Merged a cleaned up version of Jiang's code changes from Google Summer of Code 2009
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 19 Sep 2009 13:29:40 +0000 |
parents | 99210400e8b9 |
children | d3baf5ac4e37 |
comparison
equal
deleted
inserted
replaced
3279:fd207dce9f94 | 3280:00cace2d9080 |
---|---|
152 * | 152 * |
153 * \sa SDLKey | 153 * \sa SDLKey |
154 */ | 154 */ |
155 extern DECLSPEC const char *SDLCALL SDL_GetKeyName(SDLKey key); | 155 extern DECLSPEC const char *SDLCALL SDL_GetKeyName(SDLKey key); |
156 | 156 |
157 /** | |
158 * \fn void SDL_StartTextInput(void) | |
159 * | |
160 * \brief Start accepting Unicode text input events. | |
161 * | |
162 * \sa SDL_StopTextInput() | |
163 * \sa SDL_SetTextInputRect() | |
164 */ | |
165 extern DECLSPEC void SDLCALL SDL_StartTextInput(void); | |
166 | |
167 /** | |
168 * \fn void SDL_StopTextInput(void) | |
169 * | |
170 * \brief Stop receiving any text input events. | |
171 * | |
172 * \sa SDL_StartTextInput() | |
173 */ | |
174 extern DECLSPEC void SDLCALL SDL_StopTextInput(void); | |
175 | |
176 /** | |
177 * \fn void SDL_SetTextInputRect(SDL_Rect *rect) | |
178 * | |
179 * \brief Set the rectangle used to type Unicode text inputs. | |
180 * | |
181 * \sa SDL_StartTextInput() | |
182 */ | |
183 extern DECLSPEC void SDLCALL SDL_SetTextInputRect(SDL_Rect *rect); | |
184 | |
157 | 185 |
158 /* Ends C function definitions when using C++ */ | 186 /* Ends C function definitions when using C++ */ |
159 #ifdef __cplusplus | 187 #ifdef __cplusplus |
160 /* *INDENT-OFF* */ | 188 /* *INDENT-OFF* */ |
161 } | 189 } |