Home
last modified time | relevance | path

Searched refs:relative_mode (Results 1 – 12 of 12) sorted by relevance

/AliOS-Things-master/components/SDL2/src/events/
A DSDL_mouse.c360 if (mouse->relative_mode) {
395 if (!mouse->relative_mode) {
432 if (mouse->cursor_shown && !mouse->relative_mode &&
794 if (enabled == mouse->relative_mode) {
812 mouse->relative_mode = enabled;
847 return mouse->relative_mode;
1030 if (cursor && mouse->cursor_shown && !mouse->relative_mode) {
A DSDL_mouse_c.h87 SDL_bool relative_mode; member
/AliOS-Things-master/components/SDL2/src/main/haiku/
A DSDL_BApp.h238 if (SDL_GetMouse()->relative_mode) { in _HandleMouseMove()
244 SDL_SendMouseMotion(win, 0, SDL_GetMouse()->relative_mode, dx, dy); in _HandleMouseMove()
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11xinput2.c184 if (!mouse->relative_mode || mouse->relative_mode_warp) { in X11_HandleXinput2Event()
217 if(!mouse->relative_mode || mouse->relative_mode_warp) { in X11_HandleXinput2Event()
A DSDL_x11events.c782 if (!mouse->relative_mode) { in X11_DispatchEvent()
799 if (!SDL_GetMouse()->relative_mode) { in X11_DispatchEvent()
1133 if(!mouse->relative_mode || mouse->relative_mode_warp) { in X11_DispatchEvent()
/AliOS-Things-master/components/SDL2/src/video/cocoa/
A DSDL_cocoamouse.m236 if (!mouse->relative_mode) {
243 if (!mouse->relative_mode) {
393 if (!mouse->relative_mode) {
A DSDL_cocoamousetap.m89 if (mouse->relative_mode) {
A DSDL_cocoawindow.m516 if (mouse->relative_mode && !mouse->relative_mode_warp && mouse->focus == _data->window) {
633 if (mouse->relative_mode && !mouse->relative_mode_warp && ![self isMoving]) {
638 if (!mouse->relative_mode) {
666 if (mouse->relative_mode && !mouse->relative_mode_warp) {
1092 if (mouse->relative_mode) {
1341 if (mouse->cursor_shown && mouse->cur_cursor && !mouse->relative_mode) {
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsevents.c539 if (!mouse->relative_mode || mouse->relative_mode_warp) { in WIN_WindowProc()
576 if (!mouse->relative_mode || mouse->relative_mode_warp) { in WIN_WindowProc()
591 const SDL_bool isRelative = mouse->relative_mode || mouse->relative_mode_warp; in WIN_WindowProc()
674 …if (SDL_GetMouseFocus() == data->window && !SDL_GetMouse()->relative_mode && !(data->window->flags… in WIN_WindowProc()
A DSDL_windowswindow.c936 if ((mouse->relative_mode || (window->flags & SDL_WINDOW_INPUT_GRABBED)) && in WIN_UpdateClipCursor()
938 if (mouse->relative_mode && !mouse->relative_mode_warp) { in WIN_UpdateClipCursor()
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_video.c2588 if ((SDL_GetMouse()->relative_mode || (window->flags & SDL_WINDOW_INPUT_GRABBED)) && in SDL_UpdateWindowGrab()
2708 if (mouse && mouse->relative_mode) { in SDL_OnWindowFocusGained()
3943 SDL_bool relative_mode; in SDL_ShowMessageBox() local
3956 relative_mode = SDL_GetRelativeMouseMode(); in SDL_ShowMessageBox()
4031 SDL_SetRelativeMouseMode(relative_mode); in SDL_ShowMessageBox()
/AliOS-Things-master/components/SDL2/src/video/emscripten/
A DSDL_emscriptenevents.c365 if (SDL_GetMouse()->relative_mode && !window_data->has_pointer_lock) { in Emscripten_HandleMouseButton()

Completed in 29 milliseconds