Remove _THIS in src/video and in src/events (also VideoDevice)

This commit is contained in:
Sylvain
2023-05-09 12:55:11 +02:00
committed by Ryan C. Gordon
parent df314ba93e
commit 81ff49f4b5
237 changed files with 1670 additions and 1671 deletions

View File

@@ -524,12 +524,12 @@ static SDL_uikitviewcontroller *GetWindowViewController(SDL_Window *window)
}
SDL_bool
UIKit_HasScreenKeyboardSupport(_THIS)
UIKit_HasScreenKeyboardSupport(SDL_VideoDevice *_this)
{
return SDL_TRUE;
}
void UIKit_ShowScreenKeyboard(_THIS, SDL_Window *window)
void UIKit_ShowScreenKeyboard(SDL_VideoDevice *_this, SDL_Window *window)
{
@autoreleasepool {
SDL_uikitviewcontroller *vc = GetWindowViewController(window);
@@ -537,7 +537,7 @@ void UIKit_ShowScreenKeyboard(_THIS, SDL_Window *window)
}
}
void UIKit_HideScreenKeyboard(_THIS, SDL_Window *window)
void UIKit_HideScreenKeyboard(SDL_VideoDevice *_this, SDL_Window *window)
{
@autoreleasepool {
SDL_uikitviewcontroller *vc = GetWindowViewController(window);
@@ -546,7 +546,7 @@ void UIKit_HideScreenKeyboard(_THIS, SDL_Window *window)
}
SDL_bool
UIKit_IsScreenKeyboardShown(_THIS, SDL_Window *window)
UIKit_IsScreenKeyboardShown(SDL_VideoDevice *_this, SDL_Window *window)
{
@autoreleasepool {
SDL_uikitviewcontroller *vc = GetWindowViewController(window);
@@ -557,7 +557,7 @@ UIKit_IsScreenKeyboardShown(_THIS, SDL_Window *window)
}
}
int UIKit_SetTextInputRect(_THIS, const SDL_Rect *rect)
int UIKit_SetTextInputRect(SDL_VideoDevice *_this, const SDL_Rect *rect)
{
@autoreleasepool {
SDL_uikitviewcontroller *vc = GetWindowViewController(SDL_GetFocusWindow());