Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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
- Loading branch information
Showing
with
170 additions
and 62 deletions.
- +36 −12 configure.in
- +4 −0 src/main/Makefile.am
- +7 −0 src/main/macosx/SDLMain.h
- +80 −5 src/main/macosx/SDLMain.m
- +20 −18 src/video/quartz/SDL_QuartzEvents.m
- +1 −5 src/video/quartz/SDL_QuartzVideo.h
- +14 −14 src/video/quartz/SDL_QuartzVideo.m
- +8 −8 src/video/quartz/SDL_QuartzWM.m
@@ -1,7 +1,14 @@ | ||
/* SDLMain.h - main entry point for our Cocoa-ized SDL app | ||
Darrell Walisser - dwaliss1@purdue.edu | ||
Feel free to customize this file to suit your needs | ||
*/ | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
@interface SDLMain : NSObject | ||
{ | ||
} | ||
- (IBAction)quit:(id)sender; | ||
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification; | ||
@end |
Oops, something went wrong.