Mercurial > sdl-ios-xcode
diff src/video/quartz/SDL_QuartzVideo.h @ 158:4382c38dfbee
Date: Tue, 21 Aug 2001 03:50:01 +0200
From: Max Horn <max@quendi.de>
Subject: New patch for OS X
Attached a .patch file for SDL/OSX with some nice bug fixes / enhancments.
* fixes the activation issues, which also caused the window to be
always drawn like an inactive. The close/minimize widgets now are
animated properly, too.
* the menu items are automatically adjusted to use the app name
instead of just "SDL App". I did this so that we really can use one
central SDLMain.nib file, w/o requiring developers to make a copy of
it and adjust it.
* libSDLMain now contains the proper cocoa code, not as before the
carbon code. This means apps no longer have to carry a copy of
SDLMain.m/SDLMain.h
* revamped configure.in to properly build a Cocoa/Quartz SDL lib, not
a Carbon based SDL lib
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 21 Aug 2001 07:19:59 +0000 |
parents | 2d162219f433 |
children | e8157fcb3114 |
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzVideo.h Mon Aug 20 04:41:49 2001 +0000 +++ b/src/video/quartz/SDL_QuartzVideo.h Tue Aug 21 07:19:59 2001 +0000 @@ -44,10 +44,6 @@ - Launch times are slow, maybe prebinding will help - Direct framebuffer access has some artifacts, maybe a driver issue - Cursor in 8 bit modes is screwy - - Modifier + mouse-down maps alternate mouse button, but if modifier is released - before mouse button, corresponding mouse-up event is not generated. - - Clicking in content activates app, but doesn't generate the activate event, - and subsequent switches generate no activate/deactivate events! (OS Bug I hope) */ #include <ApplicationServices/ApplicationServices.h> @@ -107,7 +103,7 @@ #define device_bpp (this->hidden->bpp) #define mode_flags (this->hidden->flags) #define video_set (this->hidden->video_is_set) -#define window (this->hidden->window) +#define qz_window (this->hidden->window) #define windowView (this->hidden->view) /* Interface for hardware fill not (yet) in the public API */