Mercurial > sdl-ios-xcode
comparison src/video/quartz/SDL_QuartzWindow.m @ 58:bd6b0a910a65
* Removed fullscreen menu option from the "Window" menu
* Updated the BUGS file
* Fixed command line parameters when launched from Finder
* Implemented setting the icon window caption
* Implemented frameless style windows
* Added note about SDL_RESIZABLE implementation to SDL_QuartzVideo.m
* Window close requests now go through the event filtering system
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Mon, 11 Jun 2001 06:44:43 +0000 |
parents | ce9cd2cf0d0d |
children | d1447a846d80 |
comparison
equal
deleted
inserted
replaced
57:ec550054db3b | 58:bd6b0a910a65 |
---|---|
33 @end | 33 @end |
34 | 34 |
35 @implementation SDL_QuartzWindowDelegate | 35 @implementation SDL_QuartzWindowDelegate |
36 - (BOOL)windowShouldClose:(id)sender { | 36 - (BOOL)windowShouldClose:(id)sender { |
37 | 37 |
38 SDL_Event event; | 38 SDL_PrivateQuit(); |
39 event.type = SDL_QUIT; | |
40 SDL_PushEvent(&event); | |
41 return NO; | 39 return NO; |
42 } | 40 } |
43 @end | 41 @end |