comparison include/SDL_events.h @ 4435:e953700da4ca

Minor cleanup on Jiang's patch
author Sam Lantinga <slouken@libsdl.org>
date Thu, 15 Apr 2010 22:27:01 -0700
parents 5c64052fb476
children 3e69e077cb95 49a97daea6ec
comparison
equal deleted inserted replaced
4434:5c64052fb476 4435:e953700da4ca
137 */ 137 */
138 typedef struct SDL_TextEditingEvent 138 typedef struct SDL_TextEditingEvent
139 { 139 {
140 Uint32 type; /**< ::SDL_TEXTEDITING */ 140 Uint32 type; /**< ::SDL_TEXTEDITING */
141 Uint32 windowID; /**< The window with keyboard focus, if any */ 141 Uint32 windowID; /**< The window with keyboard focus, if any */
142 Uint8 which; /**< The keyboard device index */
142 char text[SDL_TEXTEDITINGEVENT_TEXT_SIZE]; /**< The editing text */ 143 char text[SDL_TEXTEDITINGEVENT_TEXT_SIZE]; /**< The editing text */
143 int start; /**< The start cursor of selected editing text */ 144 int start; /**< The start cursor of selected editing text */
144 int length; /**< The length of selected editing text */ 145 int length; /**< The length of selected editing text */
145 } SDL_TextEditingEvent; 146 } SDL_TextEditingEvent;
146 147