Mercurial > sdl-ios-xcode
annotate src/main/linux/SDL_main.c @ 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 | 25dfe480c75e |
children |
rev | line source |
---|---|
0 | 1 |
2 /* Include the SDL main definition header */ | |
3 #include "SDL_main.h" | |
4 #ifdef main | |
5 #undef main | |
6 #endif | |
7 | |
53
25dfe480c75e
Added MacOS X Project Builder projects
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
8 extern int SDL_main(int argc, char *argv[]); |
0 | 9 |
10 int main(int argc, char *argv[]) | |
11 { | |
53
25dfe480c75e
Added MacOS X Project Builder projects
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
12 return(SDL_main(argc, argv)); |
0 | 13 } |