comparison include/SDL_video.h @ 3136:962357f325e1 gsoc2009_IME

Further polish API, fix crash in test program.
author Jiang Jiang <gzjjgod@gmail.com>
date Thu, 06 Aug 2009 08:59:53 +0000
parents f4e553ec6a62
children
comparison
equal deleted inserted replaced
3135:f4e553ec6a62 3136:962357f325e1
1466 * \sa SDL_GL_CreateContext() 1466 * \sa SDL_GL_CreateContext()
1467 */ 1467 */
1468 extern DECLSPEC void SDLCALL SDL_GL_DeleteContext(SDL_GLContext context); 1468 extern DECLSPEC void SDLCALL SDL_GL_DeleteContext(SDL_GLContext context);
1469 1469
1470 /** 1470 /**
1471 * \fn void SDL_StartTextInput(SDL_WindowID windowID) 1471 * \fn void SDL_StartTextInput(void)
1472 * 1472 *
1473 * \brief Start accepting Unicode text input events in given window. 1473 * \brief Start accepting Unicode text input events.
1474 * 1474 *
1475 * \sa SDL_StopTextInput() 1475 * \sa SDL_StopTextInput()
1476 * \sa SDL_SetTextInputRect() 1476 * \sa SDL_SetTextInputRect()
1477 */ 1477 */
1478 extern DECLSPEC void SDLCALL SDL_StartTextInput(SDL_WindowID windowID); 1478 extern DECLSPEC void SDLCALL SDL_StartTextInput(void);
1479 1479
1480 /** 1480 /**
1481 * \fn void SDL_StopTextInput(void) 1481 * \fn void SDL_StopTextInput(void)
1482 * 1482 *
1483 * \brief Stop receiving any text input events. 1483 * \brief Stop receiving any text input events.
1492 * \brief Set the rectangle used to type Unicode text inputs. 1492 * \brief Set the rectangle used to type Unicode text inputs.
1493 * 1493 *
1494 * \sa SDL_StartTextInput() 1494 * \sa SDL_StartTextInput()
1495 */ 1495 */
1496 extern DECLSPEC void SDLCALL SDL_SetTextInputRect(SDL_Rect *rect); 1496 extern DECLSPEC void SDLCALL SDL_SetTextInputRect(SDL_Rect *rect);
1497
1498 /**
1499 * \fn SDL_WindowID SDL_GetFocusWindow(void)
1500 *
1501 * \brief Get focused window.
1502 */
1503 extern DECLSPEC SDL_WindowID SDLCALL SDL_GetFocusWindow(void);
1497 1504
1498 /* Ends C function definitions when using C++ */ 1505 /* Ends C function definitions when using C++ */
1499 #ifdef __cplusplus 1506 #ifdef __cplusplus
1500 /* *INDENT-OFF* */ 1507 /* *INDENT-OFF* */
1501 } 1508 }