include/SDL_events.h
changeset 4434 5c64052fb476
parent 4429 faa9fc8e7f67
child 4435 e953700da4ca
equal deleted inserted replaced
4433:9fa97c6b0014 4434:5c64052fb476
   136  *  \brief Keyboard text editing event structure (event.edit.*)
   136  *  \brief Keyboard text editing event structure (event.edit.*)
   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     char text[SDL_TEXTEDITINGEVENT_TEXT_SIZE];  /**< The editing text */
   142     char text[SDL_TEXTEDITINGEVENT_TEXT_SIZE];  /**< The editing text */
   142     int start;                                  /**< The start cursor of selected editing text */
   143     int start;                                  /**< The start cursor of selected editing text */
   143     int length;                                 /**< The length of selected editing text */
   144     int length;                                 /**< The length of selected editing text */
   144 } SDL_TextEditingEvent;
   145 } SDL_TextEditingEvent;
   145 
   146