Преглед на файлове

document the purpose of SDL_SetTextInputRect

shenleban tongying преди 1 година
родител
ревизия
3e6513c773
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 4 2
      include/SDL3/SDL_keyboard.h

+ 4 - 2
include/SDL3/SDL_keyboard.h

@@ -300,8 +300,10 @@ extern DECLSPEC void SDLCALL SDL_ClearComposition(void);
 extern DECLSPEC SDL_bool SDLCALL SDL_TextInputShown(void);
 
 /**
- * Set the rectangle used to type Unicode text inputs.
- *
+ * Set the rectangle used to type Unicode text inputs. Native input methods
+ * will place a window with word suggestions near it, without covering the
+ * text being inputted.
+ * 
  * To start text input in a given location, this function is intended to be
  * called before SDL_StartTextInput, although some platforms support moving
  * the rectangle even while text input (and a composition) is active.