|
@@ -420,11 +420,14 @@ extern SDL_DECLSPEC int SDLCALL SDL_ClearComposition(SDL_Window *window);
|
|
|
/**
|
|
|
* Set the area used to type Unicode text input.
|
|
|
*
|
|
|
- * Native input methods may place a window with word suggestions near the cursor, without covering the text being entered.
|
|
|
+ * Native input methods may place a window with word suggestions near the
|
|
|
+ * cursor, without covering the text being entered.
|
|
|
*
|
|
|
* \param window the window for which to set the text input area.
|
|
|
- * \param rect the SDL_Rect representing the text input area, in window coordinates, or NULL to clear it.
|
|
|
- * \param cursor the offset of the current cursor location relative to `rect->x`, in window coordinates.
|
|
|
+ * \param rect the SDL_Rect representing the text input area, in window
|
|
|
+ * coordinates, or NULL to clear it.
|
|
|
+ * \param cursor the offset of the current cursor location relative to
|
|
|
+ * `rect->x`, in window coordinates.
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|
|
@@ -441,8 +444,10 @@ extern SDL_DECLSPEC int SDLCALL SDL_SetTextInputArea(SDL_Window *window, const S
|
|
|
* This returns the values previously set by SDL_SetTextInputArea().
|
|
|
*
|
|
|
* \param window the window for which to query the text input area.
|
|
|
- * \param rect a pointer to an SDL_Rect filled in with the text input area, may be NULL.
|
|
|
- * \param cursor a pointer to the offset of the current cursor location relative to `rect->x`, may be NULL.
|
|
|
+ * \param rect a pointer to an SDL_Rect filled in with the text input area,
|
|
|
+ * may be NULL.
|
|
|
+ * \param cursor a pointer to the offset of the current cursor location
|
|
|
+ * relative to `rect->x`, may be NULL.
|
|
|
* \returns 0 on success or a negative error code on failure; call
|
|
|
* SDL_GetError() for more information.
|
|
|
*
|