comparison src/video/photon/SDL_ph_events.c @ 886:05c551e5bc64

Date: Sat, 24 Apr 2004 15:13:32 +0300 From: "Mike Gorchak" Subject: SDL updates for the QNX6 1. Updated the README.QNX 2. Updated libtool scripts, which are shipped with SDL for QNX6 support. 3. Added some code to support the new QNX 6.3.0, which is in beta now. 4. Added code to detect the hw features, which driver supports. 5. Added hw alpha blits code. 6. Fixed bug when application switches to fullscreen more the 2 times. (afte\ r that window becames always stay on top). 7. Updated a bit README for the tests. 8. Added information about acceleration show in the testalpha.c test. 9. Added small fixes to the testoverlay2.c test. 10. Added alpha and cc+alpha blits benchmarks to the testvidinfo.c test.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 06 May 2004 15:55:06 +0000
parents 30168104389f
children 4ab6d1fd028f
comparison
equal deleted inserted replaced
885:9f6ad2286011 886:05c551e5bc64
30 #define DISABLE_X11 30 #define DISABLE_X11
31 31
32 #include <stdio.h> 32 #include <stdio.h>
33 #include <setjmp.h> 33 #include <setjmp.h>
34 #include <sys/time.h> 34 #include <sys/time.h>
35 #include <sys/neutrino.h>
35 36
36 #include <Ph.h> 37 #include <Ph.h>
37 #include <photon/PkKeyDef.h> 38 #include <photon/PkKeyDef.h>
38 39
39 #include "SDL.h" 40 #include "SDL.h"
233 } 234 }
234 } 235 }
235 /* request to resize */ 236 /* request to resize */
236 else if (winEvent->event_f==Ph_WM_RESIZE) 237 else if (winEvent->event_f==Ph_WM_RESIZE)
237 { 238 {
238 SDL_PrivateResize(winEvent->size.w+1, winEvent->size.h+1); 239 currently_maximized=0;
240 #if (_NTO_VERSION < 630)
241 SDL_PrivateResize(winEvent->size.w+1, winEvent->size.h+1);
242 #else
243 /* QNX 6.3.0 have this bug fixed */
244 SDL_PrivateResize(winEvent->size.w, winEvent->size.h);
245 #endif /* _NTO_VERSION */
239 } 246 }
240 /* request to move */ 247 /* request to move */
241 else if (winEvent->event_f==Ph_WM_MOVE) 248 else if (winEvent->event_f==Ph_WM_MOVE)
242 { 249 {
243 if (current_overlay!=NULL) 250 if (current_overlay!=NULL)