diff options
author | Sam Lantinga <slouken@libsdl.org> | 2010-04-15 22:14:26 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2010-04-15 22:14:26 -0700 |
commit | f9a834156109a4d818569cd81f3b44d17f14eb6c (patch) | |
tree | 503b0a49b076b58e752d2a50dad418673aab657d /include/SDL_events.h | |
parent | 6f34ceab02266d0863a810c25a420addaf3fb14e (diff) |
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
Diffstat (limited to 'include/SDL_events.h')
-rw-r--r-- | include/SDL_events.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/SDL_events.h b/include/SDL_events.h index 640b0096..7a5d42c5 100644 --- a/include/SDL_events.h +++ b/include/SDL_events.h @@ -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 */ |