mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-01 09:27:39 +00:00
SDL API renaming: *Is* functions
Feedback from @icculus: "IsTablet" uses "is" as a form of "to be" ...like, the actual question is of its nature. The rest is just a superfluous word in the question and it flows as better English with if (RectEmpty) than if (IsRectEmpty) Fixes https://github.com/libsdl-org/SDL/issues/6932
This commit is contained in:
parent
66351fd4ba
commit
ea0c2f55be
34 changed files with 174 additions and 180 deletions
|
@ -201,7 +201,7 @@ void loop()
|
|||
SDLTest_TextWindowAddText(textwin, "%s", event.text.text);
|
||||
break;
|
||||
case SDL_FINGERDOWN:
|
||||
if (SDL_IsTextInputActive()) {
|
||||
if (SDL_TextInputActive()) {
|
||||
SDL_Log("Stopping text input\n");
|
||||
SDL_StopTextInput();
|
||||
} else {
|
||||
|
@ -214,7 +214,7 @@ void loop()
|
|||
if (event.button.button == SDL_BUTTON_LEFT) {
|
||||
done = 1;
|
||||
} else {
|
||||
if (SDL_IsTextInputActive()) {
|
||||
if (SDL_TextInputActive()) {
|
||||
SDL_Log("Stopping text input\n");
|
||||
SDL_StopTextInput();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue