changeset: 4433:25667ea797fa

tag: tip
user: Jiang Jiang <gzjjgod@gmail.com>
date: Thu Apr 15 12:01:46 2010 +0800
summary: Add windowID to text editing event
This commit is contained in:
Sam Lantinga 2010-04-15 22:14:26 -07:00
parent 6f34ceab02
commit f9a8341561
4 changed files with 21 additions and 4 deletions

View file

@ -138,6 +138,7 @@ typedef struct SDL_KeyboardEvent
typedef struct SDL_TextEditingEvent
{
Uint32 type; /**< ::SDL_TEXTEDITING */
Uint32 windowID; /**< The window with keyboard focus, if any */
char text[SDL_TEXTEDITINGEVENT_TEXT_SIZE]; /**< The editing text */
int start; /**< The start cursor of selected editing text */
int length; /**< The length of selected editing text */