comparison src/video/windib/SDL_dibevents.c @ 515:230b156829ed release-1.2.5

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sun, 06 Oct 2002 20:31:34 +0000
parents 1080bfc4aa96
children c210010f50f4
comparison
equal deleted inserted replaced
514:1080bfc4aa96 515:230b156829ed
26 #endif 26 #endif
27 27
28 #include <stdlib.h> 28 #include <stdlib.h>
29 #include <stdio.h> 29 #include <stdio.h>
30 #include <windows.h> 30 #include <windows.h>
31 #ifdef HAVE_AYGSHELL
32 #include <aygshell.h>
33 #endif
34 31
35 #include "SDL_events.h" 32 #include "SDL_events.h"
36 #include "SDL_error.h" 33 #include "SDL_error.h"
37 #include "SDL_syswm.h" 34 #include "SDL_syswm.h"
38 #include "SDL_sysevents.h" 35 #include "SDL_sysevents.h"
364 } 361 }
365 362
366 void DIB_DestroyWindow(_THIS) 363 void DIB_DestroyWindow(_THIS)
367 { 364 {
368 if ( SDL_windowid == NULL ) { 365 if ( SDL_windowid == NULL ) {
369 #ifdef HAVE_AYGSHELL
370 /* Unhide taskbar, etc. */
371 SHFullScreen(SDL_Window, SHFS_SHOWTASKBAR);
372 SHFullScreen(SDL_Window, SHFS_SHOWSIPBUTTON);
373 ShowWindow(FindWindow(TEXT("HHTaskBar"),NULL),SW_SHOWNORMAL);
374 #endif
375 DestroyWindow(SDL_Window); 366 DestroyWindow(SDL_Window);
376 } 367 }
377 } 368 }