os/2: port from SDL2-2.0.5 to SDL2-2.0.12

- events / video: SDL_SetDoubleClickTime() removed -- functionality
         moved to SDL_mouse.c:SDL_MouseDoubleClickTimeChanged().
- video: struct SDL_VideoDevice-> CreateWindow and CreateWindowFrom
         members renamed to CreateSDLWindow and CreateSDLWindowFrom
This commit is contained in:
Ozkan Sezer 2020-10-14 23:01:03 +03:00
parent 5d89217f6b
commit 5da796fe52
2 changed files with 2 additions and 4 deletions

View File

@ -185,8 +185,6 @@ void OS2_InitMouse(_THIS, ULONG hab)
SDL_SetDefaultCursor( OS2_CreateSystemCursor( SDL_SYSTEM_CURSOR_ARROW ) );
if ( hptrCursor == NULLHANDLE )
hptrCursor = WinQuerySysPointer( HWND_DESKTOP, SPTR_ARROW, TRUE );
SDL_SetDoubleClickTime( WinQuerySysValue( HWND_DESKTOP, SV_DBLCLKTIME ) );
}
void OS2_QuitMouse(_THIS)

View File

@ -1717,8 +1717,8 @@ static SDL_VideoDevice *OS2_CreateDevice(int devindex)
device->GetDisplayModes = OS2_GetDisplayModes;
device->SetDisplayMode = OS2_SetDisplayMode;
device->PumpEvents = OS2_PumpEvents;
device->CreateWindow = OS2_CreateWindow;
device->CreateWindowFrom = OS2_CreateWindowFrom;
device->CreateSDLWindow = OS2_CreateWindow;
device->CreateSDLWindowFrom = OS2_CreateWindowFrom;
device->DestroyWindow = OS2_DestroyWindow;
device->SetWindowTitle = OS2_SetWindowTitle;
device->SetWindowIcon = OS2_SetWindowIcon;