Mercurial > sdl-ios-xcode
view src/video/quartz/SDL_QuartzWindow.m @ 52:3f344be3301b
MacOS X additions from Darrell
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Sun, 10 Jun 2001 05:02:38 +0000 |
parents | 45b1c4303f87 |
children | ce9cd2cf0d0d |
line wrap: on
line source
/* Subclass of NSWindow to allow customization if we need it */ @interface SDL_QuartzWindow : NSWindow {} - (void)miniaturize:(id)sender; - (void)deminiaturize:(id)sender; @end @implementation SDL_QuartzWindow /* These methods should be rewritten to fix the miniaturize bug */ - (void)miniaturize:(id)sender { [ super miniaturize:sender ]; } - (void)deminiaturize:(id)sender { /* Let the app know they have to redraw everything */ SDL_PrivateExpose (); [ super deminiaturize:sender ]; } @end