comparison include/SDL_video.h @ 3135:f4e553ec6a62 gsoc2009_IME

Update API, first step: make it build
author Jiang Jiang <gzjjgod@gmail.com>
date Thu, 06 Aug 2009 08:56:48 +0000
parents fef1a835af43
children 962357f325e1
comparison
equal deleted inserted replaced
3134:f896821736fb 3135:f4e553ec6a62
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_rect *rect) 1471 * \fn void SDL_StartTextInput(SDL_WindowID windowID)
1472 * 1472 *
1473 * \brief Start Unicode text input within the given rectangle. 1473 * \brief Start accepting Unicode text input events in given window.
1474 */ 1474 *
1475 extern DECLSPEC void SDLCALL SDL_StartTextInput(SDL_Rect *rect); 1475 * \sa SDL_StopTextInput()
1476 * \sa SDL_SetTextInputRect()
1477 */
1478 extern DECLSPEC void SDLCALL SDL_StartTextInput(SDL_WindowID windowID);
1479
1480 /**
1481 * \fn void SDL_StopTextInput(void)
1482 *
1483 * \brief Stop receiving any text input events.
1484 *
1485 * \sa SDL_StartTextInput()
1486 */
1487 extern DECLSPEC void SDLCALL SDL_StopTextInput(void);
1488
1489 /**
1490 * \fn void SDL_SetTextInputRect(SDL_Rect *rect)
1491 *
1492 * \brief Set the rectangle used to type Unicode text inputs.
1493 *
1494 * \sa SDL_StartTextInput()
1495 */
1496 extern DECLSPEC void SDLCALL SDL_SetTextInputRect(SDL_Rect *rect);
1476 1497
1477 /* Ends C function definitions when using C++ */ 1498 /* Ends C function definitions when using C++ */
1478 #ifdef __cplusplus 1499 #ifdef __cplusplus
1479 /* *INDENT-OFF* */ 1500 /* *INDENT-OFF* */
1480 } 1501 }