mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-16 06:45:59 +00:00
Remove _THIS in src/video and in src/events (also VideoDevice)
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user