mirror of https://github.com/encounter/SDL.git
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:
parent
5d89217f6b
commit
5da796fe52
|
@ -185,8 +185,6 @@ void OS2_InitMouse(_THIS, ULONG hab)
|
||||||
SDL_SetDefaultCursor( OS2_CreateSystemCursor( SDL_SYSTEM_CURSOR_ARROW ) );
|
SDL_SetDefaultCursor( OS2_CreateSystemCursor( SDL_SYSTEM_CURSOR_ARROW ) );
|
||||||
if ( hptrCursor == NULLHANDLE )
|
if ( hptrCursor == NULLHANDLE )
|
||||||
hptrCursor = WinQuerySysPointer( HWND_DESKTOP, SPTR_ARROW, TRUE );
|
hptrCursor = WinQuerySysPointer( HWND_DESKTOP, SPTR_ARROW, TRUE );
|
||||||
|
|
||||||
SDL_SetDoubleClickTime( WinQuerySysValue( HWND_DESKTOP, SV_DBLCLKTIME ) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void OS2_QuitMouse(_THIS)
|
void OS2_QuitMouse(_THIS)
|
||||||
|
|
|
@ -1717,8 +1717,8 @@ static SDL_VideoDevice *OS2_CreateDevice(int devindex)
|
||||||
device->GetDisplayModes = OS2_GetDisplayModes;
|
device->GetDisplayModes = OS2_GetDisplayModes;
|
||||||
device->SetDisplayMode = OS2_SetDisplayMode;
|
device->SetDisplayMode = OS2_SetDisplayMode;
|
||||||
device->PumpEvents = OS2_PumpEvents;
|
device->PumpEvents = OS2_PumpEvents;
|
||||||
device->CreateWindow = OS2_CreateWindow;
|
device->CreateSDLWindow = OS2_CreateWindow;
|
||||||
device->CreateWindowFrom = OS2_CreateWindowFrom;
|
device->CreateSDLWindowFrom = OS2_CreateWindowFrom;
|
||||||
device->DestroyWindow = OS2_DestroyWindow;
|
device->DestroyWindow = OS2_DestroyWindow;
|
||||||
device->SetWindowTitle = OS2_SetWindowTitle;
|
device->SetWindowTitle = OS2_SetWindowTitle;
|
||||||
device->SetWindowIcon = OS2_SetWindowIcon;
|
device->SetWindowIcon = OS2_SetWindowIcon;
|
||||||
|
|
Loading…
Reference in New Issue