Home
last modified time | relevance | path

Searched refs:SDL_Window (Results 1 – 25 of 34) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.15/src/video/macrom/
DSDL_romvideo.c457 if ( SDL_Window != nil ) { in ROM_UnsetVideoMode()
463 memworld = (GWorldPtr)GetWRefCon(SDL_Window); in ROM_UnsetVideoMode()
471 SDL_Window = nil; in ROM_UnsetVideoMode()
497 if ( SDL_Window ) { in ROM_SetVideoMode()
500 orect = *GetWindowPortBounds(SDL_Window, &tmprect); in ROM_SetVideoMode()
502 orect = SDL_Window->portRect; in ROM_SetVideoMode()
518 if ( SDL_Window ) { in ROM_SetVideoMode()
519 DisposeWindow(SDL_Window); in ROM_SetVideoMode()
522 BeginFullScreen(&fullscreen_ctx, nil, 0,0, &SDL_Window, nil, 0); in ROM_SetVideoMode()
524 SDL_Window = NewCWindow(nil, &wrect, "\p", true, plainDBox, in ROM_SetVideoMode()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/windib/
DSDL_dibvideo.c315 hdc = GetDC(SDL_Window); in DIB_CreatePalette()
317 ReleaseDC(SDL_Window, hdc); in DIB_CreatePalette()
336 DX5_SoundFocus(SDL_Window); in DIB_VideoInit()
465 hdc = GetDC(SDL_Window); in DIB_SussScreenDepth()
467 ReleaseDC(SDL_Window, hdc); in DIB_SussScreenDepth()
530 if ( !SDL_windowid && !IsZoomed(SDL_Window) ) {
559 …AdjustWindowRectEx(&bounds, GetWindowLong(SDL_Window, GWL_STYLE), (GetMenu(SDL_Window) != NULL), 0…
562 AdjustWindowRectEx(&bounds, GetWindowLong(SDL_Window, GWL_STYLE), 0, 0);
584 SetWindowPos(SDL_Window, top, x, y, width, height, swp_flags);
589 if ( GetParent(SDL_Window) == NULL ) {
[all …]
DSDL_dibevents.c342 ClientToScreen(SDL_Window, &center); in DIB_GenerateMouseMotionEvent()
351 ScreenToClient(SDL_Window, &mouse); in DIB_GenerateMouseMotionEvent()
655 SDL_Window = (HWND)wcstol(windowid_t, NULL, 0); in DIB_CreateWindow()
658 SDL_Window = (HWND)((size_t)SDL_strtoull(windowid, NULL, 0)); in DIB_CreateWindow()
660 if ( SDL_Window == NULL ) { in DIB_CreateWindow()
668 userWindowProc = (WNDPROCTYPE)GetWindowLongPtr(SDL_Window, GWLP_WNDPROC); in DIB_CreateWindow()
669 SetWindowLongPtr(SDL_Window, GWLP_WNDPROC, (LONG_PTR)WinMessage); in DIB_CreateWindow()
671 SDL_Window = CreateWindow(SDL_Appname, SDL_Appname, in DIB_CreateWindow()
674 if ( SDL_Window == NULL ) { in DIB_CreateWindow()
678 ShowWindow(SDL_Window, SW_HIDE); in DIB_CreateWindow()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
DSDL_nxmodes.c63 GrUnmapWindow (SDL_Window) ; in NX_EnterFullScreen()
77 GrMapWindow (SDL_Window) ; in NX_LeaveFullScreen()
78 GrRaiseWindow (SDL_Window) ; in NX_LeaveFullScreen()
79 GrSetFocus (SDL_Window) ; in NX_LeaveFullScreen()
DSDL_nxwm.c40 if (SDL_Window) in NX_SetCaption()
41 GrSetWindowTitle (SDL_Window, title) ; in NX_SetCaption()
52 info -> window = SDL_Window ; in NX_GetWMInfo()
DSDL_nxvideo.c202 SDL_Window = 0 ; in NX_VideoInit()
286 if (SDL_Window && SDL_Window != GR_ROOT_WINDOW_ID) { in NX_DestroyWindow()
287 GrDestroyWindow (SDL_Window) ; in NX_DestroyWindow()
306 if (SDL_Window && SDL_Window != GR_ROOT_WINDOW_ID) { in NX_CreateWindow()
312 SDL_Window = SDL_strtol (SDL_windowid, NULL, 0) ; in NX_CreateWindow()
314 SDL_Window = 0 ; in NX_CreateWindow()
324 SDL_Window = GrNewWindow (GR_ROOT_WINDOW_ID, 0, 0, w, h, 0, BLACK, WHITE) ; in NX_CreateWindow()
326 GrSelectEvents (SDL_Window, (GR_EVENT_MASK_EXPOSURE | in NX_CreateWindow()
344 GrMapWindow (SDL_Window) ; in NX_CreateWindow()
471 GrGetWindowInfo (SDL_Window, & info) ; in NX_UpdateMouse()
DSDL_nxvideo.h53 GR_WINDOW_ID SDL_Window ; member
76 #define SDL_Window (this -> hidden -> SDL_Window) macro
DSDL_nximage.c112 GrArea (SDL_Window, SDL_GC, x, y, w, h, Image_buff, pixel_type) ; in NX_NormalUpdate()
178 GrGetWindowFBInfo(SDL_Window, &fbinfo); in NX_ResizeImage()
200 GrGetWindowFBInfo(SDL_Window, &fbinfo); in NX_RefreshDisplay()
223 GrArea (SDL_Window, SDL_GC, 0, 0, this -> screen -> w, in NX_RefreshDisplay()
DSDL_nxmouse.c68 GrGetWindowInfo (SDL_Window, & info) ; in NX_WarpWMCursor()
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/
DSDL_sysevents.c75 HWND SDL_Window = NULL; variable
169 ShowWindow(SDL_Window, SW_RESTORE); in SDL_RestoreGameMode()
196 ShowWindow(SDL_Window, SW_MINIMIZE); in SDL_RestoreDesktopMode()
290 SHFullScreen(SDL_Window, SHFS_HIDESTARTICON|SHFS_HIDETASKBAR|SHFS_HIDESIPBUTTON); in WinMessage()
318 SHFullScreen(SDL_Window, SHFS_SHOWSTARTICON|SHFS_SHOWTASKBAR|SHFS_SHOWSIPBUTTON); in WinMessage()
342 tme.hwndTrack = SDL_Window; in WinMessage()
386 SetFocus(SDL_Window); in WinMessage()
516 GetWindowRect(SDL_Window, &size); in WinMessage()
581 GetClientRect(SDL_Window, &SDL_bounds); in WinMessage()
586 ClientToScreen(SDL_Window, &pt); in WinMessage()
[all …]
DSDL_syswm.c204 SetClassLongPtr(SDL_Window, GCLP_HICON, (LONG_PTR)screen_icn); in WIN_SetWMIcon()
217 SetWindowText(SDL_Window, lpszW); in WIN_SetWMCaption()
224 SetWindowText(SDL_Window, cvt); in WIN_SetWMCaption()
232 ShowWindow(SDL_Window, SW_MINIMIZE); in WIN_IconifyWindow()
249 ClientToScreen(SDL_Window, &pt); in WIN_GrabInput()
264 ClientToScreen(SDL_Window, &pt); in WIN_GrabInput()
280 info->window = SDL_Window; in WIN_GetWMInfo()
DSDL_wingl.c48 style = GetWindowLong(SDL_Window, GWL_STYLE); in WIN_GL_ResetWindow()
49 GetWindowRect(SDL_Window, &rect); in WIN_GL_ResetWindow()
50 DestroyWindow(SDL_Window); in WIN_GL_ResetWindow()
54 SDL_Window = CreateWindow(SDL_Appname, SDL_Appname, in WIN_GL_ResetWindow()
63 if ( SDL_Window ) { in WIN_GL_ResetWindow()
298 GL_hdc = GetDC(SDL_Window); in WIN_GL_SetupWindow()
398 ReleaseDC(SDL_Window, GL_hdc); in WIN_GL_ShutDown()
DSDL_sysmouse.c175 (HINSTANCE)GetWindowLongPtr(SDL_Window, GWLP_HINSTANCE), in WIN_CreateWMCursor()
226 ClientToScreen(SDL_Window, &pt); in WIN_WarpWMCursor()
241 ScreenToClient(SDL_Window, &pt); in WIN_UpdateMouse()
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
DSDL_dx5events.c190 topwnd = GetTopLevelParent(SDL_Window); in DX5_DInputInit()
318 ClientToScreen(SDL_Window, &cursor); in post_mouse_motion()
329 GetClientRect(SDL_Window, &window); in post_mouse_motion()
354 ClientToScreen(SDL_Window, &center); in post_mouse_motion()
386 ScreenToClient(SDL_Window, &mouse_pos); in handle_mouse()
429 SetCapture(SDL_Window); in handle_mouse()
526 SetCapture(SDL_Window); in handle_mouse()
747 topwnd = GetTopLevelParent(SDL_Window); in DX5_DInputReset()
950 SDL_Window = (HWND)((size_t)SDL_strtoull(windowid, NULL, 0)); in DX5_CreateWindow()
951 if ( SDL_Window == NULL ) { in DX5_CreateWindow()
[all …]
DSDL_dx5video.c935 DX5_SoundFocus(SDL_Window); in DX5_VideoInit()
953 hdc = GetDC(SDL_Window); in DX5_VideoInit()
956 ReleaseDC(SDL_Window, hdc); in DX5_VideoInit()
1165 style = GetWindowLong(SDL_Window, GWL_STYLE);
1184 if (IsZoomed(SDL_Window)) style |= WS_MAXIMIZE;
1190 SetWindowLong(SDL_Window, GWL_STYLE, style);
1193 if ( !SDL_windowid && !IsZoomed(SDL_Window) ) {
1220 …AdjustWindowRectEx(&bounds, GetWindowLong(SDL_Window, GWL_STYLE), (GetMenu(SDL_Window) != NULL), 0…
1241 SetWindowPos(SDL_Window, top, x, y, width, height, swp_flags);
1246 SetForegroundWindow(SDL_Window);
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/
DSDL_lowvideo.h56 WindowRef SDL_Window; member
90 #define SDL_Window (this->hidden->SDL_Window) macro
DSDL_macevents.c95 SetPort(GetWindowPort(SDL_Window)); in myGlobalToLocal()
97 SetPort(SDL_Window); in myGlobalToLocal()
326 GetWindowUserState(SDL_Window, &rect); in Mac_HandleEvents()
328 GetWindowStandardState(SDL_Window, &rect); in Mac_HandleEvents()
387 BeginUpdate(SDL_Window); in Mac_HandleEvents()
397 EndUpdate(SDL_Window); in Mac_HandleEvents()
402 if ( (WindowRef) event.message != SDL_Window ) { in Mac_HandleEvents()
DSDL_macgl.c120 noerr = aglSetDrawable(glContext, GetWindowPort(SDL_Window)); in Mac_GL_Init()
122 noerr = aglSetDrawable(glContext, (AGLDrawable)SDL_Window); in Mac_GL_Init()
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
DSDL_x11mouse.c154 if ( SDL_Window ) { in X11_ShowWMCursor()
158 XDefineCursor(SDL_Display, SDL_Window, in X11_ShowWMCursor()
162 XDefineCursor(SDL_Display, SDL_Window, cursor->x_cursor); in X11_ShowWMCursor()
181 XWarpPointer(SDL_Display, None, SDL_Window, 0, 0, 0, 0, x, y); in X11_WarpWMCursor()
DSDL_x11image.c241 XPutImage(GFX_Display, SDL_Window, SDL_GC, SDL_Ximage, in X11_NormalUpdate()
262 XShmPutImage(GFX_Display, SDL_Window, SDL_GC, SDL_Ximage, in X11_MITSHMUpdate()
305 XShmPutImage(SDL_Display, SDL_Window, SDL_GC, SDL_Ximage, in X11_RefreshDisplay()
311 XPutImage(SDL_Display, SDL_Window, SDL_GC, SDL_Ximage, in X11_RefreshDisplay()
DSDL_x11video.h63 Window SDL_Window; /* Shared by both displays (no X security?) */ member
171 #define SDL_Window (this->hidden->SDL_Window) macro
DSDL_x11gl.c123 XGetWindowAttributes(SDL_Display, SDL_Window, &a); in X11_GL_GetVisual()
245 SDL_Window = XCreateWindow(SDL_Display, WMwindow, in X11_GL_CreateWindow()
249 if ( !SDL_Window ) { in X11_GL_CreateWindow()
294 rc = this->gl_data->glXSwapIntervalEXT(GFX_Display, SDL_Window, in X11_GL_CreateContext()
341 SDL_Window, glx_context) ) { in X11_GL_MakeCurrent()
447 this->gl_data->glXSwapBuffers(GFX_Display, SDL_Window); in X11_GL_SwapBuffers()
DSDL_x11video.c747 if ( SDL_Window ) { in X11_DestroyWindow()
748 XDestroyWindow(SDL_Display, SDL_Window); in X11_DestroyWindow()
924 if ( SDL_Window ) { in X11_CreateWindow()
931 SDL_Window = SDL_strtol(SDL_windowid, NULL, 0); in X11_CreateWindow()
933 SDL_Window = 0; in X11_CreateWindow()
949 XGetWindowAttributes(SDL_Display, SDL_Window, &a); in X11_CreateWindow()
1060 SDL_Window = XCreateWindow(SDL_Display, WMwindow, in X11_CreateWindow()
1067 XSelectInput(SDL_Display, SDL_Window, in X11_CreateWindow()
1083 SDL_GC = XCreateGC(SDL_Display, SDL_Window, in X11_CreateWindow()
1093 XSetWindowColormap(SDL_Display, SDL_Window, SDL_XColorMap); in X11_CreateWindow()
[all …]
DSDL_x11yuv.c441 SDL_Window, SDL_GC, in X11_CreateYUVOverlay()
450 SDL_Window, SDL_GC, in X11_CreateYUVOverlay()
490 SDL_NAME(XvShmPutImage)(GFX_Display, hwdata->port, SDL_Window, SDL_GC, in X11_DisplayYUVOverlay()
498 SDL_NAME(XvPutImage)(GFX_Display, hwdata->port, SDL_Window, SDL_GC, in X11_DisplayYUVOverlay()
/external/qemu/distrib/sdl-1.2.15/src/video/macdsp/
DSDL_dspvideo.c750 if (SDL_Window != NULL) { in DSp_UnsetVideoMode()
751 DisposeWindow (SDL_Window); in DSp_UnsetVideoMode()
752 SDL_Window = NULL; in DSp_UnsetVideoMode()
939SDL_Window = NewCWindow(nil, &( (**SDL_Display).gdRect), "\p", SDL_TRUE, plainDBox, (WindowPtr)-1,… in DSp_SetVideoMode()
941 if (SDL_Window == NULL) { in DSp_SetVideoMode()
950 SetPort (GetWindowPort(SDL_Window)); in DSp_SetVideoMode()
952 SetPort (SDL_Window); in DSp_SetVideoMode()
958 SetPortWindowPort (SDL_Window); in DSp_SetVideoMode()
959 SelectWindow (SDL_Window); in DSp_SetVideoMode()

12